Re: MI3 and async notifications
Jonah Graham <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <CAPmGMvg+oKYBkrOezbx1BimHew6uL6qyy=CNrXf7++FhRkis0Q@mail.gmail.com> |
On Mon, 17 Jun 2019 at 08:56, Joel Brobecker <[email protected]> wrote: > The part I don't understand is why it matters to sync the two. > For example, to allow program to update the UI element that represents a breakpoint. In CDT when a breakpoint is inserted in the UI and fails to be installed or is only pending the UI element is updated to display that fact. CDT maintains a map of UI elements to GDB instances+breakpoint numbers. That connection (UI element to breakpoint number) is made as result of the response to -break-insert. The UI elements are breakpoints in a table, or in the margin of an editor. Does that make sense?