diff options
Diffstat (limited to 'gdb/cli')
-rw-r--r-- | gdb/cli/cli-cmds.c | 2 | ||||
-rw-r--r-- | gdb/cli/cli-interp.c | 2 | ||||
-rw-r--r-- | gdb/cli/cli-script.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index 1dc82b3..8480ba3 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -267,7 +267,7 @@ complete_command (const char *arg, int from_tty) tracker = &tracker_handle_completions; } } - catch (const gdb_exception_RETURN_MASK_ALL &ex) + catch (const gdb_exception &ex) { return; } diff --git a/gdb/cli/cli-interp.c b/gdb/cli/cli-interp.c index c8cc1b4..c150f40 100644 --- a/gdb/cli/cli-interp.c +++ b/gdb/cli/cli-interp.c @@ -367,7 +367,7 @@ safe_execute_command (struct ui_out *command_uiout, const char *command, { execute_command (command, from_tty); } - catch (const gdb_exception_RETURN_MASK_ALL &exception) + catch (const gdb_exception &exception) { e = exception; } diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c index 4964553..d124d3a 100644 --- a/gdb/cli/cli-script.c +++ b/gdb/cli/cli-script.c @@ -1054,7 +1054,7 @@ process_next_line (const char *p, struct command_line **command, { validator ((*command)->line); } - catch (const gdb_exception_RETURN_MASK_ALL &ex) + catch (const gdb_exception &ex) { free_command_lines (command); throw_exception (ex); @@ -1543,7 +1543,7 @@ script_from_file (FILE *stream, const char *file) { read_command_file (stream); } - catch (const gdb_exception_RETURN_MASK_ERROR &e) + catch (const gdb_exception_error &e) { /* Re-throw the error, but with the file name information prepended. */ |