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


Greg Watson wrote:


>>> 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.

> Just a quick followup. I've taken a look at the Apple changes to the
> MI code. It appears they have (amongst other things)  added a
> 'typecode' value to the -var-create and -var-list-children commands.
> This typecode is a direct translation of the GDB typecode into a
> string (TYPE_CODE_ARRAY -> 'ARRAY', etc.), and would make it somewhat
> easier to obtain type information. It still necessitates many MI
> commands to obtain a complex type description, however, nor does it
> appear to be possible to obtain length and/or byte ordering information.
> 
> The additional level of information provided by Apple would
> definitely be beneficial, but for my purposes a recursive type
> description would still be the most preferable way to go.

I, too, would like such detailed information to be available. In fact, I've
asked for this too:

    http://sources.redhat.com/ml/gdb/2006-04/msg00016.html

Daniel, maybe you can follow up to that post of mine on main list, or
indicate what exactly do you want from this "MI type system" to be
accepted? As I understand, GDB type system is basically direct
representation of type system of languages it supports, so it's not likely
it will change any time soon.

- Volodya 


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