Skip to content

Commit

Permalink
target/arm/helper.c: Delete stray obsolete comment
Browse files Browse the repository at this point in the history
In commit 88ce6c6 we switched from directly fishing the number
of breakpoints and watchpoints out of the ID register fields to
abstracting out functions to do this job, but we forgot to delete the
now-obsolete comment in define_debug_regs() about the relation
between the ID field value and the actual number of breakpoints and
watchpoints.  Delete the obsolete comment.

Reported-by: CHRIS HOWARD <cvz185@web.de>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220513131801.4082712-1-peter.maydell@linaro.org
  • Loading branch information
pm215 committed May 19, 2022
1 parent 6e76d35 commit 1a13efc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion target/arm/helper.c
Expand Up @@ -6540,7 +6540,6 @@ static void define_debug_regs(ARMCPU *cpu)
define_one_arm_cp_reg(cpu, &dbgdidr);
}

/* Note that all these register fields hold "number of Xs minus 1". */
brps = arm_num_brps(cpu);
wrps = arm_num_wrps(cpu);
ctx_cmps = arm_num_ctx_cmps(cpu);
Expand Down

0 comments on commit 1a13efc

Please sign in to comment.