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: [patch 2/2] Multi-dimensional arrays issue (PR fortran/11104)


On Tue, 11 Jan 2011 17:50:35 +0100, Tom Tromey wrote:
> I read this and at least the parts that I understood make sense to me :)
> I think you should go ahead with it.

I was thinking that even with the patch 1/2 there is a memory requirements
regression:

If you have a value containing the array (such as $var) it is not lazy.  The
new code will create the memory copies of the intermediate array subsections.
The current FSF GDB code did not.

But in practice I do not think it is a problem as there is already a problem
if one attempts to copy a huge array into an internal variable.  And in most
cases the value is lazy which is OK.


Thanks,
Jan


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