diff options
author | Tom de Vries <tdevries@suse.de> | 2020-12-14 17:05:11 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2020-12-14 17:05:11 +0100 |
commit | 519155c9f6804988e35c8537c4506e877176c9b1 (patch) | |
tree | 1229b2274dde661de0c669d3071e68476594710a /gdb/testsuite/gdb.dwarf2/dwz.exp | |
parent | 153f6e6cb0266f8312ba85956b256ce1e3a2cb8e (diff) | |
download | gdb-519155c9f6804988e35c8537c4506e877176c9b1.zip gdb-519155c9f6804988e35c8537c4506e877176c9b1.tar.gz gdb-519155c9f6804988e35c8537c4506e877176c9b1.tar.bz2 |
[gdb/testsuite] Handle no glibc debuginfo in gdb.base/solib-corrupted.exp
When running test-case gdb.base/solib-corrupted.exp on SLE-11, I get:
...
(gdb) PASS: gdb.base/solib-corrupted.exp: normal list
p/x _r_debug->r_map->l_next = _r_debug->r_map^M
'_r_debug' has unknown type; cast it to its declared type^M
(gdb) FAIL: gdb.base/solib-corrupted.exp: make solibs looping
...
The reason that _r_debug has unknown type is that glibc debuginfo is not
installed. The test-case attempts to detect this but doesn't handle this
particular error string.
Fix this by adding the "unknown type" line to the regexp detecting missing
glibc debuginfo.
Tested on x86_64-linux.
gdb/testsuite/ChangeLog:
2020-12-14 Tom de Vries <tdevries@suse.de>
PR testsuite/26962
* gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
cast it to its declared type".
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dwz.exp')
0 files changed, 0 insertions, 0 deletions