public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug dap/30471] New: Clean up DAP breakpoint reporting
@ 2023-05-19 14:51 tromey at sourceware dot org
2023-06-14 16:27 ` [Bug dap/30471] " tromey at sourceware dot org
2023-12-12 14:58 ` tromey at sourceware dot org
0 siblings, 2 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2023-05-19 14:51 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30471
Bug ID: 30471
Summary: Clean up DAP breakpoint reporting
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: dap
Assignee: unassigned at sourceware dot org
Reporter: tromey at sourceware dot org
Target Milestone: ---
DAP says that stop events should differentiate between:
reason: 'step' | 'breakpoint' | 'exception' | 'pause' | 'entry' | 'goto'
| 'function breakpoint' | 'data breakpoint' | 'instruction breakpoint'
| string;
Currently this isn't done.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug dap/30471] Clean up DAP breakpoint reporting
2023-05-19 14:51 [Bug dap/30471] New: Clean up DAP breakpoint reporting tromey at sourceware dot org
@ 2023-06-14 16:27 ` tromey at sourceware dot org
2023-12-12 14:58 ` tromey at sourceware dot org
1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2023-06-14 16:27 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30471
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
I wonder if this is important at all.
Multiple kinds of breakpoints could exist at a given location.
So, differentiating that way doesn't always make sense; and anyway
the stop event will hold the breakpoint IDs.
For this case:
elif _expected_stop is None:
# FIXME what is even correct here
_expected_stop = StopKinds.EXCEPTION
... maybe what we want is bug#13587, so we can report gdb's stop
reason. This seems fine due to that "| string" clause at the
end of the "reason" description.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug dap/30471] Clean up DAP breakpoint reporting
2023-05-19 14:51 [Bug dap/30471] New: Clean up DAP breakpoint reporting tromey at sourceware dot org
2023-06-14 16:27 ` [Bug dap/30471] " tromey at sourceware dot org
@ 2023-12-12 14:58 ` tromey at sourceware dot org
1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2023-12-12 14:58 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30471
--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
https://microsoft.github.io/debug-adapter-protocol/specification#Events_Stopped
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-12-12 14:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-19 14:51 [Bug dap/30471] New: Clean up DAP breakpoint reporting tromey at sourceware dot org
2023-06-14 16:27 ` [Bug dap/30471] " tromey at sourceware dot org
2023-12-12 14:58 ` tromey at sourceware dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).