From fcc99c428afa518ffe1c500a818815e82855c4b2 Mon Sep 17 00:00:00 2001 From: Tankut Baris Aktemur Date: Wed, 14 Apr 2021 19:03:59 +0200 Subject: [PATCH] testsuite, dwarf2: use @DW_INL_declared_inlined in a test gdb/testsuite/ChangeLog: 2021-04-14 Tankut Baris Aktemur * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: Use @DW_INL_declared_inlined for the inline attribute. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.dwarf2/dw2-inline-with-lexical-scope.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2e20fd79cb0..c06e7eebd39 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2021-04-14 Tankut Baris Aktemur + + * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: Use + @DW_INL_declared_inlined for the inline attribute. + 2021-04-14 Tankut Baris Aktemur * gdb.opt/inline-locals.c (scoped): New function. 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 803f3077d71..d4f88a92684 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} -- 2.30.2