This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [pushed/ob] Constify value_cstring
- From: Pedro Alves <palves at redhat dot com>
- To: Simon Marchi <simon dot marchi at ericsson dot com>, gdb-patches at sourceware dot org
- Date: Wed, 18 Nov 2015 16:40:59 +0000
- Subject: Re: [pushed/ob] Constify value_cstring
- Authentication-results: sourceware.org; auth=none
- References: <1447862472-3721-1-git-send-email-palves at redhat dot com> <564CA588 dot 3030308 at ericsson dot com>
On 11/18/2015 04:21 PM, Simon Marchi wrote:
> I pushed this one as well...
Nice, thanks!
>
>
> From 7cc3f8e23b5c19a50722adefce986230b191e9cd Mon Sep 17 00:00:00 2001
> From: Simon Marchi <simon.marchi@ericsson.com>
> Date: Wed, 18 Nov 2015 11:20:22 -0500
> Subject: [PATCH] Constify value_string
>
> If we constify value_cstring, we might as well constify this one.
>
> gdb/ChangeLog:
>
> * valops.c (value_string): Constify 'ptr' parameter.
> * value.h (value_string): Constify 'ptr' parameter.
Thanks,
Pedro Alves