testsuite, dwarf2: use @DW_INL_declared_inlined in a test
authorTankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Wed, 14 Apr 2021 17:03:59 +0000 (19:03 +0200)
committerTankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Wed, 14 Apr 2021 17:10:02 +0000 (19:10 +0200)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-inline-with-lexical-scope.exp

index 2e20fd79cb0d434d9493eafd432f79541274e106..c06e7eebd395de76543c60628ab432b1727abf85 100644 (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.
index 803f3077d71a7164faa87e3ffc1ee5b00f0f2da5..d4f88a926847ebe7e4bf82e975fe0cc44c9b5452 100644 (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}