This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: SIGILL on gdbserver/ARM/uclibc
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Daniel Jacobowitz wrote:
> On Mon, Jan 07, 2008 at 02:49:21PM +0100, Harald SchiÃberg wrote:
>> uhm, where do I find some info about reading the debug output.
>
> In the manual. But I can pick out the instruction for you, here...
>
>> Sending packet: $X844c,4:ï237\000\001#84...Ack
>
> Of course your mailer seems to have garbled that a little so I can't
> tell exactly what character it was. But it's something 0237 000 001.
> That's arm_linux_arm_be_breakpoint. If you're using
> arm-linux-gnueabi, it's wrong; if you're using old-ABI it should be
> correct.
>
thank you, for everyone searching the archive:
"set arm abi AAPCS" (instead of default APCS)
fixed it.
>> warning: no loadable sections found in added symbol-file
>> /data/harald/root/lib/ld-uClibc
>> .so.0
>
> Is that really the right file? It looks corrupt.
not yet sure what it is, but:
root@OpenWrt:/nfs/tmp# ldd ./hello
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4000e000)
libc.so.0 => /lib/libc.so.0 (0x40020000)
libc.so.0 => /lib/libc.so.0 (0x40083000)
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x40000000)
he furthermore now claims:
warning: no loadable sections found in added symbol-file
/data/harald/root/lib/libgcc_s.so.1
warning: no loadable sections found in added symbol-file
/data/harald/root/lib/libc.so.0
I have to dig a little bit deeper, most likely OpenWRT is guilty here,
unless gdb does something really weird.
Thanks a lot
Harald
- --
Harald SchiÃberg
Technische UniversitÃt Berlin | T-Laboratories | FG INET
www: http://www.net.t-labs.tu-berlin.de
Phone: +49-(0)30-8353-58476 | Fax: +49-(0)391 534 783 47
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHgmISJgyxs71kcx4RAsCmAKDSCXCrjgqgB6yqoGq298C/RKXbHwCg0X4m
CyRJBawVugTYLck1dLmECwo=
=aEIf
-----END PGP SIGNATURE-----