signal_command: Leftover cleanup chain regression
gdb/ChangeLog 2015-08-04 Jan Kratochvil <jan.kratochvil@redhat.com> * infcmd.c (signal_command): Call do_cleanups for args_chain.
This commit is contained in:
parent
978b9495b7
commit
c6343a91d9
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue