Restarting gdbserver

Leon Pollak
Sun Jan 23 16:39:00 GMT 2011

Thank you, Jan.

I hope I understood and did what you said:

bash-4.1$ ./gdb -nx -ex file /opt/FS/common/csu -ex target extended-remote -ex set sysroot /opt/FS -ex set remote exec-file 
/common/csu -ex start
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-unknown-linux-gnu --target=armv5tl-
For bug reporting instructions, please see:
Reading symbols from /opt/FS/common/csu...done.
Remote debugging using
Temporary breakpoint 1 at 0x20374: file /Projects/CSU/src/main.cpp, line 16.
Starting program: /opt/FS/common/csu 

Temporary breakpoint 1, main () at /Projects/CSU/src/main.cpp:16
16              MsgLog("OFP Version: %s dated %s", OFP_VERSION, 
(gdb) c
Program received signal SIGINT, Interrupt.
0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /opt/FS/lib/
(gdb) bt
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from 
#1  0x00000000 in ?? ()
God knows why it decided to stop at main... I did not set break points here 
and '.gdbinit' file was deleted for the test.

Is it what you meant?

Thanks again!

More information about the Gdb mailing list