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)


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

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

One way we could try to solve our problems with very large arrays is to
support partially read in values using lval_funcs, sort of like we do
for optimized out pieces.  We could just read the bits we actually use
in some way.  I think this isn't quite as simple as optimized out
pieces, though, because we'd have to change GDB to recognize that a
value's contents may come in segments.

Tom


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