aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracepoint.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-06-14 18:08:47 +0000
committerJason Molenda <jmolenda@apple.com>1999-06-14 18:08:47 +0000
commit0f71a2f66f83f4c7ac139fa8d33ab882362fe861 (patch)
tree16074aaf8b9c3abda2ddf840b5b307c933298a75 /gdb/tracepoint.c
parent308b1ffdedc0380e17d84260b0069593eb4f9336 (diff)
downloadgdb-0f71a2f66f83f4c7ac139fa8d33ab882362fe861.zip
gdb-0f71a2f66f83f4c7ac139fa8d33ab882362fe861.tar.gz
gdb-0f71a2f66f83f4c7ac139fa8d33ab882362fe861.tar.bz2
import gdb-1999-06-14 snapshot
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r--gdb/tracepoint.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index 4c27d51..1eb39d1 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -835,7 +835,12 @@ read_actions (t)
immediate_quit++;
#ifdef STOP_SIGNAL
if (job_control)
- signal (STOP_SIGNAL, stop_sig);
+ {
+ if (async_p)
+ signal (STOP_SIGNAL, handle_stop_sig);
+ else
+ signal (STOP_SIGNAL, stop_sig);
+ }
#endif
old_chain = make_cleanup ((make_cleanup_func) free_actions, (void *) t);
while (1)