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: [testsuite/alpha] Add test for step over fbne instruction


> > Thanks for the couple of suggestions. Is the attached better?
> 
> Yes, though I'm confused as to why you didn't use the 4 or 5 insn
> hand-coded routine that I gave you, which is more like what you would
> get from the compiler with -O2 -ffast-math.

Because I'm lazy? ;-). Seriously, that was a good suggestion, and I have
now used it in this iteration of the testcase. I took this opportunity
to actually test all forms of FP branch instructions, with branch taken
and branch not taken. That way, that should cover most cases. I left
the edge cases for another time.

2005-05-20  Joel Brobecker  <brobecker@adacore.com>

        * gdb.arch/alpha-step.c: New file.
        * gdb.arch/alpha-step.exp: New testcase.

Tested on alpha-tru64 5.1a. We now have 21 FAILs revealed by this testcase.
Before the following patch was applied, we had 30.

        http://sources.redhat.com/ml/gdb-patches/2005-05/msg00479.html

I used an ancient version of GDB, before the switch to software single-step
was made, and I have an all PASS.

Will investigate the FAILs as soon as possible.

OK to apply?

Thanks,
-- 
Joel

Attachment: alpha-step.c
Description: Text document

Attachment: alpha-step.exp
Description: Text document


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