From: Daniel Jacobowitz <drow@false.org>
To: Joel Brobecker <brobecker@adacore.com>
Cc: Nick Roberts <nickrob@snap.net.nz>, gdb-patches@sources.redhat.com
Subject: Re: arrayidx.exp failures
Date: Fri, 13 Oct 2006 04:39:00 -0000 [thread overview]
Message-ID: <20061013043855.GA28303@nevyn.them.org> (raw)
In-Reply-To: <20061013023839.GI1059@adacore.com>
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
next prev parent reply other threads:[~2006-10-13 4:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-13 2:17 Nick Roberts
2006-10-13 2:38 ` Joel Brobecker
2006-10-13 4:39 ` Daniel Jacobowitz [this message]
2006-10-13 16:34 ` Joel Brobecker
2006-10-13 18:50 ` Nick Roberts
2006-10-13 20:10 ` Joel Brobecker
2006-10-13 22:06 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061013043855.GA28303@nevyn.them.org \
--to=drow@false.org \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sources.redhat.com \
--cc=nickrob@snap.net.nz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox