|
From: | Richard Henderson |
Subject: | Re: [PATCH v2 10/10] accel/tcg: Encode breakpoint info into tb->cflags |
Date: | Sat, 17 Jul 2021 12:20:42 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 7/17/21 10:58 AM, Peter Maydell wrote:
+static uint32_t cflags_for_breakpoints(CPUState *cpu, target_ulong pc, + uint32_t cflags) +{ + uint32_t bflags = 0; + + if (unlikely(cpu->singlestep_enabled)) { + bflags = CF_BP_SSTEP; + } else {Won't this ignore breakpoints when singlestepping ?
Single-step already has priority over other breakpoints:
/* Pass breakpoint hits to target for further processing */ - if (!db->singlestep_enabled - && unlikely(!QTAILQ_EMPTY(&cpu->breakpoints))) {
r~
[Prev in Thread] | Current Thread | [Next in Thread] |