![]() The file lib/dwarf.exp contains: ... # Declare a global label. This is typically used to refer to # labels defined in other files, for example a function defined in # a .c file. proc extern {args} { foreach name $args { _op .global $name } } ... The assembler directive to refer to labels defined in other files is not .global, but .extern, and that one is ignored by gas. Since we require gas for all dwarf assembly test-cases, remove the proc and all it's uses. Tested on x86_64-linux. gdb/testsuite/ChangeLog: 2020-07-17 Tom de Vries <tdevries@suse.de> * lib/dwarf.exp (Dwarf::extern): Remove. * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern. * gdb.dlang/circular.exp: Same. * gdb.dwarf2/comp-unit-lang.exp: Same. * gdb.dwarf2/dw2-ifort-parameter.exp: Same. * gdb.dwarf2/dw2-symtab-includes.exp: Same. * gdb.dwarf2/dwz.exp: Same. * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same. * gdb.dwarf2/imported-unit-runto-main.exp: Same. * gdb.dwarf2/imported-unit.exp: Same. * gdb.dwarf2/opaque-type-lookup.exp: Same. |
||
---|---|---|
.. | ||
compile-constvar.c | ||
compile-constvar.S | ||
compile-cplus-anonymous.cc | ||
compile-cplus-anonymous.exp | ||
compile-cplus-array-decay.cc | ||
compile-cplus-array-decay.exp | ||
compile-cplus-inherit.cc | ||
compile-cplus-inherit.exp | ||
compile-cplus-member.cc | ||
compile-cplus-member.exp | ||
compile-cplus-method.cc | ||
compile-cplus-method.exp | ||
compile-cplus-mod.c | ||
compile-cplus-namespace.cc | ||
compile-cplus-namespace.exp | ||
compile-cplus-nested.cc | ||
compile-cplus-nested.exp | ||
compile-cplus-print.c | ||
compile-cplus-print.exp | ||
compile-cplus-virtual.cc | ||
compile-cplus-virtual.exp | ||
compile-cplus.c | ||
compile-cplus.exp | ||
compile-ifunc.c | ||
compile-ifunc.exp | ||
compile-mod.c | ||
compile-nodebug.c | ||
compile-ops.c | ||
compile-ops.exp | ||
compile-print.c | ||
compile-print.exp | ||
compile-setjmp-mod.c | ||
compile-setjmp.c | ||
compile-setjmp.exp | ||
compile-shlib.c | ||
compile-tls.c | ||
compile-tls.exp | ||
compile.c | ||
compile.exp |