[uClibc]ARM/Linux OSABI problems in gdb

Simon Posnjak simon.posnjak at siol.net
Wed Aug 14 15:14:10 UTC 2002


Hi all,

the story untli now(on gdb mailing list):
First me:
> > I'm trying out a cross-debuger for arm/ia32 development. I have build
> > gdb for arm that runs on ia32 (./configure --host=i686-pc-linux-gnu
> > --target=armv4l-unknown-linux --prefix=/usr/local/arm/
> > --exec-prefix=/usr/local/arm/ --program-prefix=arm-) 
> > and gdbserver for arm (sh configure --target=armv4l-unknown-linux). 
> > 
> > Then I strip the gdbserver and uploade it to the arm based bord and
> > run(access03 is the program I'm trying to debug):
> > 
> > # ./gdbserver host:33000 ./access03
> > Process ./access03 created; pid = 170

Replay by Daniel:
> 
> ...
> 
> The interesting line in the debug output Simon sent me is:
> getpkt ("M40002b34,4:fedeffe7");  [sending ack]
> 
> That's not an arm-linux breakpoint, it's an ARM breakpoint.  That's why
> it isn't working.
> 
> ... wait!  I know what's wrong.  Does uClibc provide a .note.ABI-tag
> section, like glibc does?  If not, that needs to be corrected, or GDB
> needs to find some other way to recognize uClibc binaries.

I'm using a 2.4.18 kernel, cross-compiler 2.95.3 and uClibc 0.9.14.
Please cc Daniel the answer, becouse he isn't on this list (he's one of
the gdb heckers)

-- 
Simon Posnjak
http://klada.dyndns.org




More information about the uClibc mailing list