This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Testsuite failure (mi-var-child-f.exp)
- From: Nick Roberts <nickrob at snap dot net dot nz>
- To: gdb at sourceware dot org
- Date: Tue, 31 Oct 2006 21:43:58 +1300
- Subject: Testsuite failure (mi-var-child-f.exp)
I get the following fail:
Running /home/nickrob/src/gdb/testsuite/gdb.mi/mi-var-child-f.exp ...
FAIL: gdb.mi/mi-var-child-f.exp: create local variable array
FAIL: gdb.mi/mi-var-child-f.exp: get children of array
FAIL: gdb.mi/mi-var-child-f.exp: get grandchildren of array (children of first element of second index)
=== gdb Summary ===
# of expected passes 2
# of unexpected failures 3
/home/nickrob/src/gdb/testsuite/../../gdb/gdb version 6.5.50.20061029-cvs -nx
I didn't see this before because when I ran the testsuite it was untested
as array.f couldn't compile. I have no file called g77 and perhaps others
don't too. Should runtest also look for gfortran now?
array.f (used by mi-var-child-f.exp) has the line:
DATA array/11,21,12,22,13,23/
In response to:
-var-create - * array
I now get (gfortran):
^done,name="var1",numchild="6",type="int4 (0:5)"
when I used to get (g77):
^done,name="var1",numchild="3",type="int4 (2,-1:1)"
I'm pretty sure this is a problem with gfortran (incorrect DWARF output
or something) as it also happens with gfortran and an old GDB.
So that I'm not told it's a GDB issue by gfortran developers, can someone
on this list identify exactly what the problem is please?
--
Nick http://www.inet.net.nz/~nickrob