target/arm/helper.c: Delete stray obsolete comment
PATCH 1/1 target/arm/helper.c: Delete stray obsolete comment
In commit 88ce6c6ee85d 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.
--- target/arm/helper.c | 1 - 1 file changed, 1 deletion(-)
target/arm/helper.c +0 -1
@@ -6529,7 +6529,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);
Signature · 1 line
2.25.1
Quoted 9 lines · Peter Maydell
In commit
88ce6c6ee85dwe 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 indefine_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 <[email protected]>Signed-off-by Peter Maydell <[email protected]>
Signature · 1 line
Alex Bennée
Quoted 7 lines · Peter Maydell
In commit
88ce6c6ee85dwe 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 indefine_debug_regs()about the relation between the ID field value and the actual number of breakpoints and watchpoints. Delete the obsolete comment.
Quoted 5 lines
Reported-by CHRIS HOWARD<[email protected]>Signed-off-by Peter Maydell<[email protected]>--- target/arm/helper.c | 1 - 1 file changed, 1 deletion(-)
r~