aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb-events.h
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2001-06-06 14:44:42 +0000
committerKeith Seitz <keiths@redhat.com>2001-06-06 14:44:42 +0000
commitba9fe0367b0cba77783ccfc1aea0038bc0793481 (patch)
tree4710c71b86a972214a39db3309ad87591d2b7951 /gdb/gdb-events.h
parentcea35b0824e9717d5219c1838260f74f8a7780d1 (diff)
downloadgdb-ba9fe0367b0cba77783ccfc1aea0038bc0793481.zip
gdb-ba9fe0367b0cba77783ccfc1aea0038bc0793481.tar.gz
gdb-ba9fe0367b0cba77783ccfc1aea0038bc0793481.tar.bz2
* gdb-events.sh (function_list): Add tracepoint_create,
tracepoint_delete, and tracepoint_modify events. * gdb-events.c: Regenerated. * gdb-events.h: Regenerated.
Diffstat (limited to 'gdb/gdb-events.h')
-rw-r--r--gdb/gdb-events.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/gdb-events.h b/gdb/gdb-events.h
index 4742695..7d0d86f 100644
--- a/gdb/gdb-events.h
+++ b/gdb/gdb-events.h
@@ -54,6 +54,9 @@
typedef void (gdb_events_breakpoint_create_ftype) (int b);
typedef void (gdb_events_breakpoint_delete_ftype) (int b);
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);
/* gdb-events: object. */
@@ -63,6 +66,9 @@ struct gdb_events
gdb_events_breakpoint_create_ftype *breakpoint_create;
gdb_events_breakpoint_delete_ftype *breakpoint_delete;
gdb_events_breakpoint_modify_ftype *breakpoint_modify;
+ gdb_events_tracepoint_create_ftype *tracepoint_create;
+ gdb_events_tracepoint_delete_ftype *tracepoint_delete;
+ gdb_events_tracepoint_modify_ftype *tracepoint_modify;
};
@@ -72,6 +78,9 @@ struct gdb_events
extern void breakpoint_create_event (int b);
extern void breakpoint_delete_event (int b);
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);
/* When GDB_EVENTS are not being used, completly disable them. */
@@ -80,6 +89,9 @@ extern void breakpoint_modify_event (int b);
#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
#endif
/* Install custom gdb-events hooks. */