gdbserver and arm - please help

Kevin "Squail" Endres kevine@wildseed.com
Thu Apr 25 16:04:00 GMT 2002


i am trying to get gdbserver working on the arm (through applying various
patches - i can get it to build correctly - but it doesnt function as i
would expect)

i386 environment: gdb-5.1.1 crosstargeted for arm binaries (i can read the
symbol info from the binaries correctly - it works as expected)

arm: gdbserver built for the arm target with the attached patches applied (i
built the full gdb targeted and hosted on the arm - it works correctly on
the arm) - i also edited config.h in the gdb dir to define the NM file
(config/arm/nm-linux.h) - it compiles without error.

when i run a program under gdbserver and target remote via gdb (using TCP) -
the connection is formed but i get:

0x40002520 in ??() echoed to gdb.

if i do 'info stack' in gdb

i get:
#0 0x40002520 in ??()
#1 0x0000000 in ??() in gdb

if i 'step' or 'next':
'Cannot find bounds of current function'

kill terminates the program as expected.

Any help is appreciated!

:]k

-------------- next part --------------
A non-text attachment was scrubbed...
Name: low-linux.patch
Type: application/octet-stream
Size: 884 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb/attachments/20020425/ce0ebfeb/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tm-linux.patch
Type: application/octet-stream
Size: 530 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb/attachments/20020425/ce0ebfeb/attachment-0001.obj>


More information about the Gdb mailing list