summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2024-04-27 12:42:43 -0400
committerMalfurious <m@lfurio.us>2024-04-27 12:42:43 -0400
commitb3adf1817b24bdcff3b2ecc1128ec5fa9e57fd23 (patch)
tree3d451d9ba46e33e24fb9ee34deaf1f51f8d27a77
parentc0a76847fbabd5742ec4b678b9588f394fbefc78 (diff)
downloadmisplays-b3adf1817b24bdcff3b2ecc1128ec5fa9e57fd23.tar.gz
misplays-b3adf1817b24bdcff3b2ecc1128ec5fa9e57fd23.zip
Show breakpoint limiters in the test UI
Display the value of active breakpoint threads, target stack frames, and enable status. Signed-off-by: Malfurious <m@lfurio.us>
-rw-r--r--misplays.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/misplays.c b/misplays.c
index 1ccf3d3..96a9150 100644
--- a/misplays.c
+++ b/misplays.c
@@ -44,10 +44,11 @@ static void list_breakpoints(struct thread *dbg, PANEL *pan) {
pprintw(pan, "---\n");
for (struct breakpoint *bp=breaks->head; bp!=breaks->end; bp=bp->next) {
- pprintw(pan, "0x%lx (%c) (%i) ",
+ pprintw(pan, "0x%lx (%c) (%i) stack=0x%lx tid=%lu enabled=%d",
bp->address,
(bp->installed ? '*' : ' '),
- bp->hits);
+ bp->hits,
+ bp->stack, bp->tid, bp->enabled);
}
pprintw(pan, "\n");
}