[fpc-pascal] remote debugging using gdbserver

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


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 ./hello

And try to debug it using:

gdb# targer remote ./hello

The connection is closed.

What am I doing wrong ?

-------------- 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