This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 2/2] gdb-gdb.py: Print also the linked type structures
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 18 Jan 2010 09:49:10 +0400
- Subject: Re: [patch 2/2] gdb-gdb.py: Print also the linked type structures
- References: <20100115193205.GC4324@host0.dyn.jankratochvil.net>
> But it is true it prints maybe too much information this way. But IMO one
> needs to see it all anyway when examining such GDB type.
I think it's going to be a little bit too much output. I would personally
rather have to type a second "print_target type" where print_target is
a define for print *type.main_type.target_type.main_type, rather than
getting a couple of pages of output every time.
If the output from the pretty-printer was more compact, I would probably
think differently, though.
--
Joel