This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Sat, Feb 08, 2003 at 03:36:36AM -0700, Erik Andersen wrote:
> 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...

Note that the next release will behave OK even without it, I tink.

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

I don't know offhand; really, it affects all of them, but ARM is just
the most visible failure.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]