diff options
Diffstat (limited to 'gdb/i960-tdep.c')
-rw-r--r-- | gdb/i960-tdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/i960-tdep.c b/gdb/i960-tdep.c index e33415d7399..bb2087a73eb 100644 --- a/gdb/i960-tdep.c +++ b/gdb/i960-tdep.c @@ -581,7 +581,8 @@ pop_frame () get_frame_saved_regs (current_fi, &fsr); for (i = G0_REGNUM; i < G14_REGNUM; i++) { - if (save_addr = fsr.regs[i]) + save_addr = fsr.regs[i]; + if (save_addr != 0) write_register (i, read_memory_integer (save_addr, 4)); } |