diff options
author | Tom de Vries <tdevries@suse.de> | 2024-09-11 17:56:34 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-09-11 17:56:34 +0200 |
commit | e20c1e410ba1e689cdc0aaf6becc8fd041608aa5 (patch) | |
tree | c1952a9ec442f2b418e23ca01b42e5da93c183b5 /ld/testsuite/ld-mips-elf/attr-gnu-4-1-n32-ph.d | |
parent | a77ccc81295f41b72f96db000d1aa44e4dc91254 (diff) | |
download | binutils-master.zip binutils-master.tar.gz binutils-master.tar.bz2 |
Test-case gdb.dwarf2/forward-spec.exp contains a non-trivial gdb_test_multiple
to parse this cooked_index_entry:
...
[5] ((cooked_index_entry *) 0x7f01f0004040)^M
name: v^M
canonical: v^M
qualified: ns::v^M
DWARF tag: DW_TAG_variable^M
flags: 0x2 [IS_STATIC]^M
DIE offset: 0xcb^M
parent: ((cooked_index_entry *) 0x7f01f00040a0) [ns]^M
...
which allows us to verify that the entry has a parent.
After commit 8f258a6c979 ("[gdb/symtab] Dump qualified name of
cooked_index_entry") that's no longer necessary.
Simplify this by checking for ns::v instead.
While we're at it, also fix the test-case for target boards readnow,
cc-with-gdb-index and cc-with-debug-names.
Tested on x86_64-linux.
Diffstat (limited to 'ld/testsuite/ld-mips-elf/attr-gnu-4-1-n32-ph.d')
0 files changed, 0 insertions, 0 deletions