From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12448 invoked by alias); 9 Jun 2003 10:26:38 -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 12262 invoked from network); 9 Jun 2003 10:26:34 -0000 Received: from unknown (HELO walton.kettenis.dyndns.org) (62.163.169.212) by sources.redhat.com with SMTP; 9 Jun 2003 10:26:34 -0000 Received: from elgar.kettenis.dyndns.org (elgar.kettenis.dyndns.org [192.168.0.2]) by walton.kettenis.dyndns.org (8.12.6p2/8.12.5) with ESMTP id h59AQG6H000351; Mon, 9 Jun 2003 12:26:16 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: from elgar.kettenis.dyndns.org (localhost [127.0.0.1]) by elgar.kettenis.dyndns.org (8.12.6p2/8.12.6) with ESMTP id h59AQGth000600; Mon, 9 Jun 2003 12:26:16 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: (from kettenis@localhost) by elgar.kettenis.dyndns.org (8.12.6p2/8.12.6/Submit) id h59AQFpY000597; Mon, 9 Jun 2003 12:26:15 +0200 (CEST) Date: Mon, 09 Jun 2003 10:26:00 -0000 Message-Id: <200306091026.h59AQFpY000597@elgar.kettenis.dyndns.org> From: Mark Kettenis To: ac131313@redhat.com CC: ac131313@redhat.com, gdb-patches@sources.redhat.com In-reply-to: <3EE3B455.7080902@redhat.com> (message from Andrew Cagney on Sun, 08 Jun 2003 18:10:29 -0400) Subject: Re: [cagney_convert-20030606-branch] Add value to REGISTER_TO_VALUE et.al. References: <3EDE4A9E.70403@redhat.com> <8665nl34ao.fsf@elgar.kettenis.dyndns.org> <3EE0D987.6030207@redhat.com> <200306081643.h58GhiTr048427@elgar.kettenis.dyndns.org> <3EE36F28.9000104@redhat.com> <3EE3B455.7080902@redhat.com> X-SW-Source: 2003-06/txt/msg00296.txt.bz2 Andrew, I checked in the following obvious fix on the branch. Mark Index: ChangeLog from Mark Kettenis * mips-tdep.c (mips_value_to_register): Fix. Index: mips-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/mips-tdep.c,v retrieving revision 1.207.2.2 diff -u -p -r1.207.2.2 mips-tdep.c --- mips-tdep.c 8 Jun 2003 22:14:42 -0000 1.207.2.2 +++ mips-tdep.c 9 Jun 2003 10:25:25 -0000 @@ -656,8 +656,8 @@ void mips_value_to_register (struct frame_info *frame, int regnum, struct type *type, const void *from) { - put_frame_register (frame, regnum + 0, (const char *) + 4); - put_frame_register (frame, regnum + 1, (const char *) + 0); + put_frame_register (frame, regnum + 0, (const char *) from + 4); + put_frame_register (frame, regnum + 1, (const char *) from + 0); } /* Return the GDB type object for the "standard" data type