This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/testsuite/ada] Refine expected output of start command


> Actually, it's been failing for me for a maybe related reason:
> 
> (gdb) start
> Breakpoint 1 at 0x8048ad0: file b~null_record.adb, line 99.
> Starting program: /opt/src/binutils/x86-as/gdb/testsuite/gdb.ada/null_record 
> main (argc=1, argv=(system.address) 0xbffff524, envp=(system.address) 0xbffff52c) at b~null_record.adb:99
> 99            Ensure_Reference : System.Address :=
> Ada_Main_Program_Name'Address;
> (gdb) PASS: gdb.ada/null_record.exp: start
> ptype empty
> type = function return int
> (gdb) FAIL: gdb.ada/null_record.exp: ptype on null record

Hmmm, no I don't think it's the same reason. And the test passes for
me.

Could you do an experiment for me, and tell me what the language
is after you load the executable? It should be auto,ada.  Same after
you've done the start.

Of maybe you could send me separately your executable, so I can take
a look...

> > 2004-10-20  Joel Brobecker  <brobecker@gnat.com>
> > 
> >         * gdb.ada/null_record.exp: Check where we stopped after
> >         sending the start command, instead of where the associated
> >         temporary breakpoint was inserted.
> > 
> > This causes the "start" test above to FAIL for now. But the fix for
> > this should be available soon.
> > 
> > OK to commit? (I verified that this PASSes again once I apply my fix)
> 
> This is OK.

Thanks, committed.

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]