From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9520 invoked by alias); 25 Jul 2002 16:18:54 -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 9512 invoked from network); 25 Jul 2002 16:18:53 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 25 Jul 2002 16:18:53 -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 17XlKC-0005V2-00; Thu, 25 Jul 2002 11:18:49 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17XlKL-0002sQ-00; Thu, 25 Jul 2002 12:18:57 -0400 Date: Thu, 25 Jul 2002 09:18:00 -0000 From: Daniel Jacobowitz To: Lucy Zhang Cc: gdb@sources.redhat.com Subject: Re: Thread signal information Message-ID: <20020725161857.GB10993@nevyn.them.org> Mail-Followup-To: Lucy Zhang , gdb@sources.redhat.com References: <004501ea8fb2$e33da4c0$9a0a0109@zhangl> <20020724160422.GA5346@nevyn.them.org> <3D3EE3D4.9030502@ixiacom.com> <20020724185743.GA14821@nevyn.them.org> <3D3F05C2.8050200@ixiacom.com> <001f01ea907b$e385b7f0$9a0a0109@zhangl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001f01ea907b$e385b7f0$9a0a0109@zhangl> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-07/txt/msg00266.txt.bz2 Calling functions in the live program, from the GDB prompt, while debugging it. On Thu, Jul 25, 2002 at 08:59:35AM -0700, Lucy Zhang wrote: > What are inferior function calls? > > Lucy > ----- Original Message ----- > From: "Dan Kegel" > To: "Daniel Jacobowitz" > Cc: "Lucy Zhang" ; > Sent: Wednesday, July 24, 2002 12:53 PM > Subject: Re: Thread signal information > > > > Daniel Jacobowitz wrote: > > >>Does one give up anything by doing a postmortem gdb session > > >>rather than a live session? > > > > > > From a design perspective, in the corefiles we get each thread's > > > registers from the kernel; in live debugging we use thread_db. > > > Given Linux's one-process-one-thread model at present, this has no > > > practical significance. > > > > ... but it might if/when people start using NGPT instead of LinuxThreads. > > I suppose I should check to see what that project plans to do about core > dumps. > > > > > From a convenience perspective, as Andrew said, you lose inferior > > > function calls. You can't modify memory. Etc. > > > > Thanks! > > - Dan > > > > > > -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer