This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[0/5] FYI: various val_print cleanups
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 01 Mar 2012 12:08:34 -0700
- Subject: [0/5] FYI: various val_print cleanups
I have been looking into changing the val_print hierarchy to use values
rather than pass around what amounts to deconstructed values. This is
one prerequisite (of many) to rewriting Jan's VLA patches, and it helps
enforce the struct value abstraction barrier.
While working on this I noticed various existing oddities with
val_print: the functions return values that are never used, and there is
a lot of code duplication in the various language implementations.
This series cleans up these issues.
Tom