aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/am29k-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/am29k-tdep.c b/gdb/am29k-tdep.c
index 4d52f99..f76d02e 100644
--- a/gdb/am29k-tdep.c
+++ b/gdb/am29k-tdep.c
@@ -769,7 +769,7 @@ push_dummy_frame ()
for (i = 0; i < num_bytes; i += 4)
{
/* Note: word is in target byte order. */
- read_register_gen (LR0_REGNUM + i / 4, &word, 4);
+ read_register_gen (LR0_REGNUM + i / 4, &word);
write_memory (rfb - num_bytes + i, &word, 4);
}
}