This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] New maintenance print typechain command.
- From: Daniel Jacobowitz <drow at false dot org>
- To: lode lathouwers <lathouwers_lode at yahoo dot co dot uk>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 10 Apr 2007 10:02:54 -0400
- Subject: Re: [PATCH] New maintenance print typechain command.
- References: <108445.72375.qm@web28004.mail.ukl.yahoo.com>
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