From ea118ff5b18763c3f9b3033e2c74b0d3eac4245b Mon Sep 17 00:00:00 2001 From: Philippe Waroquiers Date: Sat, 26 Nov 2022 12:42:41 +0100 Subject: [PATCH] remove the declared but undefined/unused method find_partial_die The method struct partial_die_info *find_partial_die (sect_offset sect_off); in cu.h is defined, but is used nowhere and not implemented. --- gdb/dwarf2/cu.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/gdb/dwarf2/cu.h b/gdb/dwarf2/cu.h index 51638e71b19..52975095871 100644 --- a/gdb/dwarf2/cu.h +++ b/gdb/dwarf2/cu.h @@ -278,8 +278,6 @@ public: hash table and don't find it. */ bool load_all_dies : 1; - struct partial_die_info *find_partial_die (sect_offset sect_off); - /* Get the buildsym_compunit for this CU. */ buildsym_compunit *get_builder (); }; -- 2.30.2