From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20301 invoked by alias); 10 Aug 2006 21:39:29 -0000 Received: (qmail 20293 invoked by uid 22791); 10 Aug 2006 21:39:28 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 10 Aug 2006 21:39:26 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GBIFP-0000ZI-Bu; Thu, 10 Aug 2006 17:39:23 -0400 Date: Thu, 10 Aug 2006 21:39:00 -0000 From: Daniel Jacobowitz To: Richard Cc: gdb@sources.redhat.com Subject: Re: fork debugging : back to parent. Message-ID: <20060810213923.GA2146@nevyn.them.org> Mail-Followup-To: Richard , gdb@sources.redhat.com References: <5693501.post@talk.nabble.com> <5752608.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5752608.post@talk.nabble.com> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00091.txt.bz2 On Thu, Aug 10, 2006 at 02:06:38PM -0700, Richard wrote: > > > Incidentally, I also tried "set $tmp=parent_id" (I made an api call to get > the parent proc id in the child fork), and in the child I tried to "attach > $tmp", but it said there was no such process. Is it not possible to use > convenience variables for things like "attach"? "attach parent_id" worked > fine. Yes, I don't think convenience variables are supported there - some targets may not use numbers for these identifiers, in theory. -- Daniel Jacobowitz CodeSourcery