Remove dwarf_expr_baton
authorTom Tromey <tom@tromey.com>
Wed, 12 Feb 2020 21:41:33 +0000 (14:41 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 12 Feb 2020 21:41:33 +0000 (14:41 -0700)
The type dwarf_expr_baton is unused and can be removed.

gdb/ChangeLog
2020-02-12  Tom Tromey  <tom@tromey.com>

* dwarf2/loc.c (struct dwarf_expr_baton): Remove.

Change-Id: Id8342da31398b9b4b08f31be7c3d612e9590bbbf

gdb/ChangeLog
gdb/dwarf2/loc.c

index 6629b8a1503029b2abd1c83f5b5d7402c2af25b3..5d6fb9d5e66c268cccf0ed6e43b8090100beb60a 100644 (file)
@@ -1,3 +1,7 @@
+2020-02-12  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/loc.c (struct dwarf_expr_baton): Remove.
+
 2020-02-12  Hannes Domani  <ssbssa@yahoo.de>
 
        * windows-tdep.c (struct windows_gdbarch_data): Add tib_ptr_type.
index ad13e8920ff4c7f3d6ebf5a2af9c7b39be7059e1..7f27e453b30347e50f9b2673615162f7635c85a3 100644 (file)
@@ -423,15 +423,6 @@ dwarf2_find_location_expression (struct dwarf2_loclist_baton *baton,
     }
 }
 
-/* This is the baton used when performing dwarf2 expression
-   evaluation.  */
-struct dwarf_expr_baton
-{
-  struct frame_info *frame;
-  struct dwarf2_per_cu_data *per_cu;
-  CORE_ADDR obj_address;
-};
-
 /* Implement find_frame_base_location method for LOC_BLOCK functions using
    DWARF expression for its DW_AT_frame_base.  */
 
This page took 0.039209 seconds and 4 git commands to generate.