This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: multi-thread remote debugging i386-linux target (NEED HELP)
- From: Daniel Jacobowitz <drow at false dot org>
- To: Peter Choi <peter_tkchoi at yahoo dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 21 Nov 2005 00:13:33 -0500
- Subject: Re: multi-thread remote debugging i386-linux target (NEED HELP)
- References: <20051121050740.70430.qmail@web32902.mail.mud.yahoo.com>
On Sun, Nov 20, 2005 at 09:07:40PM -0800, Peter Choi wrote:
> But...
> 2. after breaking in the middle of my test program, I
> examine the /proc/PID/maps:
You're looking at the map of your program. libthread_db is in the
address space of gdbserver.
> 3. I has tried "set debug remote 1" to examine the
> remote protocol packets, but have no idea how shall
> the expected packet look like??
>
> Please advise. Thank you for your attention.
I obviously need to write a troubleshooting guide for this. I feel
like I've walked a half-dozen people through it in the last two months,
which is a sure sign the documentation needs to be improved.
Does any of this help?
http://sourceware.org/ml/gdb/2005-11/msg00366.html
--
Daniel Jacobowitz
CodeSourcery, LLC