diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-04-29 18:00:08 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-04-29 18:00:08 +0000 |
commit | 711cc5cd074d90536d28426dbdaed62f0d3bf0a7 (patch) | |
tree | dd26885f9df3a914e2033d936584d581e01eb6f4 /gdb/gdb-events.h | |
parent | 8a7140c38f21984c512ac97bcfa2f0d7417bdc27 (diff) | |
download | gdb-711cc5cd074d90536d28426dbdaed62f0d3bf0a7.zip gdb-711cc5cd074d90536d28426dbdaed62f0d3bf0a7.tar.gz gdb-711cc5cd074d90536d28426dbdaed62f0d3bf0a7.tar.bz2 |
2004-04-29 Andrew Cagney <cagney@redhat.com>
* gdb-events.sh (WITH_GDB_EVENTS): Delete macro and references.
Delete all disabled code.
* gdb-events.h, gdb-events.c: Re-generate.
Diffstat (limited to 'gdb/gdb-events.h')
-rw-r--r-- | gdb/gdb-events.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/gdb/gdb-events.h b/gdb/gdb-events.h index 2ce193f..7f0d1cb 100644 --- a/gdb/gdb-events.h +++ b/gdb/gdb-events.h @@ -38,10 +38,6 @@ #ifndef GDB_EVENTS_H #define GDB_EVENTS_H -#ifndef WITH_GDB_EVENTS -#define WITH_GDB_EVENTS 1 -#endif - /* COMPAT: pointer variables for old, unconverted events. A call to set_gdb_events() will automatically update these. */ @@ -95,22 +91,6 @@ extern void target_changed_event (void); extern void selected_frame_level_changed_event (int level); extern void selected_thread_changed_event (int thread_num); - -/* When GDB_EVENTS are not being used, completely disable them. */ - -#if !WITH_GDB_EVENTS -#define breakpoint_create_event(b) 0 -#define breakpoint_delete_event(b) 0 -#define breakpoint_modify_event(b) 0 -#define tracepoint_create_event(number) 0 -#define tracepoint_delete_event(number) 0 -#define tracepoint_modify_event(number) 0 -#define architecture_changed_event() 0 -#define target_changed_event() 0 -#define selected_frame_level_changed_event(level) 0 -#define selected_thread_changed_event(thread_num) 0 -#endif - /* Install custom gdb-events hooks. */ extern struct gdb_events *set_gdb_event_hooks (struct gdb_events *vector); @@ -120,10 +100,4 @@ extern void gdb_events_deliver (struct gdb_events *vector); /* Clear event handlers */ extern void clear_gdb_event_hooks (void); -#if !WITH_GDB_EVENTS -#define set_gdb_events(x) 0 -#define set_gdb_event_hooks(x) 0 -#define gdb_events_deliver(x) 0 -#endif - #endif |