diff options
author | Tom Tromey <tromey@adacore.com> | 2022-06-08 09:26:08 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-06-14 09:03:30 -0600 |
commit | edb6b77c755545afb969fcebfa900b07a4b93c94 (patch) | |
tree | bafdb2011cf9cbd95164395015999b2454805786 /gdb/infcmd.c | |
parent | e5ab6af52d38ee068c1860ef113b7db4cc985cfb (diff) | |
download | gdb-edb6b77c755545afb969fcebfa900b07a4b93c94.zip gdb-edb6b77c755545afb969fcebfa900b07a4b93c94.tar.gz gdb-edb6b77c755545afb969fcebfa900b07a4b93c94.tar.bz2 |
Allow 'interrupt -a' in all-stop mode
PR gdb/17160 points out that "interrupt -a" errors in all-stop mode,
but there's no good reason for this. This patch removes the error.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=17160
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r-- | gdb/infcmd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index e909d4d..1859025 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -2874,9 +2874,6 @@ interrupt_command (const char *args, int from_tty) && startswith (args, "-a")) all_threads = 1; - if (!non_stop && all_threads) - error (_("-a is meaningless in all-stop mode.")); - interrupt_target_1 (all_threads); } } |