Run->Debug Configurations->Linux Application Debug->Connect to already running gdbserver
(1) how to run gdbserver in this case
I use a separate USB to connect to phone usb port, together with a JTAG connection to DSTREAM box
I did an adb shell, and do
gdbserver :5039 --attach pid, by default the ip is localhost which is 127.0.0.1
(2) how to set gdbserver address (TCP)
I put in 127.0.0.1
(3) port is set to 5039
but after I use apply and debug
DSTREAM gives out Unable to connect to DSTREAM
Reason:
Failed to connect to the device
Unable to connect to device gdbserver
Unable to connect to gdbserver at 127.0.0.1 on port 5039
Hi Ronan,
Thanks a lot for your comments.
I am working with engineers from ARM Shanghai office and try to figure out how to configure DStream for linux application. Hopefully we can do that soon.
BR
Hongbing