diff options
Diffstat (limited to 'gdb/exceptions.h')
-rw-r--r-- | gdb/exceptions.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/exceptions.h b/gdb/exceptions.h index 7e3be95..19eacd3 100644 --- a/gdb/exceptions.h +++ b/gdb/exceptions.h @@ -257,4 +257,10 @@ typedef void (catch_command_errors_ftype) (char *, int); extern int catch_command_errors (catch_command_errors_ftype *func, char *arg, int from_tty, return_mask); +/* Like catch_command_errors, but works with const command and args. */ + +typedef void (catch_command_errors_const_ftype) (const char *, int); +extern int catch_command_errors_const (catch_command_errors_const_ftype *func, + const char *arg, int from_tty, return_mask); + #endif |