[sim] Rename local variable in ARMul_NthReg

Rename local variable in ARMul_NthReg from upto to up_to, to avoid being
rewritten by gdb/contrib/spellcheck.sh.

Approved-By: Tom Tromey <tom@tromey.com>
This commit is contained in:
Tom de Vries
2024-11-23 13:07:38 +01:00
parent 60d465be9d
commit 8dfa29fcbd

View File

@@ -388,11 +388,11 @@ ModeToBank (ARMword mode)
unsigned unsigned
ARMul_NthReg (ARMword instr, unsigned number) ARMul_NthReg (ARMword instr, unsigned number)
{ {
unsigned bit, upto; unsigned bit, up_to;
for (bit = 0, upto = 0; upto <= number; bit ++) for (bit = 0, up_to = 0; up_to <= number; bit ++)
if (BIT (bit)) if (BIT (bit))
upto ++; up_to ++;
return (bit - 1); return (bit - 1);
} }