[pushed] Remove dwarf_expr_baton
Commit Message
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 | 4 ++++
gdb/dwarf2/loc.c | 9 ---------
2 files changed, 4 insertions(+), 9 deletions(-)
@@ -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. */