This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: more detailed type information


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]