aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/main.c b/gdb/main.c
index 8abd9de..e67efc7 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -373,7 +373,7 @@ catch_command_errors (catch_command_errors_const_ftype command,
maybe_wait_sync_command_done (was_sync);
}
- catch (const gdb_exception_RETURN_MASK_ALL &e)
+ catch (const gdb_exception &e)
{
return handle_command_errors (e);
}
@@ -1172,7 +1172,7 @@ captured_main (void *data)
{
captured_command_loop ();
}
- catch (const gdb_exception_RETURN_MASK_ALL &ex)
+ catch (const gdb_exception &ex)
{
exception_print (gdb_stderr, ex);
}
@@ -1187,7 +1187,7 @@ gdb_main (struct captured_main_args *args)
{
captured_main (args);
}
- catch (const gdb_exception_RETURN_MASK_ALL &ex)
+ catch (const gdb_exception &ex)
{
exception_print (gdb_stderr, ex);
}