mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 00:59:15 +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:
@ -1598,10 +1598,10 @@ put_frame_register_bytes (frame_info_ptr frame, int regnum,
|
||||
regnum);
|
||||
gdb_assert (value != NULL);
|
||||
|
||||
memcpy ((char *) value_contents_writeable (value).data () + offset,
|
||||
memcpy ((char *) value->contents_writeable ().data () + offset,
|
||||
myaddr, curr_len);
|
||||
put_frame_register (frame, regnum,
|
||||
value_contents_raw (value).data ());
|
||||
value->contents_raw ().data ());
|
||||
release_value (value);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user