From: Daniel Jacobowitz <drow@false.org>
To: gdb-patches@sources.redhat.com
Subject: Re: [PATCH] Hooks still needed for annotations
Date: Sun, 03 Jul 2005 16:45:00 -0000 [thread overview]
Message-ID: <20050703164458.GC13811@nevyn.them.org> (raw)
In-Reply-To: <20050615163147.GD20778@white>
On Wed, Jun 15, 2005 at 12:31:47PM -0400, Bob Rossi wrote:
> Well, I already have planned a way to translate the parse tree into Tcl.
> I am going to walk the parse tree and then build up a Native Tcl parse
> tree using callbacks. By doing this, I can write testcase's in Tcl using
> the parse tree. This would really allow for a much higher level of testing.
> The ADA developers could use the exact same approach and it would be much
> more trivial for them to do so.
>
> I'm getting a vibe from you that you think writing a parser could be a
> bad idea. Do you really think that the community wouldn't embrace such a
> parser? The whole reason I decided to create it (or at least in the
> works) is because I was frustrated with the thought of writing yet
> another low level parser to parse the MI. I just wanted one that worked,
> and worked well. Even more than that, I wanted one that I didn't have to
> constantly maintain. I mean, Nick and I are already going to create
> two different parsers. As things evolve, and the parser's need to work
> with old versions of GDB, different bugs will pop up in each. I think
> this hurts GDB in the long run. I also firmly think that the
> only possible way to get a stable MI parser is to test it in GDB's
> testsuite.
In GDB's testsuite it tests against the current versions of GDB, so
obviously if you want it to work with old GDBs then that isn't enough
testing to be useful.
I don't much care whether you write a reusable parser or not. I'm
skeptical that it should be maintained as a part of the GDB
distribution, with the intention for other projects to import it from
GDB. If it's part of GDB, then it's going to be GPL, which will
restrict its use. If it's not part of GDB, then GDB developers aren't
going to update it. Pick your poison... I don't know which I think
would be a better idea, yet. I haven't thought about it much.
--
Daniel Jacobowitz
CodeSourcery, LLC
next prev parent reply other threads:[~2005-07-03 16:45 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
2005-06-15 16:07 ` Daniel Jacobowitz
2005-06-15 16:31 ` Bob Rossi
2005-07-03 16:45 ` Daniel Jacobowitz [this message]
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=20050703164458.GC13811@nevyn.them.org \
--to=drow@false.org \
--cc=gdb-patches@sources.redhat.com \
/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