From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25653 invoked by alias); 23 May 2002 23:41:15 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 25639 invoked from network); 23 May 2002 23:41:12 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 23 May 2002 23:41:12 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id C8E2F3D08; Thu, 23 May 2002 19:41:25 -0400 (EDT) Message-ID: <3CED7E25.9020702@cygnus.com> Date: Thu, 23 May 2002 17:17:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0rc2) Gecko/20020518 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Snyder Cc: gdb-patches@sources.redhat.com, ezannoni@redhat.com Subject: Re: [PATCH] Update D10V generic_dummy calls References: <200205231538.g4NFcam31809@reddwarf.sfbay.redhat.com> <3CED74F0.5060908@cygnus.com> Content-Type: multipart/mixed; boundary="------------050205060306070601080700" X-SW-Source: 2002-05/txt/msg00885.txt.bz2 This is a multi-part message in MIME format. --------------050205060306070601080700 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 35 I checked the attached in. Andrew --------------050205060306070601080700 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 1898 2002-05-24 Andrew Cagney * d10v-tdep.c (d10v_gdbarch_init): Revert old code included in change below. (d10v_push_arguments): Ditto. (d10v_extract_return_value): Ditto. Index: d10v-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/d10v-tdep.c,v retrieving revision 1.40 diff -u -r1.40 d10v-tdep.c --- d10v-tdep.c 23 May 2002 15:52:01 -0000 1.40 +++ d10v-tdep.c 23 May 2002 23:37:26 -0000 @@ -1076,7 +1076,7 @@ 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 @@ 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 @@ 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); --------------050205060306070601080700--