diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index fd8d921..4086f16 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2020-10-16 Tom de Vries <tdevries@suse.de> + + * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple. + 2020-10-14 Tom de Vries <tdevries@suse.de> PR testsuite/26732 diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 63ba800..ed647c9 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -565,6 +565,10 @@ proc gdb_breakpoint { function args } { return 0 } eof { + perror "GDB process no longer exists" + global gdb_spawn_id + set wait_status [wait -i $gdb_spawn_id] + verbose -log "GDB process exited with wait status $wait_status" if { $print_fail } { fail "$test_name (eof)" } |