Debug embedded system containing gdb remotely using some kind of gui

I would like to debug the embedded system containing gdb remotely using some kind of gui (i.e. like ddd). The embedded system does not have sources or assembly symbols. However, my local window has x windows. However, execution must be performed on the embedded system. How can I connect to gdb from my gigabyte remotely with some gui?

leds and jtag are not an option.

+3
source share
2 answers

I think gdbserver can help you.

+4
source

In the remote target:

target> gdbserver localhost:1234 <application>

On the host (collector):

host> gdb <application>

Note that the target can be removed from the characters. But the host can have all characters.

gdb> set <path-to-libs-search>
gdb> target remote <target-ip>:1234
gdb> break main
gdb> cont

, GDB - . ( SlickEdit eclipse).

+2

Source: https://habr.com/ru/post/1696947/


All Articles