This patch adds a target board debug-types that switches on -fdebug-types-section by default. This -fdebug-types-section option is a gcc option that enables the generation of a .debug_types section, which is only effective for DWARF version 4. There are two other boards that enable this: dwarf4-gdb-index and fisson, but while those test some meaningful combination of options, this board is intended to test only -fdebug-types-section. Current results with gcc 7.5.0 are: ... === gdb Summary === # of expected passes 75832 # of unexpected failures 2841 # of expected failures 130 # of known failures 75 # of unresolved testcases 22 # of untested testcases 37 # of unsupported tests 83 ... Related known issues: - PR gcc/90232 - "gcc drops top-level dies with -fdebug-types-section" - PR gdb/25875 - "segv in ada_discrete_type_low_bound" - PR gdb/14148 - "-fdebug-types-section regresses static scope of types" Tested on x86_64-linux. gdb/testsuite/ChangeLog: 2020-04-25 Tom de Vries <tdevries@suse.de> * boards/debug-types.exp: New file. |
||
---|---|---|
.. | ||
cc-with-debug-names.exp | ||
cc-with-dwz-m.exp | ||
cc-with-dwz.exp | ||
cc-with-gdb-index.exp | ||
cc-with-tweaks.exp | ||
debug-types.exp | ||
dwarf4-gdb-index.exp | ||
fission-dwp.exp | ||
fission.exp | ||
gdbserver-base.exp | ||
local-board.exp | ||
local-remote-host-native.exp | ||
local-remote-host-notty.exp | ||
local-remote-host.exp | ||
native-extended-gdbserver.exp | ||
native-gdbserver.exp | ||
native-stdio-gdbserver.exp | ||
readnow.exp | ||
remote-gdbserver-on-localhost.exp | ||
remote-stdio-gdbserver.exp | ||
stabs.exp | ||
stdio-gdbserver-base.exp |