This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: MI: type prefixes for values [PATCH]
- From: Daniel Jacobowitz <drow at false dot org>
- To: Nick Roberts <nickrob at snap dot net dot nz>
- Cc: Vladimir Prus <ghost at cs dot msu dot su>, gdb-patches at sources dot redhat dot com
- Date: Sun, 4 Feb 2007 09:16:13 -0500
- Subject: Re: MI: type prefixes for values [PATCH]
- References: <20060317191207.GA19068@nevyn.them.org> <dvliph$urc$1@sea.gmane.org> <20060324030332.GB2853@nevyn.them.org> <e00anu$f6m$1@sea.gmane.org> <20060324202056.GA26748@nevyn.them.org> <e12k8s$dci$1@sea.gmane.org> <e2scu2$vvn$1@sea.gmane.org> <20060505192535.GM31029@nevyn.them.org> <20060515165354.GG28924@nevyn.them.org> <17860.7702.941611.6892@kahikatea.snap.net.nz>
On Sat, Feb 03, 2007 at 06:31:02PM +1300, Nick Roberts wrote:
> Here's a patch which got a bit lost in the mists of time. No regressions.
> 2007-02-03 Nick Roberts <nickrob@snap.net.nz>
>
> * mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print
> instead of print_variable_value to print values.
Sorry about losing this. The patch is OK; if you have a chance to add
a test for printing references, that would be nice too.
> ! struct value *val;
> ! if (values != PRINT_NO_VALUES)
Looks like you added a space before the tab on that line? Please fix
before commit. Thanks.
--
Daniel Jacobowitz
CodeSourcery