Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Richard <rgrdev@googlemail.com>
To: Richard <rgrdev@gmail.com>
Cc: gdb@sources.redhat.com
Subject: Re: fork debugging : back to parent.
Date: Thu, 10 Aug 2006 22:06:00 -0000	[thread overview]
Message-ID: <87u04k2qlg.fsf@mail.com> (raw)
In-Reply-To: <20060810213923.GA2146@nevyn.them.org> (Daniel Jacobowitz's 	message of "Thu, 10 Aug 2006 17:39:23 -0400")

Daniel Jacobowitz <drow@false.org> 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
>

-- 


  reply	other threads:[~2006-08-10 22:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-07 20:21 Richard (sent by Nabble.com)
2006-08-07 21:07 ` Daniel Jacobowitz
2006-08-07 21:47   ` Richard
2006-08-08  0:04     ` Daniel Jacobowitz
2006-08-08  7:27       ` Richard
2006-08-08  8:49       ` Richard
2006-08-08 13:16         ` Daniel Jacobowitz
2006-08-10 21:06 ` Richard
2006-08-10 21:39   ` Daniel Jacobowitz
2006-08-10 22:06     ` Richard [this message]
2006-08-10 22:10       ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87u04k2qlg.fsf@mail.com \
    --to=rgrdev@googlemail.com \
    --cc=gdb@sources.redhat.com \
    --cc=rgrdev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox