signal_command: Leftover cleanup chain regression
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 4 Aug 2015 11:42:56 +0000 (13:42 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 4 Aug 2015 11:42:56 +0000 (13:42 +0200)
gdb/ChangeLog
2015-08-04  Jan Kratochvil  <jan.kratochvil@redhat.com>

* infcmd.c (signal_command): Call do_cleanups for args_chain.

gdb/ChangeLog
gdb/infcmd.c

index 10628236620156d99fb9ce88b688c677089b47ee..af41072f7a703f69e50a2da64624590b48d31801 100644 (file)
@@ -1,3 +1,7 @@
+2015-08-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * infcmd.c (signal_command): Call do_cleanups for args_chain.
+
 2015-08-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        PR gdb/18767
index 5cd8dd728e1a7c13095a4c5fef913cbeb4b13583..29aaf445736c5c72a3031dfe714ca6193f96d1fa 100644 (file)
@@ -1264,6 +1264,8 @@ signal_command (char *signum_exp, int from_tty)
        oursig = gdb_signal_from_command (num);
     }
 
+  do_cleanups (args_chain);
+
   /* Look for threads other than the current that this command ends up
      resuming too (due to schedlock off), and warn if they'll get a
      signal delivered.  "signal 0" is used to suppress a previous
This page took 0.030084 seconds and 4 git commands to generate.