diff options
author | Keith Seitz <keiths@redhat.com> | 2001-08-11 00:41:02 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2001-08-11 00:41:02 +0000 |
commit | 67c2c32c6b30dd3690964884a46b39cc6ee27486 (patch) | |
tree | ff94c6dfcb0b0766f6bd0d86630c1e45261761be /gdb/gdb-events.h | |
parent | c5745c877823a4c057c1f3a952a2e9fbce69354f (diff) | |
download | gdb-67c2c32c6b30dd3690964884a46b39cc6ee27486.zip gdb-67c2c32c6b30dd3690964884a46b39cc6ee27486.tar.gz gdb-67c2c32c6b30dd3690964884a46b39cc6ee27486.tar.bz2 |
* gdb-events.sh: Add architecture_changed event.
* gdbarch.sh: Include gdb-event.h.
(gdbarch_update_p): Notify UIs when architecture changes.
* gdb-events.h: Regenerated.
* gdb-events.c: Regenerated.
* gdbarch.c: Regenerated.
Diffstat (limited to 'gdb/gdb-events.h')
-rw-r--r-- | gdb/gdb-events.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdb-events.h b/gdb/gdb-events.h index 7d0d86f..18a4a20 100644 --- a/gdb/gdb-events.h +++ b/gdb/gdb-events.h @@ -57,6 +57,7 @@ typedef void (gdb_events_breakpoint_modify_ftype) (int b); typedef void (gdb_events_tracepoint_create_ftype) (int number); typedef void (gdb_events_tracepoint_delete_ftype) (int number); typedef void (gdb_events_tracepoint_modify_ftype) (int number); +typedef void (gdb_events_architecture_changed_ftype) (void); /* gdb-events: object. */ @@ -69,6 +70,7 @@ struct gdb_events gdb_events_tracepoint_create_ftype *tracepoint_create; gdb_events_tracepoint_delete_ftype *tracepoint_delete; gdb_events_tracepoint_modify_ftype *tracepoint_modify; + gdb_events_architecture_changed_ftype *architecture_changed; }; @@ -81,6 +83,7 @@ extern void breakpoint_modify_event (int b); extern void tracepoint_create_event (int number); extern void tracepoint_delete_event (int number); extern void tracepoint_modify_event (int number); +extern void architecture_changed_event (void); /* When GDB_EVENTS are not being used, completly disable them. */ @@ -92,6 +95,7 @@ extern void tracepoint_modify_event (int number); #define tracepoint_create_event(number) 0 #define tracepoint_delete_event(number) 0 #define tracepoint_modify_event(number) 0 +#define architecture_changed_event() 0 #endif /* Install custom gdb-events hooks. */ |