[Bug symtab/25260] Handle decl before def more robustly

vries at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Mon Dec 9 06:23:00 GMT 2019


https://sourceware.org/bugzilla/show_bug.cgi?id=25260

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
I already ran into limitations of the current approach: with target board
cc-with-dwz-m I run into:
...
FAIL: gdb.dwarf2/varval.exp: pre-main: print varval3
...

By doing:
...
$ cp varval varval.alt
$ dwz -m .tmp/varval.dwz varval varval.alt
...
we move the decl to the .tmp/varval.dwz file, and the current fix somehow
doesn't work any more.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list