This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [pushed/ob] Constify value_cstring


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]