Currently "interrupt -a" is flagged as an error in all-stop mode. -a is meaningless in all-stop mode. As a user wanting to stop all threads I mightn't really care whether I'm in all-stop or non-stop. Having to remember which one to use is annoying.
That'd be fine with me.
I sent a patch.
The master branch has been updated by Tom Tromey <tromey@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=edb6b77c755545afb969fcebfa900b07a4b93c94 commit edb6b77c755545afb969fcebfa900b07a4b93c94 Author: Tom Tromey <tromey@adacore.com> Date: Wed Jun 8 09:26:08 2022 -0600 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
Fixed.