From: Tom de Vries Date: Sat, 23 Nov 2024 12:07:38 +0000 (+0100) Subject: [sim] Rename local variable in ARMul_NthReg X-Git-Tag: gdb-16-branchpoint~342 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8dfa29fcbd60bead4d67569bd14c818540959130;p=thirdparty%2Fbinutils-gdb.git [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 --- diff --git a/sim/arm/armsupp.c b/sim/arm/armsupp.c index 1a5eeaff1d6..9fcc7f646fa 100644 --- a/sim/arm/armsupp.c +++ b/sim/arm/armsupp.c @@ -388,11 +388,11 @@ ModeToBank (ARMword mode) unsigned 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)) - upto ++; + up_to ++; return (bit - 1); }