aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-03-13 23:31:14 +0000
committerAndrew Cagney <cagney@redhat.com>2001-03-13 23:31:14 +0000
commita728f04251098dd0e74a2aea1e4d8e841e7fb404 (patch)
tree2708491f02c795e429a65713e51c466ddf016565 /gdb/stack.c
parent060d22b0d0cbc7786f83c236ed9812343530dc80 (diff)
downloadgdb-a728f04251098dd0e74a2aea1e4d8e841e7fb404.zip
gdb-a728f04251098dd0e74a2aea1e4d8e841e7fb404.tar.gz
gdb-a728f04251098dd0e74a2aea1e4d8e841e7fb404.tar.bz2
Eliminate ARCH_NUM_REGS.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c2
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)
{