This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: more detailed type information
- From: Daniel Jacobowitz <drow at false dot org>
- To: Greg Watson <g dot watson at computer dot org>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 28 Mar 2006 17:36:09 -0500
- Subject: Re: RFC: more detailed type information
- References: <A5CB13EC-09DC-41C3-80E1-87F215154C54@computer.org>
On Thu, Mar 09, 2006 at 12:49:23PM -0700, Greg Watson wrote:
> I'm using Eclipse as a front-end for gdb, but I need to be able to
> get more detailed type information than is currently possible. This
> is required in order to provide more sophisticated functionality than
> just displaying the type and value as strings.
Hi Greg,
Can you be a little more detailed about what you need from GDB?
There've been several mentions of this functionality recently,
and I'm nearly positive that Apple's GDB supports something similar,
so it's clearly a good idea. However, what you have is a very thin
layer around GDB's type system, which makes it hard to change the type
system at all without simultaneously changing the MI interface. I'd
like to know what information is really useful.
With C, of course, it doesn't much matter: the underlying type system
can be simple because the language type system is simple. But with
other supported languages this can be much harder.
And, no offense, but the ref=/seen= interface is nasty! Maybe we
should give types session UIDs.
--
Daniel Jacobowitz
CodeSourcery