mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-26 07:19:16 +08:00
Turn some value_contents functions into methods
This turns value_contents_raw, value_contents_writeable, and value_contents_all_raw into methods on value. The remaining functions will be changed later in the series; they were a bit trickier and so I didn't include them in this patch. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@ -1531,7 +1531,7 @@ sparc32_return_value (struct gdbarch *gdbarch, struct value *function,
|
||||
if (read_value != nullptr)
|
||||
{
|
||||
*read_value = value::allocate (type);
|
||||
gdb_byte *readbuf = value_contents_raw (*read_value).data ();
|
||||
gdb_byte *readbuf = (*read_value)->contents_raw ().data ();
|
||||
sparc32_extract_return_value (type, regcache, readbuf);
|
||||
}
|
||||
if (writebuf)
|
||||
|
Reference in New Issue
Block a user