aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-01-03 07:13:28 +0000
committerYao Qi <yao@codesourcery.com>2013-01-03 07:13:28 +0000
commite7e8980f5d1713148458f79f1d302bb08fbbc1b2 (patch)
treea5516422fc660d4df1dc26043b6c5374912efd76
parent4eaba4b21f1b722bef68b115691719f14787ba03 (diff)
downloadfsf-binutils-gdb-e7e8980f5d1713148458f79f1d302bb08fbbc1b2.zip
fsf-binutils-gdb-e7e8980f5d1713148458f79f1d302bb08fbbc1b2.tar.gz
fsf-binutils-gdb-e7e8980f5d1713148458f79f1d302bb08fbbc1b2.tar.bz2
gdb/
* symtab.h: Remove some out of date comments. (enum exception_event_kind): Move it ... * breakpoint.c: ... here.
-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. */