aboutsummaryrefslogtreecommitdiff
path: root/gdb/trad-frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/trad-frame.c')
-rw-r--r--gdb/trad-frame.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/trad-frame.c b/gdb/trad-frame.c
index a369e50..b38409e 100644
--- a/gdb/trad-frame.c
+++ b/gdb/trad-frame.c
@@ -57,6 +57,7 @@ trad_frame_alloc_saved_regs (struct frame_info *this_frame)
int numregs = gdbarch_num_regs (gdbarch) + gdbarch_num_pseudo_regs (gdbarch);
struct trad_frame_saved_reg *this_saved_regs
= FRAME_OBSTACK_CALLOC (numregs, struct trad_frame_saved_reg);
+
for (regnum = 0; regnum < numregs; regnum++)
{
this_saved_regs[regnum].realreg = regnum;