Revision: 1156 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1156&view=re... Author: dmaphy Date: 2010-03-01 21:32:11 +0000 (Mon, 01 Mar 2010)
Log Message: ----------- Improve the way a running process gets killed (Thanks Thomas Martitz)
Modified Paths: -------------- trunk/geany-plugins/geanygdb/ChangeLog trunk/geany-plugins/geanygdb/src/gdb-io-read.c trunk/geany-plugins/geanygdb/src/gdb-io-run.c
Modified: trunk/geany-plugins/geanygdb/ChangeLog =================================================================== --- trunk/geany-plugins/geanygdb/ChangeLog 2010-03-01 21:25:11 UTC (rev 1155) +++ trunk/geany-plugins/geanygdb/ChangeLog 2010-03-01 21:32:11 UTC (rev 1156) @@ -1,3 +1,9 @@ +2010-03-01 Dominic Hopf dmaphy@googlemail.com + + * src/gdb-io-run.c, src/gdb-io-read.c: Improve the way a running process gets + killed (thanks Thomas Martitz) + + 2010-01-16 Dominic Hopf dmaphy@googlemail.com
* src/gdb-ui-main.c, src/gdb-ui.h, src/geanygdb.c:
Modified: trunk/geany-plugins/geanygdb/src/gdb-io-read.c =================================================================== --- trunk/geany-plugins/geanygdb/src/gdb-io-read.c 2010-03-01 21:25:11 UTC (rev 1155) +++ trunk/geany-plugins/geanygdb/src/gdb-io-read.c 2010-03-01 21:32:11 UTC (rev 1156) @@ -695,10 +695,7 @@ { starting = FALSE; } - else - { - gdbio_do_status(GdbRunning); - } + gdbio_do_status(GdbRunning); gdbio_set_running(TRUE); } }
Modified: trunk/geany-plugins/geanygdb/src/gdb-io-run.c =================================================================== --- trunk/geany-plugins/geanygdb/src/gdb-io-run.c 2010-03-01 21:25:11 UTC (rev 1155) +++ trunk/geany-plugins/geanygdb/src/gdb-io-run.c 2010-03-01 21:32:11 UTC (rev 1156) @@ -554,7 +554,7 @@ if (!force) { gdbio_info_func(_("Shutting down target program.\n")); - gdbio_send_seq_cmd(target_killed, "kill SIGKILL\n"); + gdbio_send_seq_cmd(target_killed, "kill\n"); gdbio_wait(250); do_loop(); }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.