On 13 Dec 2009, at 13:51, ik wrote:

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

I think you better ask that on the gdb list, or on a list/site from the people 
that built the toolchain you are using. Make sure to at the very least mention 
the version of gdb that you are using (and keep in mind that the gdb server and 
client versions and (cross-)architectures have to match, you can't just connect 
with a random gdb to a random gdb server).


Jonas_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to