From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1025 invoked by alias); 10 Aug 2006 22:06:57 -0000 Received: (qmail 1016 invoked by uid 22791); 10 Aug 2006 22:06:57 -0000 X-Spam-Check-By: sourceware.org Received: from nf-out-0910.google.com (HELO nf-out-0910.google.com) (64.233.182.190) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 10 Aug 2006 22:06:52 +0000 Received: by nf-out-0910.google.com with SMTP id m19so693202nfc for ; Thu, 10 Aug 2006 15:06:43 -0700 (PDT) Received: by 10.49.29.3 with SMTP id g3mr3335875nfj; Thu, 10 Aug 2006 15:06:43 -0700 (PDT) Received: from localhost ( [85.182.65.20]) by mx.gmail.com with ESMTP id x27sm993468nfb.2006.08.10.15.06.42; Thu, 10 Aug 2006 15:06:42 -0700 (PDT) To: Richard Cc: gdb@sources.redhat.com Subject: Re: fork debugging : back to parent. References: <5693501.post@talk.nabble.com> <5752608.post@talk.nabble.com> <20060810213923.GA2146@nevyn.them.org> Date: Thu, 10 Aug 2006 22:06:00 -0000 In-Reply-To: <20060810213923.GA2146@nevyn.them.org> (Daniel Jacobowitz's message of "Thu, 10 Aug 2006 17:39:23 -0400") Message-ID: <87u04k2qlg.fsf@mail.com> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: Richard 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/msg00097.txt.bz2 Daniel Jacobowitz writes: > 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. > Seems strange. Is there a design reason behind that? It was the first time I ever used a convenience variable and *bang* it doesnt work :( I'm jinxed - whatever I seem to want to do is either not supported or buggy ... Mind you I do like the gdb-ui interface a lot - functional and certainly better than the previous GUD interface. > -- > Daniel Jacobowitz > CodeSourcery > --