aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracepoint.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>2010-04-16 18:22:01 +0000
committerStan Shebs <shebs@codesourcery.com>2010-04-16 18:22:01 +0000
commitf90824dcbc643d327b85e6db5f9cabba0a51aa85 (patch)
treec5deceed587098c1a56a882ceb8b5b99f8abdb26 /gdb/tracepoint.c
parent8e642873815b96f743bb4bfae1cf4c76716dce93 (diff)
downloadgdb-f90824dcbc643d327b85e6db5f9cabba0a51aa85.zip
gdb-f90824dcbc643d327b85e6db5f9cabba0a51aa85.tar.gz
gdb-f90824dcbc643d327b85e6db5f9cabba0a51aa85.tar.bz2
2010-04-16 Stan Shebs <stan@codesourcery.com>
* tracepoint.c (trace_variable_command): Run a cleanup.
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r--gdb/tracepoint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index bf328fd..2771ee7 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -365,6 +365,7 @@ trace_variable_command (char *args, int from_tty)
tsv->initial_value = initval;
printf_filtered (_("Trace state variable $%s now has initial value %s.\n"),
tsv->name, plongest (tsv->initial_value));
+ do_cleanups (old_chain);
return;
}