Ada testsuite failures
Daniel Jacobowitz
drow@false.org
Tue Jan 2 14:39:00 GMT 2007
On Tue, Jan 02, 2007 at 03:39:03PM +0400, Joel Brobecker wrote:
> Daniel,
>
> > ptype empty
> > type = function return int
> > (gdb) FAIL: gdb.ada/null_record.exp: ptype on null record
>
> My appologies when I said I had the same failure. I do have a failure,
> but the symptoms are different. What does the debugger print in your
> case when you do:
>
> (gdb) ptype bar.empty
(gdb) ptype empty
type = function return int
(gdb) p bar.empty
No definition of "bar.empty" in current context.
(gdb) p empty
$1 = {<text variable, no debug info>} 0x2aaaaad3d590 <gnat__sockets__empty>
Isn't that interesting - that's something completely different. There
are zero references to the string "empty" in the debug info for
null_record, so it is definitely a debugging information problem.
Looking at the test I'm not surprised. Empty is unused; adding
something that references it is probably sufficient.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list