This removes the old, original read_var_value. It is no longer
called.
---
gdb/findvar.c | 13 -------------
gdb/value.h | 4 ----
2 files changed, 17 deletions(-)
@@ -783,19 +783,6 @@ language_defn::read_var_value (struct symbol *var,
/* Calls VAR's language read_var_value hook with the given arguments. */
-struct value *
-read_var_value (struct symbol *var, const struct block *var_block,
- frame_info_ptr frame)
-{
- const struct language_defn *lang = language_def (var->language ());
-
- gdb_assert (lang != NULL);
-
- return lang->read_var_value (var, var_block, frame);
-}
-
-/* Calls VAR's language read_var_value hook with the given arguments. */
-
struct value *
read_var_value (block_symbol var, frame_info_ptr frame)
{
@@ -1134,10 +1134,6 @@ extern enum symbol_needs_kind symbol_read_needs (struct symbol *);
extern int symbol_read_needs_frame (struct symbol *);
-extern struct value *read_var_value (struct symbol *var,
- const struct block *var_block,
- frame_info_ptr frame);
-
extern struct value *read_var_value (block_symbol var,
frame_info_ptr frame);