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: Sun, 21 Aug 2016 19:03:46 +0200
- Subject: Re: [V4 00/21] Fortran dynamic array support
- Authentication-results: sourceware.org; auth=none
- References: <88072818E0A3D742B2B1AF16BBEC65A7263D990E@IRSMSX107.ger.corp.intel.com> <20160714182743.GA10672@host1.jankratochvil.net> <88072818E0A3D742B2B1AF16BBEC65A7263E6F2E@IRSMSX107.ger.corp.intel.com> <20160715091352.GA8059@host1.jankratochvil.net> <88072818E0A3D742B2B1AF16BBEC65A7263E8FD9@IRSMSX107.ger.corp.intel.com> <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>
On Fri, 19 Aug 2016 11:58:09 +0200, Bernhard Heckel wrote:
> here is the missing patch in your environment.
> https://sourceware.org/ml/gdb-patches/2015-01/msg00385.html
> This patch handles strides in DWARF and your fortran program.
OK, thanks, it does fix:
-FAIL: gdb.fortran/dynamic.exp: p varw filled
+PASS: gdb.fortran/dynamic.exp: p varw filled
-FAIL: gdb.fortran/vla-stride.exp: print odd-elements
+PASS: gdb.fortran/vla-stride.exp: print odd-elements
-FAIL: gdb.fortran/vla-stride.exp: print last odd-element
+PASS: gdb.fortran/vla-stride.exp: print last odd-element
Although it regresses:
print pvla^M
-$7 = (5)^M
-(gdb) PASS: gdb.fortran/vla-stride.exp: print single-element
+value requires 4294967288 bytes, which is more than max-value-size^M
+(gdb) FAIL: gdb.fortran/vla-stride.exp: print single-element
-$8 = 5^M
-(gdb) PASS: gdb.fortran/vla-stride.exp: print one single-element
+Insufficient memory in host GDB for object of size 4294967288 bytes, maximum allowed 536870911 bytes.^M
+(gdb) FAIL: gdb.fortran/vla-stride.exp: print one single-element
> I will create a branch about all stride patches in the next weeks.
That would be probably best, thanks.
Jan