aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb-events.h
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2002-09-30 20:06:53 +0000
committerKeith Seitz <keiths@redhat.com>2002-09-30 20:06:53 +0000
commit28ee05e92474f1a72e289ff06050351938b8f807 (patch)
tree11f71f07682f031868016526062aa5abd2ecc403 /gdb/gdb-events.h
parent6eecb1c8dd27952c745d2ebb4478c0d7d1feed8b (diff)
downloadgdb-28ee05e92474f1a72e289ff06050351938b8f807.zip
gdb-28ee05e92474f1a72e289ff06050351938b8f807.tar.gz
gdb-28ee05e92474f1a72e289ff06050351938b8f807.tar.bz2
* gdb-events.sh (selected_thread_changed): New event.
* gdb-events.c: Regenerated. * gdb-events.h: Regenerated.
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 c3332d7..4836568 100644
--- a/gdb/gdb-events.h
+++ b/gdb/gdb-events.h
@@ -61,6 +61,7 @@ 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);
typedef void (gdb_events_selected_frame_level_changed_ftype) (int level);
+typedef void (gdb_events_selected_thread_changed_ftype) (int thread_num);
/* gdb-events: object. */
@@ -76,6 +77,7 @@ struct gdb_events
gdb_events_architecture_changed_ftype *architecture_changed;
gdb_events_target_changed_ftype *target_changed;
gdb_events_selected_frame_level_changed_ftype *selected_frame_level_changed;
+ gdb_events_selected_thread_changed_ftype *selected_thread_changed;
};
@@ -91,6 +93,7 @@ extern void tracepoint_modify_event (int number);
extern void architecture_changed_event (void);
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, completly disable them. */
@@ -105,6 +108,7 @@ extern void selected_frame_level_changed_event (int level);
#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. */