Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Bob Rossi <bob@brasko.net>
To: Nick Roberts <nickrob@snap.net.nz>, gdb-patches@sources.redhat.com
Subject: Re: [PATCH] Hooks still needed for annotations
Date: Wed, 15 Jun 2005 15:52:00 -0000	[thread overview]
Message-ID: <20050615155248.GC20778@white> (raw)
In-Reply-To: <20050613031400.GF9288@nevyn.them.org>

On Sun, Jun 12, 2005 at 11:14:00PM -0400, Daniel Jacobowitz wrote:
> On Sat, Jun 04, 2005 at 09:02:28AM -0400, Bob Rossi wrote:
> > On Fri, Jun 03, 2005 at 07:59:24PM -0400, Daniel Jacobowitz wrote:
> > > 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.
> > 
> > I hope that the annotations can stay until Nick and I, along with the
> > Apple and Eclipse people think that the MI is stable and ready for use.
> 
> This bit has some logical sense on its own, but not in your examples.
> Eclipse uses a hybrid GDB/CLI implementation - but not annotations (as
> far as I know, anyway)!  Apple uses a patched GDB with substantially
> different MI behavior - but not annotations (again, AFAIK)!

Hi Daniel,

Yes, you are right. I suppose the point I was trying to get across was
that GDB/MI is very good, but just not ready full time ready on it's
own. (Which we are changing rapidly)

> Feel free to correct me if I'm wrong, but those are not compelling
> examples of why yet another output format should stick around.  The
> fact that you and Nick are using them is a more compelling reason.

I agree with you.

> > Also, I think it's reasonable to say that GDB should have a parser that
> > FE's can use. The only way to have a parser that can be tested properly
> > is to allow it to be packaged and tested in GDB's testsuite. Otherwise,
> > if the annotations are removed, FE's like GVD, XXGDB, DDD, KGDB, ...
> > are either going to "go the way of the bison" or they are going to have
> > to write code that handles GDB/MI. Do we really want 5-10 GDB/MI
> > parser's out there (each with there own bugs)?
> 
> This is also unrelated to the removal of annotations.

I think that this could be related (although not a prerequisite) to the 
removal of annotations. Only in the sense that the annotations should 
stay until GDB/MI is fully mature. I do see your point though, I just 
have different motivations than you (I think).

> I don't much think a parser is GDB's responsibility.  Offering one as a
> convenience, sure, maybe.  Note that a lot of frontends won't get to
> use it anyway!  If we ship it with GDB, then it's going to be covered
> under the GPL.

Well, could I maintain a copy under the LGPL, and then contribute all of
the modifications to the FSF GDB under the GPL?

Either way, I don't care much about commercial tools. If a good parser
is created, I think it's possible a lot of front ends will use it. For
instance, KGDB, DDD and GVD are all free projects that could benefit
from such a technology. Right?

> > > - 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.
> > 
> > It fits much nicer into the asyncronous case that nick posted. If
> > we want to make it syncronous then I think there would have to be a
> > change to the MI protocol.
> > 
> > output ==>
> >     ( out-of-band-record )* [ result-record ] [ status-update ] "(gdb)" nl 
> 
> Maybe it will need a format change.  But, guess what, it is still not
> an asynchronous event.  We don't have a comprehensive story in place
> for this sort of response yet.

Yes, agreed.

Thanks,
Bob Rossi


  reply	other threads:[~2005-06-15 15:52 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
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 [this message]
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=20050615155248.GC20778@white \
    --to=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