diff --git a/gdb/am29k-tdep.c b/gdb/am29k-tdep.c index 4d52f99b11..f76d02e88c 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); } }