diff options
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r-- | gdb/tracepoint.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 936df3d..e77f103 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -517,8 +517,6 @@ enum tracepoint_opcode delete }; -static void free_actions PARAMS((struct tracepoint *)); - /* This function implements enable, disable and delete. */ static void tracepoint_operation (t, from_tty, opcode) @@ -531,9 +529,13 @@ tracepoint_operation (t, from_tty, opcode) switch (opcode) { case enable: t->enabled = enabled; + if (modify_tracepoint_hook) + modify_tracepoint_hook (t); break; case disable: t->enabled = disabled; + if (modify_tracepoint_hook) + modify_tracepoint_hook (t); break; case delete: if (tracepoint_chain == t) @@ -1005,7 +1007,7 @@ validate_actionline (line, t) } /* worker function */ -static void +void free_actions (t) struct tracepoint *t; { |