Allow 'interrupt -a' in all-stop mode
authorTom Tromey <tromey@adacore.com>
Wed, 8 Jun 2022 15:26:08 +0000 (09:26 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 14 Jun 2022 15:03:30 +0000 (09:03 -0600)
commitedb6b77c755545afb969fcebfa900b07a4b93c94
treebafdb2011cf9cbd95164395015999b2454805786
parente5ab6af52d38ee068c1860ef113b7db4cc985cfb
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
gdb/infcmd.c
gdb/testsuite/gdb.base/interrupt-a.c [new file with mode: 0644]
gdb/testsuite/gdb.base/interrupt-a.exp [new file with mode: 0644]