Re: [pushed/ob] Constify value_cstring

Pedro Alves
2015-11-18T16:41:05Z

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