diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-05-23 23:53:56 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-05-23 23:53:56 +0000 |
commit | 8b279e7acbe955df3b10b2b3611eebae79a567d8 (patch) | |
tree | cac6b195304c575c61aa03d5525455b8d1f7d0bd /gdb/d10v-tdep.c | |
parent | 0a3d042596477c7396f52d3258c5dac10e5d9412 (diff) | |
download | gdb-8b279e7acbe955df3b10b2b3611eebae79a567d8.zip gdb-8b279e7acbe955df3b10b2b3611eebae79a567d8.tar.gz gdb-8b279e7acbe955df3b10b2b3611eebae79a567d8.tar.bz2 |
* d10v-tdep.c (d10v_gdbarch_init): Revert old code included in
change `2002-05-22 Michael Snyder' below.
(d10v_push_arguments): Ditto.
(d10v_extract_return_value): Ditto.
Diffstat (limited to 'gdb/d10v-tdep.c')
-rw-r--r-- | gdb/d10v-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/d10v-tdep.c b/gdb/d10v-tdep.c index 5bbec5c..570fed3 100644 --- a/gdb/d10v-tdep.c +++ b/gdb/d10v-tdep.c @@ -1076,7 +1076,7 @@ d10v_push_arguments (int nargs, struct value **args, CORE_ADDR sp, struct type *type = check_typedef (VALUE_TYPE (arg)); char *contents = VALUE_CONTENTS (arg); int len = TYPE_LENGTH (type); - /* printf ("push: type=%d len=%d\n", type->code, len); */ + /* printf ("push: type=%d len=%d\n", TYPE_CODE (type), len); */ { int aligned_regnum = (regnum + 1) & ~1; if (len <= 2 && regnum <= ARGN_REGNUM) @@ -1130,7 +1130,7 @@ d10v_extract_return_value (struct type *type, char regbuf[REGISTER_BYTES], char *valbuf) { int len; - /* printf("RET: TYPE=%d len=%d r%d=0x%x\n",type->code, TYPE_LENGTH (type), RET1_REGNUM - R0_REGNUM, (int) extract_unsigned_integer (regbuf + REGISTER_BYTE(RET1_REGNUM), REGISTER_RAW_SIZE (RET1_REGNUM))); */ + /* printf("RET: TYPE=%d len=%d r%d=0x%x\n", TYPE_CODE (type), TYPE_LENGTH (type), RET1_REGNUM - R0_REGNUM, (int) extract_unsigned_integer (regbuf + REGISTER_BYTE(RET1_REGNUM), REGISTER_RAW_SIZE (RET1_REGNUM))); */ { len = TYPE_LENGTH (type); if (len == 1) @@ -1525,7 +1525,7 @@ d10v_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_register_byte (gdbarch, d10v_register_byte); set_gdbarch_register_raw_size (gdbarch, d10v_register_raw_size); set_gdbarch_max_register_raw_size (gdbarch, 8); - set_gdbarch_register_virtual_size (gdbarch, generic_register_virtual_size); + set_gdbarch_register_virtual_size (gdbarch, generic_register_size); set_gdbarch_max_register_virtual_size (gdbarch, 8); set_gdbarch_register_virtual_type (gdbarch, d10v_register_virtual_type); |