This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: thread debugging with gdb on ARM
- From: Daniel Jacobowitz <drow at false dot org>
- To: Miles Bintz <miles at bintz dot net>
- Cc: gdb at sourceware dot org
- Date: Fri, 11 Jan 2008 15:50:07 -0500
- Subject: Re: thread debugging with gdb on ARM
- References: <4787D2E5.8090603@bintz.net>
On Fri, Jan 11, 2008 at 02:34:45PM -0600, Miles Bintz wrote:
> I'm running uclibc 0.9.29 for ARM. gdb 6.7.1 was compiled and linked
> against this uclibc.
It is probably either a bug in uClibc, a disabled option that should
be enabled, or a stripped library that should be unstripped. You're
going to have to follow a debugger into libthread_db to see what is
causing the "generic error" message.
> Also, GDB keeps trapping SIG32 unless I do a 'handle SIG32 nostop' -- but
> I get the impression I shouldn't have to do that.
Correct.
General rule: never use "handle SIG32 nostop" or "handle SIGTRAP
nostop". They are workarounds for configuration problems, and the
problems will come back and bite you again if you don't fix them.
--
Daniel Jacobowitz
CodeSourcery