From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: dixit@netapp.com (Dixit, Amol)
Cc: gdb@sourceware.org
Subject: Re: breakpoint in gdbserver
Date: Sat, 30 Aug 2008 22:15:00 -0000 [thread overview]
Message-ID: <200808292136.m7TLa0uu004621@d12av02.megacenter.de.ibm.com> (raw)
In-Reply-To: <48B82409.7050202@netapp.com> from "Dixit, Amol" at Aug 29, 2008 12:30:01 PM
Amol Dixit wrote:
> I am attempting to port gdbserver for freebsd (libpthread/libthr). While
> I may have complex doubts later, I will start with a simple one.
> I need to look at some gdbserver code path on Linux, and while I can set
> breakpoints and these functions are entered, gdb doesn't break at all.
> Gdbserver is compiled w/ symbols and I am using gdb6.8 to debug it.
> Any idea what I am missing here?
Gdbserver uses a direct call to the Linux "clone" system call at startup,
and for some reason GDB gets really confused by this.
When I want to debug gdbserver, I generally simply comment out the call
to linux_test_for_tracefork in linux-nat.c:initialize_low to avoid this.
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com
prev parent reply other threads:[~2008-08-29 21:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-30 0:15 Dixit, Amol
2008-08-30 0:44 ` Michael Snyder
2008-08-30 1:03 ` Amol Dixit
2008-08-30 3:30 ` Michael Snyder
2008-08-30 22:15 ` Ulrich Weigand [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=200808292136.m7TLa0uu004621@d12av02.megacenter.de.ibm.com \
--to=uweigand@de.ibm.com \
--cc=dixit@netapp.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