Skip to content
Commit a006bc9c authored by Sandra Loosemore's avatar Sandra Loosemore
Browse files

gdb/testsuite: Make hook-stop.exp ignore termination message from GDB stub



When a GDB stub is run via "target remote |", it sometimes produces
extra output that ends up mixed with GDB's own output.  For example,
QEMU's built-in GDB stub responds to the vKill packet by printing

nios2-elf-qemu-system: QEMU: Terminated via GDBstub

before exiting.

This patch fixes the regexp in gdb.base/hook-stop.exp to allow such
messages between GDB's "continuing" and "Inferior killed" messages.

Reviewed-By: default avatarTom Tromey <tom@tromey.com>
Approved-By: default avatarTom Tromey <tom@tromey.com>
parent 8de9b683
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment