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: [PATCH] New maintenance print typechain command.


On Sun, Apr 08, 2007 at 06:51:46PM +0000, lode lathouwers wrote:
> Why can't you get what you need from 'info types'? 
>     Info types does not show complete struct declarations (fields are not shown) Also it gives ALL type names, 
>     while I only want to explore/print a few + their downward dependancies.
> 

So what you want is the output of ptype for a bunch of different
types, but you don't know in advance which.  I think we should wait a
little while; our plan for this year (well, my plan anyway) is to add
Python scripting support to GDB, and that will be powerful enough to
do this.  I don't think the command will be widely enough useful to
implement it in GDB proper.

Once we have Python support, though, we should include a directory of
contributed and example scripts - this would be a great start for that.

(I'm planning to work on this starting in a month or so.)

-- 
Daniel Jacobowitz
CodeSourcery


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