From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11348 invoked by alias); 5 Aug 2002 18:05:14 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 11341 invoked from network); 5 Aug 2002 18:05:13 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 5 Aug 2002 18:05:13 -0000 Received: from dsl254-114-118.nyc1.dsl.speakeasy.net ([216.254.114.118] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17bmAS-0002Dd-00; Mon, 05 Aug 2002 13:01:20 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17bmAd-00089g-00; Mon, 05 Aug 2002 14:01:31 -0400 Date: Mon, 05 Aug 2002 11:05:00 -0000 From: Daniel Jacobowitz To: Zheng Jian-Ming Cc: gdb@sources.redhat.com Subject: Re: What is "inferior process" ?? Message-ID: <20020805180130.GA31192@nevyn.them.org> Mail-Followup-To: Zheng Jian-Ming , gdb@sources.redhat.com References: <3D4C76AE.4050407@ges.redhat.com> <20020805175442.GA16152@cissol7.cis.nctu.edu.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020805175442.GA16152@cissol7.cis.nctu.edu.tw> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-08/txt/msg00020.txt.bz2 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