remote debuggin on arm target

peetonn gusev.dpp@defensys.ru
Thu Sep 24 14:29:00 GMT 2009


hello!
i have an arm target with gdbserver 6.5 confifgured for "arm-linux". and i
have an gdb on my host configured with --target=arm-linux and
--host=i686-pc-linux.
i launched gdbserver on arm-target with command:
>gdbserver 192.168.13.8:1002 hello
where 192.168.13.8 - ip of my linux-host. hello was cross-compiled via
arm-linux-gcc with -g option.
and i launched gdb on linux-host:
(gdb) file ../hello/hello 
Reading symbols from /home/stel/Desktop/win_share/hello/hello...done.
(gdb) target remote 192.168.13.87:1002
Remote debugging using 192.168.13.87:1002
warning: Remote failure reply: E01
0x400009f0 in ?? ()
(gdb) cont
Continuing.
Warning:
Cannot insert breakpoint -2.
Error accessing memory address 0x4000eee0: Input/output error.
(gdb) break main
Breakpoint 1 at 0x845c: file main.c, line 11.
(gdb) cont
Continuing.
Warning:
Cannot insert breakpoint -2.
Error accessing memory address 0x4000eee0: Input/output error.

...and i can't normally debug the program. =(
so, can anyone explain, how to deal with that? why i get warning on connect
and error on continue command???
-- 
View this message in context: http://www.nabble.com/remote-debuggin-on-arm-target-tp25572378p25572378.html
Sent from the Sourceware - gdb-patches mailing list archive at Nabble.com.



More information about the Gdb-patches mailing list