mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-09 17:12:54 +00:00
Remove deprecated_lval_hack
This removes deprecated_lval_hack and the VALUE_LVAL macro, replacing all uses with a call to value::lval. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@@ -150,7 +150,7 @@ convert_one_symbol (compile_cplus_instance *instance,
|
||||
}
|
||||
|
||||
val = read_var_value (sym.symbol, sym.block, frame);
|
||||
if (VALUE_LVAL (val) != lval_memory)
|
||||
if (val->lval () != lval_memory)
|
||||
error (_("Symbol \"%s\" cannot be used for compilation "
|
||||
"evaluation as its address has not been found."),
|
||||
sym.symbol->print_name ());
|
||||
|
||||
Reference in New Issue
Block a user