diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2007-12-16 17:18:45 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2007-12-16 17:18:45 +0000 |
commit | b826e08294179e9b096f23098567b946f7e956bc (patch) | |
tree | f769a42c0fd81f8bcf68d37d1d4d3d67b0b4c44d | |
parent | f8e3e1413b26bf95fdc6223f6ae67c3caddfb000 (diff) |
Don't fiddle with SIGSTOP, rely on gdb attaching quicker than the signal.
-rw-r--r-- | src/app.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -2145,11 +2145,8 @@ execute_cmdline_lwp (App *app, char **argv, gboolean attach_dbg, GError **error) if (attach_dbg) { gchar *cmd; - kill (child, SIGSTOP); - cmd = g_strdup_printf ("gnome-terminal -x gdb --pid=%d", child); - if (! g_spawn_command_line_async (cmd, NULL)) - kill (child, SIGCONT); + g_spawn_command_line_async (cmd, NULL); g_free (cmd); } |