diff options
Diffstat (limited to 'gdb/amd64-tdep.c')
-rw-r--r-- | gdb/amd64-tdep.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c index 328e001..5e098b1 100644 --- a/gdb/amd64-tdep.c +++ b/gdb/amd64-tdep.c @@ -376,7 +376,7 @@ amd64_pseudo_register_read_value (struct gdbarch *gdbarch, memcpy (buf, raw_buf + 1, 1); else mark_value_bytes_unavailable (result_value, 0, - value_type (result_value)->length ()); + result_value->type ()->length ()); } else { @@ -386,7 +386,7 @@ amd64_pseudo_register_read_value (struct gdbarch *gdbarch, memcpy (buf, raw_buf, 1); else mark_value_bytes_unavailable (result_value, 0, - value_type (result_value)->length ()); + result_value->type ()->length ()); } } else if (i386_dword_regnum_p (gdbarch, regnum)) @@ -399,7 +399,7 @@ amd64_pseudo_register_read_value (struct gdbarch *gdbarch, memcpy (buf, raw_buf, 4); else mark_value_bytes_unavailable (result_value, 0, - value_type (result_value)->length ()); + result_value->type ()->length ()); } else i386_pseudo_register_read_into_value (gdbarch, regcache, regnum, @@ -962,7 +962,7 @@ if (return_method == return_method_struct) for (i = 0; i < nargs; i++) { - struct type *type = value_type (args[i]); + struct type *type = args[i]->type (); int len = type->length (); enum amd64_reg_class theclass[2]; int needed_integer_regs = 0; @@ -1046,7 +1046,7 @@ if (return_method == return_method_struct) /* Write out the arguments to the stack. */ for (i = 0; i < num_stack_args; i++) { - struct type *type = value_type (stack_args[i]); + struct type *type = stack_args[i]->type (); const gdb_byte *valbuf = value_contents (stack_args[i]).data (); int len = type->length (); |