This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [V4 00/21] Fortran dynamic array support
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Bernhard Heckel <bernhard dot heckel at intel dot com>
- Cc: "Weinmann, Christoph T" <christoph dot t dot weinmann at intel dot com>, gdb-patches at sourceware dot org
- Date: Wed, 7 Sep 2016 22:24:10 +0200
- Subject: Re: [V4 00/21] Fortran dynamic array support
- Authentication-results: sourceware.org; auth=none
- References: <20160716151310.GA14331@host1.jankratochvil.net> <20160716151837.GA797@host1.jankratochvil.net> <88072818E0A3D742B2B1AF16BBEC65A7263F0988@IRSMSX107.ger.corp.intel.com> <20160816135920.GA26624@host1.jankratochvil.net> <57B6D831.4080605@intel.com> <20160821170346.GA21909@host1.jankratochvil.net> <57BC50D1.4020102@intel.com> <20160825170626.GA29717@host1.jankratochvil.net> <57C9822F.1020800@intel.com> <20160904171453.GA1069@host1.jankratochvil.net>
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