[gdb/testsuite] Fix language in dw2-bad-mips-linkage-name.exp
authorTom de Vries <tdevries@suse.de>
Fri, 24 Apr 2020 21:25:44 +0000 (23:25 +0200)
committerTom de Vries <tdevries@suse.de>
Fri, 24 Apr 2020 21:25:44 +0000 (23:25 +0200)
commit7cf288744fdd238bbab079a53584f76181d44218
tree64e243a439856ab69b8a4126eb5e983e599d1ebe
parentdac2fef7cfaf007123b521a70864d4dde3d09410
[gdb/testsuite] Fix language in dw2-bad-mips-linkage-name.exp

The test-case gdb.dwarf2/dw2-bad-mips-linkage-name.exp has a CU with
language C, which contains a subprogram with a C++-mangled name as its
DW_AT_mips_linkage_name attribute.

Fix this by changing the language of the CU to C++.

Tested on x86_64-linux.

gdb/testsuite/ChangeLog:

2020-04-24  Tom de Vries  <tdevries@suse.de>

* gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
C++.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-bad-mips-linkage-name.exp