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: [V4 00/21] Fortran dynamic array support


On Sun, 04 Sep 2016 19:14:53 +0200, Jan Kratochvil wrote:
> On Fri, 02 Sep 2016 15:44:15 +0200, Bernhard Heckel wrote:
> > dynamic properties in GDB is done via CORE_ADDR which is unsigned.
> > This causes the issue that the type length seems to be way to big.
> 
> Maybe that explains also a regression visible only on i686 (32-bit host).
> It still PASSes on x86_64 (64-bit host) with either native od 32-bit inferior
> (-m32):
> 
> The length is bogus (it is %rax or %eax) but it should be some number.
> 
> i686:
> ptype reg_string^M
> type = char [variable length]^M
>              ^^^^^^^^^^^^^^^
> (gdb) FAIL: gdb.dwarf2/dw2-bound-loclist.exp: ptype reg_string
> p reg_string^M
> Insufficient memory in host GDB for object of size 4160138653 bytes, maximum allowed 536870911 bytes.^M
> 
> x86_64 or x86_64 -m32:
> ptype reg_string^M
> type = char [4160048541]^M
> (gdb) PASS: gdb.dwarf2/dw2-bound-loclist.exp: ptype reg_string

Confirming also this specific issue got fixed today, great!


Thanks,
Jan


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