Normally, -gdb-exit is sent and
GDB shoud exit.
In some cases, say the program
is currently running, -gdb-exit won't work.
In those cases, at least on
Linux we send a TERM signal and if that does not work, we send a KILL
I'm not sure if it is the same
code (org.eclipse.cdt.utils.spawner.Spawner) that runs on Windows, and
how it deals with such signals.
If I get my hands on a windows
mahcine, I'll try it, but I can't make promises.
I noticed that Cygwin gdb keeps
running after debuggee finishes execution (gdb.exe and starter.exe,
that launches gdb, are not terminated).
This behavior doesn't cause us a
problem at the current stage, I'm just curious if it's a configuration
or some other issue.
dsdp-dd-dev mailing list