summaryrefslogtreecommitdiff
path: root/gdb/exceptions.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-02-09 14:59:12 +0000
committerPedro Alves <palves@redhat.com>2015-02-27 17:43:10 +0000
commitad6aff7dead678cc0fa4f786fa59c6040c6fa758 (patch)
tree606bde04e1aeaaf96e07dbe7d1f2a47f8efc4af7 /gdb/exceptions.h
parent97c185659a35d249aa20c89674e3da2baf4b4352 (diff)
Move exception_none to common code, and use it
gdb/ChangeLog: 2015-02-27 Pedro Alves <palves@redhat.com> * common/common-exceptions.h (exception_none): Declare. * common/common-exceptions.c (exception_none): Moved from exceptions.c. (exceptions_state_mc_init): Use exception_none. * exceptions.c (exception_none): Move to common/common-exceptions.c. * exceptions.h (exception_none): Move to common/common-exceptions.h.
Diffstat (limited to 'gdb/exceptions.h')
-rw-r--r--gdb/exceptions.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/exceptions.h b/gdb/exceptions.h
index 9718573127..3b0dbace7b 100644
--- a/gdb/exceptions.h
+++ b/gdb/exceptions.h
@@ -22,9 +22,6 @@
#include "ui-out.h"
-/* A pre-defined non-exception. */
-extern const struct gdb_exception exception_none;
-
/* 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);