From: Tom Tromey Date: Wed, 12 Feb 2020 21:41:33 +0000 (-0700) Subject: Remove dwarf_expr_baton X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d27b8e5f14630b94c8c389773d2b8518af2cecc3;p=binutils-gdb.git Remove dwarf_expr_baton The type dwarf_expr_baton is unused and can be removed. gdb/ChangeLog 2020-02-12 Tom Tromey * dwarf2/loc.c (struct dwarf_expr_baton): Remove. Change-Id: Id8342da31398b9b4b08f31be7c3d612e9590bbbf --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6629b8a1503..5d6fb9d5e66 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2020-02-12 Tom Tromey + + * dwarf2/loc.c (struct dwarf_expr_baton): Remove. + 2020-02-12 Hannes Domani * windows-tdep.c (struct windows_gdbarch_data): Add tib_ptr_type. diff --git a/gdb/dwarf2/loc.c b/gdb/dwarf2/loc.c index ad13e8920ff..7f27e453b30 100644 --- a/gdb/dwarf2/loc.c +++ b/gdb/dwarf2/loc.c @@ -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. */