From ed9a39ebf9f55562c7c582155f6721c3e685ce91 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Wed, 22 Dec 1999 21:45:38 +0000 Subject: import gdb-1999-12-21 snapshot --- gdb/infcmd.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gdb/infcmd.c') diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 726c80d..489e3b1 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -845,6 +845,7 @@ run_stack_dummy (addr, buffer) char *buffer; { struct cleanup *old_cleanups = make_cleanup (null_cleanup, 0); + int saved_async = 0; /* Now proceed, having reached the desired place. */ clear_proceed_status (); @@ -891,7 +892,15 @@ run_stack_dummy (addr, buffer) disable_watchpoints_before_interactive_call_start (); proceed_to_finish = 1; /* We want stop_registers, please... */ + + if (target_can_async_p ()) + saved_async = target_async_mask (0); + proceed (addr, TARGET_SIGNAL_0, 0); + + if (saved_async) + target_async_mask (saved_async); + enable_watchpoints_after_interactive_call_stop (); discard_cleanups (old_cleanups); -- cgit v1.1