diff options
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index 77b7602..ebeb4d6 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -1001,7 +1001,7 @@ frame_info (char *addr_exp, int from_tty) print_address_numeric (fi->saved_regs[SP_REGNUM], 1, gdb_stdout); printf_filtered ("\n"); count = 0; - numregs = ARCH_NUM_REGS; + numregs = NUM_REGS; for (i = 0; i < numregs; i++) if (fi->saved_regs[i] && i != SP_REGNUM) { |