aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb-events.h
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2002-08-21 15:34:36 +0000
committerKeith Seitz <keiths@redhat.com>2002-08-21 15:34:36 +0000
commite23792ccb6d6b4e8e30e5702eaacfd5556e4ac6e (patch)
tree0613faf51d12e9373fad1f698198cd01acc302e7 /gdb/gdb-events.h
parent9fb14e79f9f0322189fb5a2ea17f9819d44fced6 (diff)
downloadgdb-e23792ccb6d6b4e8e30e5702eaacfd5556e4ac6e.zip
gdb-e23792ccb6d6b4e8e30e5702eaacfd5556e4ac6e.tar.gz
gdb-e23792ccb6d6b4e8e30e5702eaacfd5556e4ac6e.tar.bz2
* gdb-events.sh: Add target-changed event.
* gdb-events.c: Regenerated. * gdb-events.c: Regenerated. * valops.c (value_assign): Add target-changed event notification to inlval_register, lval_memory, and lval_reg_frame_relative.
Diffstat (limited to 'gdb/gdb-events.h')
-rw-r--r--gdb/gdb-events.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdb-events.h b/gdb/gdb-events.h
index 6786818..daba6a4 100644
--- a/gdb/gdb-events.h
+++ b/gdb/gdb-events.h
@@ -59,6 +59,7 @@ 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);
+typedef void (gdb_events_target_changed_ftype) (void);
/* gdb-events: object. */
@@ -72,6 +73,7 @@ struct gdb_events
gdb_events_tracepoint_delete_ftype *tracepoint_delete;
gdb_events_tracepoint_modify_ftype *tracepoint_modify;
gdb_events_architecture_changed_ftype *architecture_changed;
+ gdb_events_target_changed_ftype *target_changed;
};
@@ -85,6 +87,7 @@ 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);
+extern void target_changed_event (void);
/* When GDB_EVENTS are not being used, completly disable them. */
@@ -97,6 +100,7 @@ extern void architecture_changed_event (void);
#define tracepoint_delete_event(number) 0
#define tracepoint_modify_event(number) 0
#define architecture_changed_event() 0
+#define target_changed_event() 0
#endif
/* Install custom gdb-events hooks. */