How to configure gdb on arm-linux (for CDB89712)

Erik Andersen andersen@codepoet.org
Sat Feb 8 10:36:00 GMT 2003


On Fri, 7 Feb 2003 08:27:41 -0500, Daniel Jacobowitz wrote:
> This is a known problem between GDB 5.3 and uclibc: uclibc
> doesn't leave the identifying marks that GDB uses to figure out
> that something is a "Linux" binary rather than a "generic ELF"
> binary.  Try a CVS snapshot of GDB and I bet it'll work.

I've just added the .note.ABI-tag section to uClibc's crt0.o
and crt1.o for arm, which lets gdb 5.3 now behave itself when
debugging uClibc binaries on arm.  I just tried it, and it
worked as expected -- no more SIGILLs...

Daniel -- is arm the only architecture for which the
.note.ABI-tag section is required for proper gdb behavior?

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the Gdb mailing list