This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] proper display of reference type
- From: Daniel Jacobowitz <drow at false dot org>
- To: Thomas Richter <thor at mail dot math dot tu-berlin dot de>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 3 Sep 2007 16:57:41 -0400
- Subject: Re: [patch] proper display of reference type
- References: <200708291541.l7TFfYRX018966@mersenne.math.tu-berlin.de>
On Wed, Aug 29, 2007 at 05:41:34PM +0200, Thomas Richter wrote:
> Hi folks,
>
> the following patch fixes the display of reference types, e.g. selects
> the proper default layout for their display. This problem has been reported
> twice already (*sigh*) and is still open....
>
> It has to be applied to gdb/printcmd.c.
I don't get it. Why is this the right thing for references? If an
explicit format is specified for the reference we print the value of
the reference (not the referenced value) in that format.
Please give me an example of what this changes.
--
Daniel Jacobowitz
CodeSourcery