This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Simpler pretty printing API (gdb.printing helpers)
- From: Tom Tromey <tromey at redhat dot com>
- To: Andrew Oakley <andrew at ado dot is-a-geek dot net>
- Cc: <gdb at sourceware dot org>
- Date: Tue, 30 Aug 2011 14:22:48 -0600
- Subject: Re: Simpler pretty printing API (gdb.printing helpers)
- References: <20110825232515.1707ea1a@ado-gentoo>
>>>>> "Andrew" == Andrew Oakley <andrew@ado.is-a-geek.net> writes:
Andrew> I've got a couple of bits of code that I thought might be useful to add
Andrew> to gdb.printing. If there is agreement I can tidy up a bit for
Andrew> submission.
Andrew> I found myself writing lots of pretty printers that only wanted to
Andrew> accept one type of object, so I wrote a little function to register
Andrew> them:
[...]
Yeah, I think this sort of thing would be handy in gdb.printing.
Tom