forked from Imagelibrary/binutils-gdb
Turn value_address and set_value_address functions into methods
This changes the value_address and set_value_address functions to be methods of value. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@@ -457,7 +457,7 @@ f_language::value_print_inner (struct value *val, struct ui_file *stream,
|
||||
CORE_ADDR addr;
|
||||
int index;
|
||||
const gdb_byte *valaddr = value_contents_for_printing (val).data ();
|
||||
const CORE_ADDR address = value_address (val);
|
||||
const CORE_ADDR address = val->address ();
|
||||
|
||||
switch (type->code ())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user