diff options
Diffstat (limited to 'gdb/inf-loop.c')
-rw-r--r-- | gdb/inf-loop.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/inf-loop.c b/gdb/inf-loop.c index d0e19d5..0aca863 100644 --- a/gdb/inf-loop.c +++ b/gdb/inf-loop.c @@ -67,11 +67,11 @@ inferior_event_handler (enum inferior_event_type event_type, /* Don't propagate breakpoint commands errors. Either we're stopping or some command resumes the inferior. The user will be informed. */ - TRY + try { bpstat_do_actions (); } - CATCH (e, RETURN_MASK_ALL) + catch (const gdb_exception_RETURN_MASK_ALL &e) { /* If the user was running a foreground execution command, then propagate the error so that the prompt @@ -83,7 +83,6 @@ inferior_event_handler (enum inferior_event_type event_type, else exception_print (gdb_stderr, e); } - END_CATCH } break; |