Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Yao Qi <yao@codesourcery.com>
To: Xingxing Pan <forandom@gmail.com>
Cc: gdb <gdb@sourceware.org>
Subject: Re: gdbserver multiprocess debugging
Date: Mon, 24 Dec 2012 10:18:00 -0000	[thread overview]
Message-ID: <50D82BEF.2080407@codesourcery.com> (raw)
In-Reply-To: <CANB_Exkc_=ey1KwJkWL11j3y6-piO=13xp0iPW_1LR4o9SPnXg@mail.gmail.com>

On 12/24/2012 04:03 PM, Xingxing Pan wrote:
> Hi all,
>
> I'm using gdbserver in gdb 7.5 to debug a program which calls fork(),
> but gdbserver cannot stop the child.

>
> Did I miss anything?
>

I had a vague impression that GDBserver doesn't support following fork.
I find this PR in bugzilla,

   fork support in the remote protocol
   http://sourceware.org/bugzilla/show_bug.cgi?id=13584

This PR was open one year ago, and I didn't see patches for this issue. 
  I think that is the reason about your fail.

-- 
Yao (齐尧)


      reply	other threads:[~2012-12-24 10:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-24  8:03 Xingxing Pan
2012-12-24 10:18 ` Yao Qi [this message]

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=50D82BEF.2080407@codesourcery.com \
    --to=yao@codesourcery.com \
    --cc=forandom@gmail.com \
    --cc=gdb@sourceware.org \
    /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