Hello,
I'm trying to use gdbserver to remotely debug a program written in fpc using the following parameters:
$ ppcrossarm -dDEBUG -godwarfsets -godwarfmethodclassprefix -gw2 -gw3 -gl -g -gs -O- -gostabsabsincludes -godwarfmethodclassprefix hello.pas
When I debug it internally on the device, gdb gives me a backtrace properly and few other functions, however when i use gdbserver like so: $ gdbserver 192.168.0.202:2222 ./hello
And try to debug it using:
gdb# targer remote 192.168.0.202:2222 ./hello
The connection is closed.
What am I doing wrong ?
Thanks,
Ido
http://ik.homelinux.org/
