[PUSHED,1/2] remove the declared but undefined/unused method find_partial_die

Message ID 20221126122358.1168620-1-philippe.waroquiers@skynet.be
State Committed
Commit ea118ff5b18763c3f9b3033e2c74b0d3eac4245b
Headers
Series [PUSHED,1/2] remove the declared but undefined/unused method find_partial_die |

Commit Message

Philippe Waroquiers Nov. 26, 2022, 12:23 p.m. UTC
  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(-)
  

Patch

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 @@  struct dwarf2_cu
      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 ();
 };