2010-04-16 Stan Shebs <stan@codesourcery.com>
authorStan Shebs <shebs@codesourcery.com>
Fri, 16 Apr 2010 18:22:01 +0000 (18:22 +0000)
committerStan Shebs <shebs@codesourcery.com>
Fri, 16 Apr 2010 18:22:01 +0000 (18:22 +0000)
* tracepoint.c (trace_variable_command): Run a cleanup.

gdb/ChangeLog
gdb/tracepoint.c

index c6465a01271fa7153842d24ef83ba6ed5a7fcd6b..3a2268986dc9529c491c79609d910b2ca42a991a 100644 (file)
@@ -1,3 +1,7 @@
+2010-04-16  Stan Shebs  <stan@codesourcery.com>
+
+       * tracepoint.c (trace_variable_command): Run a cleanup.
+
 2010-04-16  Pierre Muller  <muller@ics.u-strasbg.fr>
 
        * p-lang.c (pascal_one_char): Do not restrict C to 0..255 range.
index bf328fd98ff1587ca8dd81d03a84e50788d8761f..2771ee7795c6a2d21062b98b26033d8eb46b5b86 100644 (file)
@@ -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;
     }