This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA v3 07/13] Throw a "quit" on a KeyboardException in py-framefilter.c
On 03/23/2018 08:55 PM, Tom Tromey wrote:
> +set test "bt 1 with KeyboardInterrupt"
> +gdb_test_multiple "bt 1" $test {
> + -re "Quit" {
> + pass $test
> + }
> +}
What's the gdb output in gdb.log in this case? Is there a GDB prompt
involved?
I'm wondering whether this is racy as is. Does e.g., the test pass
with "make check-read1"?
Or, are we leaving a gdb prompt in the expect buffer unprocessed?
Thanks,
Pedro Alves