From: Tom Tromey Date: Tue, 25 Feb 2025 19:00:12 +0000 (-0700) Subject: Use gdb set in dwarf2/aranges.c X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ca198333325b87706c4506dd2005eb41736fe660;p=thirdparty%2Fbinutils-gdb.git Use gdb set in dwarf2/aranges.c This changes dwarf2/aranges.c to use gdb::unordered_set. Approved-By: Simon Marchi --- diff --git a/gdb/dwarf2/aranges.c b/gdb/dwarf2/aranges.c index 1be67852b43..7016eee557c 100644 --- a/gdb/dwarf2/aranges.c +++ b/gdb/dwarf2/aranges.c @@ -57,7 +57,7 @@ read_addrmap_from_aranges (dwarf2_per_objfile *per_objfile, gdb_assert (insertpair.second); } - std::set debug_info_offset_seen; + gdb::unordered_set debug_info_offset_seen; const bfd_endian dwarf5_byte_order = gdbarch_byte_order (gdbarch); const gdb_byte *addr = section->buffer; while (addr < section->buffer + section->size)