This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Small fix for assigning values to vectors
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