summaryrefslogtreecommitdiff
path: root/gdb/exceptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/exceptions.h')
-rw-r--r--gdb/exceptions.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/exceptions.h b/gdb/exceptions.h
index b5d8fd57834..fedd405cd57 100644
--- a/gdb/exceptions.h
+++ b/gdb/exceptions.h
@@ -62,6 +62,9 @@ struct exception
char *message;
};
+/* A pre-defined non-exception. */
+extern const struct exception exception_none;
+
/* Throw an exception (as described by "struct exception"). Will
execute a LONG JUMP to the inner most containing exception handler
established using catch_exceptions() (or similar).