Assuming you have networking already setup to your
target board. Copy
gdbserver
to it, run:$ gdbserver --multi :2345
On your development machine, run:
$
arm-linux-gnueabihf-gdb
(gdb) target extended BOARD-IP-ADDR:2345
(gdb) set remote exec-file /bin/true
(gdb) run
and you're up and running with remote cross debugging.
http://stackoverflow.com/questions/13269948/need-cross-gdb-for-device
Both gdbserver and arm-linux-gnuXXXX-gdb are present in our toolchain.
No comments:
Post a Comment