[fpc-pascal] remote debugging using gdbserver

ik idokan at gmail.com
Sun Dec 13 13:51:18 CET 2009


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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20091213/8a64add8/attachment.html>


More information about the fpc-pascal mailing list