diff options
Diffstat (limited to 'gdb/loongarch-tdep.c')
-rw-r--r-- | gdb/loongarch-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/loongarch-tdep.c b/gdb/loongarch-tdep.c index f40a7b4..5f7a8a0 100644 --- a/gdb/loongarch-tdep.c +++ b/gdb/loongarch-tdep.c @@ -565,7 +565,7 @@ loongarch_push_dummy_call (struct gdbarch *gdbarch, for (int i = 0; i < nargs; i++) { struct value *arg = args[i]; - const gdb_byte *val = value_contents (arg).data (); + const gdb_byte *val = arg->contents ().data (); struct type *type = check_typedef (arg->type ()); size_t len = type->length (); int align = type_align (type); |