diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2015-08-04 13:42:56 +0200 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2015-08-04 13:42:56 +0200 |
commit | c6343a91d94e9516afe56dfe85e435922bd9ea04 (patch) | |
tree | df8bf9c2f553ca07886612bc58751e6061abc73b /gdb/infcmd.c | |
parent | 978b9495b78054b76052a09064cae8c94a58b93e (diff) | |
download | gdb-c6343a91d94e9516afe56dfe85e435922bd9ea04.zip gdb-c6343a91d94e9516afe56dfe85e435922bd9ea04.tar.gz gdb-c6343a91d94e9516afe56dfe85e435922bd9ea04.tar.bz2 |
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.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r-- | gdb/infcmd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 5cd8dd7..29aaf44 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -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 |