This is the mail archive of the frysk@sources.redhat.com mailing list for the frysk 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: Handling 'external' trap events


On Thu, Oct 05, 2006 at 02:08:10PM +0200, Mark Wielaard wrote:
> 
> 2006-10-05  Mark Wielaard  <mark@klomp.org>
> 
>     * funit-breakpoints.c (trap_handler): New function.
>     (dummy): Send trap signal and generate trap event.
>     (main): Install trap signal handler.
>

 
> Tested on x86 and x86_64. There is code for powerpc64, but I don't have
> such a machine so couldn't actually test there. If someone could try and
> inspect the code path for powerpc64 that would be nice.
Hi, Mark,
Here is a small patch to make funit-breakpoints.c be built on ppc64 in
32-bit mode (for bi-arch test).

2006-10-08  Yao Qi  <qiyaoltc@cn.ibm.com>

        * funit-breakpoints.c (dummy): Generate trap event for 
        powerpc32 as well.

Committed!

After this patch applied and rebuild frysk, frysk.proc.TestBreakpoints
will hang on testHitAndRun as follows,
[qiyao@plinuxt6 ~/build-frysk/frysk-core]$ ./TestRunner frysk.proc.TestBreakpoints
frysk.proc.TestBreakpoints
Running testHitAndRun(frysk.proc.TestBreakpoints) ...

Add it in my todo list!  If you could give us some help, we do not
mind. :-)

-- 
Yao Qi

Attachment: break.patch
Description: Text document


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