diff options
author | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | 2021-04-14 19:03:59 +0200 |
---|---|---|
committer | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | 2021-04-14 19:10:02 +0200 |
commit | fcc99c428afa518ffe1c500a818815e82855c4b2 (patch) | |
tree | c7ad59665af462dfbaca7f8c633f1adbc20e83e9 | |
parent | 34dc0f95968f835d4c4ac01373de63dec2902c70 (diff) | |
download | fsf-binutils-gdb-fcc99c428afa518ffe1c500a818815e82855c4b2.zip fsf-binutils-gdb-fcc99c428afa518ffe1c500a818815e82855c4b2.tar.gz fsf-binutils-gdb-fcc99c428afa518ffe1c500a818815e82855c4b2.tar.bz2 |
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.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-inline-with-lexical-scope.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2e20fd7..c06e7ee 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,10 @@ 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. (main): Call 'scoped'. * gdb.opt/inline-locals.exp: Update with "info locals" tests diff --git a/gdb/testsuite/gdb.dwarf2/dw2-inline-with-lexical-scope.exp b/gdb/testsuite/gdb.dwarf2/dw2-inline-with-lexical-scope.exp index 803f307..d4f88a9 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-inline-with-lexical-scope.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-inline-with-lexical-scope.exp @@ -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} |