arrayidx.exp failures
Daniel Jacobowitz
drow@false.org
Fri Oct 13 04:39:00 GMT 2006
On Thu, Oct 12, 2006 at 07:38:39PM -0700, Joel Brobecker wrote:
> In terms of why it fails for you, it is probably because of something
> else. I will guess that you are missing some parts of the encodings
> necessary to complete the decoding of the array. The encoding is
> documented in ada/exp_dbug.ads of GCC. So I'm guessing a malfunction
> of GCC rather than a possible bug in GDB.
FYI, Joel, I have no idea what compilers you test with - but half of
the Ada tests in the GDB testsuite have never passed for me with FSF
gnat, at least 4.0 and 4.1, and possibly 3.4 too.
FAIL: gdb.ada/arrayidx.exp: print e_one_two_three, indexes off
FAIL: gdb.ada/arrayidx.exp: print r_two_three, indexes off
FAIL: gdb.ada/arrayidx.exp: print u_one_two_three, indexes off
FAIL: gdb.ada/arrayidx.exp: print p_one_two_three, indexes off
FAIL: gdb.ada/arrayidx.exp: print e_one_two_three
FAIL: gdb.ada/arrayidx.exp: print r_two_three
FAIL: gdb.ada/arrayidx.exp: print u_one_two_three
FAIL: gdb.ada/arrayidx.exp: print p_one_two_three
FAIL: gdb.ada/null_record.exp: ptype on null record
FAIL: gdb.ada/packed_array.exp: print var
print e_one_two_three
$2 = (0 => 1, 2, 3)
(gdb) FAIL: gdb.ada/arrayidx.exp: print e_one_two_three, indexes off
print r_two_three
$3 = (2, 3)
(gdb) FAIL: gdb.ada/arrayidx.exp: print r_two_three, indexes off
print u_one_two_three
No definition of "u_one_two_three" in current context.
(gdb) FAIL: gdb.ada/arrayidx.exp: print u_one_two_three, indexes off
print p_one_two_three
$4 = warning: could not find bounds information on packed array
can't unpack array
(gdb) FAIL: gdb.ada/arrayidx.exp: print p_one_two_three, indexes off
print e_one_two_three
$9 = (0 => 1, 1 => 2, 2 => 3)
(gdb) FAIL: gdb.ada/arrayidx.exp: print e_one_two_three
print r_two_three
$10 = (1 => 2, 2 => 3)
(gdb) FAIL: gdb.ada/arrayidx.exp: print r_two_three
print u_one_two_three
No definition of "u_one_two_three" in current context.
(gdb) FAIL: gdb.ada/arrayidx.exp: print u_one_two_three
print p_one_two_three
$11 = warning: could not find bounds information on packed array
can't unpack array
(gdb) FAIL: gdb.ada/arrayidx.exp: print p_one_two_three
ptype empty
type = function return int
(gdb) FAIL: gdb.ada/null_record.exp: ptype on null record
(gdb) print var
$1 = warning: could not find bounds information on packed array
can't unpack array
(gdb) FAIL: gdb.ada/packed_array.exp: print var
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb-patches
mailing list