This is the mail archive of the
mailing list for the GDB project.
- From: Leon Pollak <leonp at plris dot com>
- To: gdb at sourceware dot org
- Date: Thu, 20 Jan 2011 11:29:49 +0200
- Subject: Restarting gdbserver
I searched Google and mail list for hours - very strange, but found
I debug remotely gdb <-> gdbserver - totally standard situation...:-)
The target's root FS is NFS on my PC.
To start one debug session I go to the target (via telnet) and start the
gdbserver manually, then in my IDE start the gdb session. When a change is
required, I exit the gdb, this kills the gdbserver, make a change, recompile,
go to telnet, restart gdbserver, connect in IDE, etc.
I tried to automate the gdbserver restart process by running script which
loops it, but this is not very reliable, as this means that I am allowed to
exit the gdb only AFTER I have recompiled the application. Otherwise,
gdbserver takes the old executable.
All this seems to be VERY standard situation which should be solved for years,
Sorry to ask something so primitive.
Thanks a lot ahead.