summaryrefslogtreecommitdiff
path: root/gdb/exceptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/exceptions.h')
-rw-r--r--gdb/exceptions.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/exceptions.h b/gdb/exceptions.h
index 03318aef775..80c120d57ca 100644
--- a/gdb/exceptions.h
+++ b/gdb/exceptions.h
@@ -67,9 +67,11 @@ struct exception
extern const struct exception exception_none;
/* If E is an exception, print it's error message on the specified
- stream. */
-extern void exception_print (struct ui_file *file, const char *pre_print,
- struct exception e);
+ stream. for _fprintf, prefix the message with PREFIX... */
+extern void exception_print (struct ui_file *file, struct exception e);
+extern void exception_fprintf (struct ui_file *file, struct exception e,
+ const char *prefix,
+ ...) ATTR_FORMAT (printf, 3, 4);
/* Throw an exception (as described by "struct exception"). Will
execute a LONG JUMP to the inner most containing exception handler