This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [cagney_convert-20030606-branch] Add value to REGISTER_TO_VALUEet.al.
Andrew,
I checked in the following obvious fix on the branch.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* 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