diff options
author | Tom de Vries <tdevries@suse.de> | 2022-06-10 08:46:17 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-06-10 08:46:17 +0200 |
commit | 84860e85919f7f09328ae1f84303435ff2e6ee64 (patch) | |
tree | 8f92d6ad88acae010d1083a026d3eff99a01a3b8 /gdb/testsuite/lib/gdb-python.exp | |
parent | f460ede6035c5417d81956fe00760607e6042888 (diff) | |
download | gdb-84860e85919f7f09328ae1f84303435ff2e6ee64.zip gdb-84860e85919f7f09328ae1f84303435ff2e6ee64.tar.gz gdb-84860e85919f7f09328ae1f84303435ff2e6ee64.tar.bz2 |
[gdb/testsuite] Fix timeout in gdb.ada/ghost.exp
On openSUSE Tumbleweed with gcc-12, I run into a timeout:
...
(gdb) print value^M
Multiple matches for value^M
[0] cancel^M
[1] ada.strings.maps.value (<ref> ada.strings.maps.character_mapping; \
character) return character at a-strmap.adb:599^M
[2] pck.value at src/gdb/testsuite/gdb.ada/ghost/pck.ads:17^M
[3] system.object_reader.value (<ref> system.object_reader.object_symbol) \
return system.object_reader.uint64 at s-objrea.adb:2279^M
[4] system.traceback.symbolic.value (system.address) return string at \
s-trasym.adb:200^M
> FAIL: gdb.ada/ghost.exp: print value (timeout)
print ghost_value^M
Argument must be choice number^M
(gdb) FAIL: gdb.ada/ghost.exp: print ghost_value
...
Fix this by prefixing value (as well as the other printed values) with the
package name:
...
(gdb) print pck.value^M
...
Tested on x86_64-linux.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29055
Diffstat (limited to 'gdb/testsuite/lib/gdb-python.exp')
0 files changed, 0 insertions, 0 deletions