From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100552 invoked by alias); 18 Nov 2015 16:41:05 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 100352 invoked by uid 89); 18 Nov 2015 16:41:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 18 Nov 2015 16:41:02 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 3AB39A0E75; Wed, 18 Nov 2015 16:41:01 +0000 (UTC) Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tAIGexmX025900; Wed, 18 Nov 2015 11:41:00 -0500 Message-ID: <564CAA1B.4060905@redhat.com> Date: Wed, 18 Nov 2015 16:41:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Simon Marchi , gdb-patches@sourceware.org Subject: Re: [pushed/ob] Constify value_cstring References: <1447862472-3721-1-git-send-email-palves@redhat.com> <564CA588.3030308@ericsson.com> In-Reply-To: <564CA588.3030308@ericsson.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2015-11/txt/msg00370.txt.bz2 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 > 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