thread debugging with gdb on ARM
Daniel Jacobowitz
drow@false.org
Fri Jan 11 20:50:00 GMT 2008
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
More information about the Gdb
mailing list