From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9344 invoked by alias); 10 Jul 2010 15:39:19 -0000 Received: (qmail 9335 invoked by uid 22791); 10 Jul 2010 15:39:19 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 10 Jul 2010 15:39:14 +0000 Received: (qmail 1761 invoked from network); 10 Jul 2010 15:39:12 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 10 Jul 2010 15:39:12 -0000 Date: Sat, 10 Jul 2010 15:39:00 -0000 From: Daniel Jacobowitz To: Ken Werner Cc: Ulrich Weigand , gdb-patches@sourceware.org Subject: Re: [patch] Small fix for assigning values to vectors Message-ID: <20100710153908.GE8410@caradoc.them.org> References: <201007091312.o69DC1TX013390@d12av02.megacenter.de.ibm.com> <201007101503.54109.ken@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201007101503.54109.ken@linux.vnet.ibm.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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 X-SW-Source: 2010-07/txt/msg00196.txt.bz2 On Sat, Jul 10, 2010 at 03:03:53PM +0200, Ken Werner wrote: > But while we are at it. Are there any objections on copying the contents to > the destination instead of creating a pointer? I think we're going a bit too far now, and maybe we need to figure out what the semantics of internalvars are supposed to be... With this, IIUC, "set $internalvar = program_array" is going to read the whole array. Previously, it would decay to a pointer as in C. -- Daniel Jacobowitz CodeSourcery