diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-03-13 23:31:14 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-03-13 23:31:14 +0000 |
commit | a728f04251098dd0e74a2aea1e4d8e841e7fb404 (patch) | |
tree | 2708491f02c795e429a65713e51c466ddf016565 /gdb/tui/tuiRegs.c | |
parent | 060d22b0d0cbc7786f83c236ed9812343530dc80 (diff) | |
download | gdb-a728f04251098dd0e74a2aea1e4d8e841e7fb404.zip gdb-a728f04251098dd0e74a2aea1e4d8e841e7fb404.tar.gz gdb-a728f04251098dd0e74a2aea1e4d8e841e7fb404.tar.bz2 |
Eliminate ARCH_NUM_REGS.
Diffstat (limited to 'gdb/tui/tuiRegs.c')
-rw-r--r-- | gdb/tui/tuiRegs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/tui/tuiRegs.c b/gdb/tui/tuiRegs.c index b0f55ef..b3ec49b 100644 --- a/gdb/tui/tuiRegs.c +++ b/gdb/tui/tuiRegs.c @@ -717,7 +717,7 @@ _tuiSetSpecialRegsContent (refreshValuesOnly) endRegNum = FP0_REGNUM - 1; #if 0 endRegNum = (-1); - for (i = START_SPECIAL_REGS; (i < ARCH_NUM_REGS && endRegNum < 0); i++) + for (i = START_SPECIAL_REGS; (i < NUM_REGS && endRegNum < 0); i++) if (TYPE_CODE (REGISTER_VIRTUAL_TYPE (i)) == TYPE_CODE_FLT) endRegNum = i - 1; #endif @@ -750,7 +750,7 @@ _tuiSetGeneralAndSpecialRegsContent (refreshValuesOnly) endRegNum = FP0_REGNUM - 1; #if 0 endRegNum = (-1); - for (i = 0; (i < ARCH_NUM_REGS && endRegNum < 0); i++) + for (i = 0; (i < NUM_REGS && endRegNum < 0); i++) if (TYPE_CODE (REGISTER_VIRTUAL_TYPE (i)) == TYPE_CODE_FLT) endRegNum = i - 1; #endif @@ -781,12 +781,12 @@ _tuiSetFloatRegsContent (dpyType, refreshValuesOnly) startRegNum = FP0_REGNUM; #if 0 startRegNum = (-1); - for (i = ARCH_NUM_REGS - 1; (i >= 0 && startRegNum < 0); i--) + for (i = NUM_REGS - 1; (i >= 0 && startRegNum < 0); i--) if (TYPE_CODE (REGISTER_VIRTUAL_TYPE (i)) != TYPE_CODE_FLT) startRegNum = i + 1; #endif ret = _tuiSetRegsContent (startRegNum, - ARCH_NUM_REGS - 1, + NUM_REGS - 1, selected_frame, dpyType, refreshValuesOnly); |