aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracepoint.h
diff options
context:
space:
mode:
authorKeith Seitz <keiths@cygnus>1998-02-11 02:33:22 +0000
committerKeith Seitz <keiths@cygnus>1998-02-11 02:33:22 +0000
commita5f4fbff1d7bb92016ad30c287c2a15e3c28ee54 (patch)
tree357646ec216a1c8b1a8675ee2168fb4a9ef90bc0 /gdb/tracepoint.h
parentbae2276c5b0326080c8c66b0f2f145f42638c742 (diff)
downloadgdb-a5f4fbff1d7bb92016ad30c287c2a15e3c28ee54.zip
gdb-a5f4fbff1d7bb92016ad30c287c2a15e3c28ee54.tar.gz
gdb-a5f4fbff1d7bb92016ad30c287c2a15e3c28ee54.tar.bz2
* tracepoint.c (tracepoint_operation): Call the modify_tracepoint_hook
if it exists. Remove static declaration of free_actions. * tracepoint.h: Add declaration of free_actions. * gdbtk.c (gdbtk_modify_tracepoint): Define new tracepoint modification hook. (gdbtk_print_frame_info): Define this hook so that current_source_symtab is set properly. (gdb_actions_command): Use free_actions () from tracepoint.c/h.
Diffstat (limited to 'gdb/tracepoint.h')
-rw-r--r--gdb/tracepoint.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/tracepoint.h b/gdb/tracepoint.h
index 0ff5982..ad6a7b0 100644
--- a/gdb/tracepoint.h
+++ b/gdb/tracepoint.h
@@ -98,8 +98,10 @@ extern struct tracepoint *tracepoint_chain;
void (*create_tracepoint_hook) PARAMS ((struct tracepoint *));
void (*delete_tracepoint_hook) PARAMS ((struct tracepoint *));
+void (*modify_tracepoint_hook) PARAMS ((struct tracepoint *));
struct tracepoint *get_tracepoint_by_number PARAMS ((char **));
+void free_actions PARAMS((struct tracepoint *));
/* Walk the following statement or block through all tracepoints.
ALL_TRACEPOINTS_SAFE does so even if the statment deletes the current