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]

Configuring gdb for arm


Daniel thanks for the help with gdbserver, I got it running on my target board with strong arm


Have also build the gdb with --target=arm-unknown-linux, gdb seems to have no idea about a symbol table. Is there anything I need to do while building/running gdb for arm. Do I need my arm app on the host side??

Here is the host side
[root@localhost gdb]# ./gdb
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-unknown-linux".
Setting up the environment for debugging gdb.
.gdbinit:5: Error in sourced command file:
No symbol table is loaded. Use the "file" command.
(gdb) target remote 134.134.19.66:2345
Remote debugging using 134.134.19.66:2345
0x40001af0 in ?? ()
(gdb) b main
No symbol table is loaded. Use the "file" command.
(gdb)


Target side
# ./gdbserver 134.134.19.228:2345 testapp &
Process testapp created; pid = 211
# Remote debugging from host 134.134.19.228

[1] 210 Exit 0 ./gdbserver 134.134.19.228:2345 testapp
# # ./gdbserver 134.134.19.228:2345 testapp &
# Process testapp created; pid = 214

# Remote debugging from host 134.134.19.228


Thanks once again for your help


_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail


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