aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/breakpoint.c7
-rw-r--r--gdb/symtab.h15
3 files changed, 13 insertions, 15 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4e1d962..124fffa 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2013-01-03 Yao Qi <yao@codesourcery.com>
+
+ * symtab.h: Remove some out of date comments.
+ (enum exception_event_kind): Move it ...
+ * breakpoint.c: ... here.
+
2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
PR gdb/14405
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 6f6349e..e56d9df 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -82,6 +82,13 @@
#include "mi/mi-common.h"
#include "python/python.h"
+/* Enums for exception-handling support. */
+enum exception_event_kind
+{
+ EX_EVENT_THROW,
+ EX_EVENT_CATCH
+};
+
/* Prototypes for local functions. */
static void enable_delete_command (char *, int);
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 6d5ccf6..78af1a2 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -1123,21 +1123,6 @@ struct symtabs_and_lines
};
-
-/* Some types and macros needed for exception catchpoints.
- Can't put these in target.h because symtab_and_line isn't
- known there. This file will be included by breakpoint.c,
- hppa-tdep.c, etc. */
-
-/* Enums for exception-handling support. */
-enum exception_event_kind
-{
- EX_EVENT_THROW,
- EX_EVENT_CATCH
-};
-
-
-
/* Given a pc value, return line number it is in. Second arg nonzero means
if pc is on the boundary use the previous statement's line number. */