aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2loc.h
diff options
context:
space:
mode:
authorSiva Chandra <sivachandra@chromium.org>2014-04-29 05:27:14 -0700
committerSiva Chandra <sivachandra@chromium.org>2014-04-30 06:27:07 -0700
commit1cfdf5340af6f07bb44b97c278f7036ef8db5c43 (patch)
tree7a77316187d12b9e756858969a3f6f020abd4a73 /gdb/dwarf2loc.h
parent5087d529319fc6d5985032183c138dd715d707b3 (diff)
downloadgdb-1cfdf5340af6f07bb44b97c278f7036ef8db5c43.zip
gdb-1cfdf5340af6f07bb44b97c278f7036ef8db5c43.tar.gz
gdb-1cfdf5340af6f07bb44b97c278f7036ef8db5c43.tar.bz2
Remove unused arguments to few functions in dwarf2loc.c and gdbtypes.c.
gdb/ChangeLog: * dwarf2loc.c (dwarf2_locexpr_baton_eval, dwarf2_evaluate_property): Remove unused CORE_ADDR argument. Update all callers. * dwarf2loc.h (dwarf2_evaluate_property): Update signature. * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array): Remove unused CORE_ADDR argument. Update all callers.
Diffstat (limited to 'gdb/dwarf2loc.h')
-rw-r--r--gdb/dwarf2loc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2loc.h b/gdb/dwarf2loc.h
index 36173c5..8ad5fa9 100644
--- a/gdb/dwarf2loc.h
+++ b/gdb/dwarf2loc.h
@@ -96,7 +96,7 @@ struct value *dwarf2_evaluate_loc_desc (struct type *type,
into VALUE, otherwise returns 0. */
int dwarf2_evaluate_property (const struct dynamic_prop *prop,
- CORE_ADDR addr, CORE_ADDR *value);
+ CORE_ADDR *value);
CORE_ADDR dwarf2_read_addr_index (struct dwarf2_per_cu_data *per_cu,
unsigned int addr_index);