What is "inferior process" ??

Daniel Jacobowitz drow@mvista.com
Mon Aug 5 11:05:00 GMT 2002


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



More information about the Gdb mailing list