aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/x86-64/readelf-sframe-01.d
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2025-07-31 09:58:47 +0200
committerTom de Vries <tdevries@suse.de>2025-07-31 09:58:47 +0200
commitc7c272f06d2d456d1d99762325fd0dd7db31d540 (patch)
treeab2f97cdf153bb6b2156f64bb530185623d1c6f5 /binutils/testsuite/binutils-all/x86-64/readelf-sframe-01.d
parent8e885fece150ee97e5b0e78363e7fe9888ae9c29 (diff)
downloadbinutils-master.zip
binutils-master.tar.gz
binutils-master.tar.bz2
[gdb/testsuite] Fix gdb.gdb/python-helper.exp with gdb built with -fltoHEADmaster
With a gdb build with gcc 7.5.0 and "-O2 -flto=auto -g", I run into: ... (outer-gdb) PASS: gdb.gdb/python-helper.exp: print varobj_table print inferior_list $5 = {m_front = 0x212e830, m_back = 0x2e39aa0} (outer-gdb) FAIL: gdb.gdb/python-helper.exp: print inferior_list ... The problem is that the type of inferior_list: ... (outer-gdb) what inferior_list^M type = intrusive_list^M (outer-gdb) ... is not descriptive enough to trigger the pretty pretter. Note that with a gdb build with -O0, we'd get instead: ... (outer-gdb) what inferior_list^M type = intrusive_list<inferior, intrusive_base_node<inferior> > (outer-gdb) ... Fix this by detecting this situation, and declaring the test unsupported. Tested on x86_64-linux.
Diffstat (limited to 'binutils/testsuite/binutils-all/x86-64/readelf-sframe-01.d')
0 files changed, 0 insertions, 0 deletions