This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: What is "inferior process" ??
On Tue, Aug 06, 2002 at 01:54:42AM +0800, Zheng Jian-Ming wrote:
> Hi,
>
> I am reading the GDB's source codes, and see the word "inferior process"
> many times (e.g. in gdb/inferior.h). But i don't understand what this
> really means.
>
> Is "inferior process" a child process or a parent process, or something
> else?
The inferior is the process being debugged, however many threads or
LWPs it may be.
> BTW, i only see function lin_lwp_resume() in gdb/lin-lwp.c, and wonder
> how to call/use this function.
It's called via to_resume in the target stack.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer