diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-06-09 10:26:53 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-06-09 10:26:53 +0000 |
commit | 94459ac8485a3f1da74cdc88ab9c1a526b38f015 (patch) | |
tree | d3fcf40ff105fa65ddcafe5bb9a6b78f6cfaaf20 | |
parent | 6813cd7bea813f9e2a0e0bc36977c440d16a7e8c (diff) | |
download | fsf-binutils-gdb-94459ac8485a3f1da74cdc88ab9c1a526b38f015.zip fsf-binutils-gdb-94459ac8485a3f1da74cdc88ab9c1a526b38f015.tar.gz fsf-binutils-gdb-94459ac8485a3f1da74cdc88ab9c1a526b38f015.tar.bz2 |
* mips-tdep.c (mips_value_to_register): Fix.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/mips-tdep.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 21c37c8..5a3fb09 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2003-06-09 Mark Kettenis <kettenis@gnu.org> + + * mips-tdep.c (mips_value_to_register): Fix. + 2003-06-06 Andrew Cagney <cagney@redhat.com> * frame.h (put_frame_register): Declare. diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 0c7acaf..4bb2790 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -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 |