diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-31 12:27:30 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-13 15:21:07 -0700 |
commit | 9feb2d07debe7d04a33cbd90f895d529b7a04f41 (patch) | |
tree | e888b8d28f7cc96be1c72adb5bc593f5297859af /gdb/frv-tdep.c | |
parent | 8e5b19ad992b56cb3817dcbd4c656e2ffc3ee889 (diff) | |
download | binutils-gdb-9feb2d07debe7d04a33cbd90f895d529b7a04f41.tar.gz |
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>
Diffstat (limited to 'gdb/frv-tdep.c')
-rw-r--r-- | gdb/frv-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/frv-tdep.c b/gdb/frv-tdep.c index 0922a8e3afe..e9c9a9cd392 100644 --- a/gdb/frv-tdep.c +++ b/gdb/frv-tdep.c @@ -1238,7 +1238,7 @@ frv_push_dummy_call (struct gdbarch *gdbarch, struct value *function, if (typecode == TYPE_CODE_STRUCT || typecode == TYPE_CODE_UNION) { store_unsigned_integer (valbuf, 4, byte_order, - value_address (arg)); + arg->address ()); typecode = TYPE_CODE_PTR; len = 4; val = valbuf; |