From e7e8980f5d1713148458f79f1d302bb08fbbc1b2 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Thu, 3 Jan 2013 07:13:28 +0000 Subject: [PATCH] gdb/ * symtab.h: Remove some out of date comments. (enum exception_event_kind): Move it ... * breakpoint.c: ... here. --- gdb/ChangeLog | 6 ++++++ gdb/breakpoint.c | 7 +++++++ gdb/symtab.h | 15 --------------- 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 + + * symtab.h: Remove some out of date comments. + (enum exception_event_kind): Move it ... + * breakpoint.c: ... here. + 2013-01-02 Iain Sandoe 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. */ -- 2.7.4