From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1062) id CAF753858427; Tue, 31 May 2022 14:06:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CAF753858427 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Alan Modra To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-865] Correct spelling of DW_AT_namelist_item X-Act-Checkin: gcc X-Git-Author: Alan Modra X-Git-Refname: refs/heads/master X-Git-Oldrev: da8a18df7d1edb9e5ad914e55958576d0241b7cb X-Git-Newrev: 6c3c8f087cfeaeb8c0e0aca23130109cbc2dbc69 Message-Id: <20220531140620.CAF753858427@sourceware.org> Date: Tue, 31 May 2022 14:06:20 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2022 14:06:20 -0000 https://gcc.gnu.org/g:6c3c8f087cfeaeb8c0e0aca23130109cbc2dbc69 commit r13-865-g6c3c8f087cfeaeb8c0e0aca23130109cbc2dbc69 Author: Alan Modra Date: Tue May 31 15:43:36 2022 +0930 Correct spelling of DW_AT_namelist_item include/ * dwarf2.def: Correct spelling of DW_AT_namelist_item. gcc/ * dwarf2out.cc (gen_namelist_decl): Adjust to suit correct spelling of DW_AT_namelist_item. Diff: --- gcc/dwarf2out.cc | 2 +- include/dwarf2.def | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/dwarf2out.cc b/gcc/dwarf2out.cc index fccf59e8ec3..29f32ec6939 100644 --- a/gcc/dwarf2out.cc +++ b/gcc/dwarf2out.cc @@ -27479,7 +27479,7 @@ gen_namelist_decl (tree name, dw_die_ref scope_die, tree item_decls) nml_item_ref_die = force_decl_die (value); nml_item_die = new_die (DW_TAG_namelist_item, nml_die, NULL); - add_AT_die_ref (nml_item_die, DW_AT_namelist_items, nml_item_ref_die); + add_AT_die_ref (nml_item_die, DW_AT_namelist_item, nml_item_ref_die); } return nml_die; } diff --git a/include/dwarf2.def b/include/dwarf2.def index 4214c80907a..530c6f849f9 100644 --- a/include/dwarf2.def +++ b/include/dwarf2.def @@ -289,7 +289,7 @@ DW_AT (DW_AT_frame_base, 0x40) DW_AT (DW_AT_friend, 0x41) DW_AT (DW_AT_identifier_case, 0x42) DW_AT (DW_AT_macro_info, 0x43) -DW_AT (DW_AT_namelist_items, 0x44) +DW_AT (DW_AT_namelist_item, 0x44) DW_AT (DW_AT_priority, 0x45) DW_AT (DW_AT_segment, 0x46) DW_AT (DW_AT_specification, 0x47)