mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 10:30:46 +00:00
Turn remaining value_contents functions into methods
This turns the remaining value_contents functions -- value_contents, value_contents_all, value_contents_for_printing, and value_contents_for_printing_const -- into methods of value. It also converts the static functions require_not_optimized_out and require_available to be private methods. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@@ -808,7 +808,7 @@ csky_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
|
||||
|
||||
arg_type = check_typedef (args[argnum]->type ());
|
||||
len = arg_type->length ();
|
||||
val = value_contents (args[argnum]).data ();
|
||||
val = args[argnum]->contents ().data ();
|
||||
|
||||
/* Copy the argument to argument registers or the dummy stack.
|
||||
Large arguments are split between registers and stack.
|
||||
|
||||
Reference in New Issue
Block a user