diff options
Diffstat (limited to 'gdb/exceptions.h')
-rw-r--r-- | gdb/exceptions.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/exceptions.h b/gdb/exceptions.h index 5711c1a35e1..87fec545eef 100644 --- a/gdb/exceptions.h +++ b/gdb/exceptions.h @@ -24,10 +24,11 @@ /* If E is an exception, print it's error message on the specified stream. For _fprintf, prefix the message with PREFIX... */ -extern void exception_print (struct ui_file *file, struct gdb_exception e); -extern void exception_fprintf (struct ui_file *file, struct gdb_exception e, - const char *prefix, - ...) ATTRIBUTE_PRINTF (3, 4); +extern void exception_print (struct ui_file *file, const gdb_exception &e); + +extern void exception_fprintf (struct ui_file *file, const gdb_exception &e, + const char *prefix, ...) + ATTRIBUTE_PRINTF (3, 4); /* Call FUNC(UIOUT, FUNC_ARGS) but wrapped within an exception handler. If an exception (enum return_reason) is thrown using |