diff options
author | Tom de Vries <tdevries@suse.de> | 2020-10-16 11:39:02 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2020-10-16 11:39:02 +0200 |
commit | afe75f6d9fd06739ef4c294a792041a9b6c5bf7b (patch) | |
tree | b308b93d56172645721e802b927447c997d075ee /readline | |
parent | 57392598795ca9a9bae18858bf66b5a62ba1b71f (diff) | |
download | gdb-afe75f6d9fd06739ef4c294a792041a9b6c5bf7b.zip gdb-afe75f6d9fd06739ef4c294a792041a9b6c5bf7b.tar.gz gdb-afe75f6d9fd06739ef4c294a792041a9b6c5bf7b.tar.bz2 |
[gdb/testsuite] Be more verbose about abort in gdb_breakpoint
I noticed that an abort when setting a breakpoint does not result in more
than:
...
(gdb) break 27^M
FAIL: gdb.a/b.exp: setting breakpoint at 27 (eof)
...
Handle this more verbosely, as is done in gdb_test_multiple, such that we have
instead:
...
(gdb) break 27^M
ERROR: GDB process no longer exists
GDB process exited with wait status 29309 exp9 0 0 CHILDKILLED SIGABRT SIGABRT
UNRESOLVED: gdb.a/b.exp: setting breakpoint at 27 (eof)
...
Tested on x86_64-linux.
gdb/testsuite/ChangeLog:
2020-10-16 Tom de Vries <tdevries@suse.de>
* lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
Diffstat (limited to 'readline')
0 files changed, 0 insertions, 0 deletions