testsuite, dwarf2: use @DW_INL_declared_inlined in a test

gdb/testsuite/ChangeLog:
2021-04-14  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.dwarf2/dw2-inline-with-lexical-scope.exp: Use
	@DW_INL_declared_inlined for the inline attribute.
This commit is contained in:
Tankut Baris Aktemur
2021-04-14 19:03:59 +02:00
parent 34dc0f9596
commit fcc99c428a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
* gdb.dwarf2/dw2-inline-with-lexical-scope.exp: Use
@DW_INL_declared_inlined for the inline attribute.
2021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
* gdb.opt/inline-locals.c (scoped): New function.

View File

@ -59,7 +59,7 @@ Dwarf::assemble $asm_file {
func_label: subprogram {
{name func}
{inline 3 data1}
{inline @DW_INL_declared_inlined}
} {
num_label: DW_TAG_variable {
{name num}