From: Daniel Jacobowitz <drow@false.org>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: Bob Rossi <bob@brasko.net>, gdb-patches@sources.redhat.com
Subject: Re: [PATCH] Hooks still needed for annotations
Date: Fri, 03 Jun 2005 23:59:00 -0000 [thread overview]
Message-ID: <20050603235923.GA9992@nevyn.them.org> (raw)
In-Reply-To: <17056.56022.36723.292491@farnswood.snap.net.nz>
On Sat, Jun 04, 2005 at 10:33:58AM +1200, Nick Roberts wrote:
>
> > > I don't currently use breakpoints-invalid but I might wish to at one
> > > stage. I want to ensure that annotations aren't quietly removed by
> > > dismantling them bit by bit.
> >
> > If that's what you want to accomplish, your patch should include test
> > cases for these annotations. Otherwise they're likely to be "cleaned
> > up". Also, please do not comment out code; if it's wrong, it should be
> > deleted.
>
> I left the comment there to try to prevent them being removed again. If
> I remove then I would also like to remove the deprecated prefix for the
> two hooks.
They are deprecated. I believe there's a clear consensus that the
entire annotation system is going to go, and in the near future. Just
not yet.
The way to prevent them from being removed again is to add test cases.
> The point about keeping them is that they can be used for event notification
> in MI (Tue, 8 Feb 2005 10:14:31 +1300).
>
> Th manual says:
>
> > `ASYNC-CLASS ==>'
> > `"stopped" | OTHERS' (where OTHERS will be added depending on the
> > needs--this is still in development).
>
> I do not have enough knowldege of GDB to work out when breakpoint information
> changes in the code. So I would like to use the calls to breakpoints_changed
> (breakpoints-invalid) to do this and generate MI output:
>
> =breakpoint-changed,BreakpointTable={nr_rows...
I don't know enough about MI yet to know if this is the right way to do
that. I don't think it is.
- Certainly we should not be outputting the whole breakpoint table.
We'd want a way to represent the changes.
- Breakpoints changing is not an asynchronous event. Stopped is an
async event; breakpoint-deleted is a synchronous event, even if it
comes from the user typing in a console window.
--
Daniel Jacobowitz
CodeSourcery, LLC
next prev parent reply other threads:[~2005-06-03 23:59 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-01 7:15 Nick Roberts
2005-06-01 11:30 ` Bob Rossi
2005-06-01 21:31 ` Nick Roberts
2005-06-03 19:09 ` Daniel Jacobowitz
2005-06-03 22:35 ` Nick Roberts
2005-06-03 23:59 ` Daniel Jacobowitz [this message]
2005-06-04 3:19 ` Nick Roberts
2005-07-03 17:03 ` Daniel Jacobowitz
2005-07-03 22:13 ` Nick Roberts
2005-07-03 22:44 ` Daniel Jacobowitz
2005-06-04 13:02 ` Bob Rossi
2005-06-13 3:14 ` Daniel Jacobowitz
2005-06-15 15:52 ` Bob Rossi
2005-06-15 16:07 ` Daniel Jacobowitz
2005-06-15 16:31 ` Bob Rossi
2005-07-03 16:45 ` Daniel Jacobowitz
2005-06-15 23:07 ` Nick Roberts
2005-06-15 23:29 ` Bob Rossi
2005-07-01 0:21 ` Bob Rossi
2005-07-01 1:18 ` Nick Roberts
2005-06-06 21:57 ` Nick Roberts
2005-06-10 2:26 ` Bob Rossi
2005-06-10 3:25 ` Nick Roberts
2005-06-15 15:24 ` Bob Rossi
2005-06-15 21:38 ` Nick Roberts
2005-06-15 22:58 ` Bob Rossi
2005-07-03 16:39 ` Daniel Jacobowitz
2005-07-06 15:03 ` Bob Rossi
2005-07-15 0:03 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050603235923.GA9992@nevyn.them.org \
--to=drow@false.org \
--cc=bob@brasko.net \
--cc=gdb-patches@sources.redhat.com \
--cc=nickrob@snap.net.nz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox