aboutsummaryrefslogtreecommitdiff
path: root/binutils/od-pe.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2025-01-19 15:42:51 -0700
committerTom Tromey <tom@tromey.com>2025-03-03 14:16:44 -0700
commit268c8bda250f0b282d1fa9bdf7e5959cba018eeb (patch)
treeafd42ea3d853a2eca365eefa2237a0050fb652bf /binutils/od-pe.c
parent50ca09324ae2132f9bb73324482e4c0f5eaeddd1 (diff)
downloadbinutils-268c8bda250f0b282d1fa9bdf7e5959cba018eeb.zip
binutils-268c8bda250f0b282d1fa9bdf7e5959cba018eeb.tar.gz
binutils-268c8bda250f0b282d1fa9bdf7e5959cba018eeb.tar.bz2
Add language to type unit in debug-names-tu.exp.tcl
I think debug-names-tu.exp.tcl only passes by accident -- the type unit does not have a language, which gdb essentially requires. This isn't noticeable right now because the type unit in question is expanded in one phase and then the symbol found in another. However, I'm working on a series that would regress this. This patch partially fixes the problem by correcting the test case, adding the language to the TU. Hoewver, it then goes a bit further and arranges for this information not to be written to .debug_names. Whether or not a type should be considered "static" seems like something that is purely internal to gdb, so this patch has the entry-creation function apply the appropriate transform. It also may make sense to change the "debug_names" proc in the test suite to process attributes more like the ordinary "cu" proc does.
Diffstat (limited to 'binutils/od-pe.c')
0 files changed, 0 insertions, 0 deletions