From: "Ryan C. Gordon" <icculus@icculus.org>
To: Thiago Jung Bauermann <bauerman@br.ibm.com>
Cc: Daniel Jacobowitz <drow@false.org>, gdb-patches@sourceware.org
Subject: Re: Data plugins for gdb...
Date: Fri, 08 Aug 2008 05:10:00 -0000 [thread overview]
Message-ID: <489BD504.7060108@icculus.org> (raw)
In-Reply-To: <1218169143.11103.30.camel@localhost.localdomain>
> Heh, been there, done that. :-)
I just discovered this. :)
Maybe that's the danger of DVCS...I pulled gdb into a Mercurial
repository, the Python stuff is in a git repo, and no hint of this was
in the main CVS when I looked to see if anyone else had done this.
The lesson here is probably "check the mailing list archives first."
> An alternative would be to add a new element to struct type pointing to
> its pretty-printer (if any). I think this would be better, because then
> you can be very specific about exactly which type you want to associate
> with your semantically helpful visualizer. Think lookup_typename here,
> which looks up a type within a lexical block (at least that's what its
> description says).
I think that's a good idea. I was concerned about variations ("struct A"
in C code vs "A" in C++, not to mention the usual template and namespace
madness, non-C languages, etc).
My patch was just experimenting to see what could be done, and I was
pretty pleased at how well I could hook in without any prior
understanding of the gdb code. I'll take a look at the Python work.
Thanks,
--ryan.
prev parent reply other threads:[~2008-08-08 5:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-07 23:24 Ryan C. Gordon
2008-08-08 0:31 ` Daniel Jacobowitz
2008-08-08 4:20 ` Thiago Jung Bauermann
2008-08-08 5:10 ` Ryan C. Gordon [this message]
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=489BD504.7060108@icculus.org \
--to=icculus@icculus.org \
--cc=bauerman@br.ibm.com \
--cc=drow@false.org \
--cc=gdb-patches@sourceware.org \
/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