aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-02-12 14:41:33 -0700
committerTom Tromey <tom@tromey.com>2020-02-12 14:41:33 -0700
commitd27b8e5f14630b94c8c389773d2b8518af2cecc3 (patch)
tree14310a2a319072b0456636673827a66579fcfa26
parent052793ad150643bd6cc34b02fc2a4fa0f5ec6428 (diff)
downloadgdb-d27b8e5f14630b94c8c389773d2b8518af2cecc3.zip
gdb-d27b8e5f14630b94c8c389773d2b8518af2cecc3.tar.gz
gdb-d27b8e5f14630b94c8c389773d2b8518af2cecc3.tar.bz2
Remove dwarf_expr_baton
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
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/dwarf2/loc.c9
2 files changed, 4 insertions, 9 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6629b8a..5d6fb9d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/dwarf2/loc.c b/gdb/dwarf2/loc.c
index ad13e89..7f27e45 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. */