diff options
author | Tom de Vries <tdevries@suse.de> | 2021-09-07 10:31:42 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2021-09-07 10:31:42 +0200 |
commit | 5d2deb81fa143e592414fd987c2899c839eb433e (patch) | |
tree | 503306aca38d6f96794559f4e8eda3d8f0fbbd02 /gdbserver | |
parent | b54509b84488023954f6974229b24fe6c993742b (diff) | |
download | gdb-5d2deb81fa143e592414fd987c2899c839eb433e.zip gdb-5d2deb81fa143e592414fd987c2899c839eb433e.tar.gz gdb-5d2deb81fa143e592414fd987c2899c839eb433e.tar.bz2 |
[gdb/testsuite] Handle internal-error in gdb_unload
When reverting commit 5a20fadc841 and using gdb_unload instead of runto "bar"
to trigger the internal-error in test-case
gdb.dwarf2/locexpr-data-member-location.exp, we run into:
...
ERROR: couldn't unload file in $gdb (timeout).
...
and the test-case takes about 1 minute.
Fix this by handling internal-error in gdb_unload, such that we have:
...
ERROR: Couldn't unload file in $gdb (GDB internal error).
ERROR: Could not resync from internal error (eof)
...
within 2 seconds.
Tested on x86_64-linux.
Diffstat (limited to 'gdbserver')
0 files changed, 0 insertions, 0 deletions