Could you try running the threaded version of the sound example,
irqthread.c?
You shouldn't need to use breakpoint() to debug this, as any fault in an
RT-thread should be trapped in the debugger.
Note, you can only use RTLinux debugger to debug
RT-threads, and not interrupt hanlders. This is not a restriction
in practice as this example shows. Also, breakpoints and tracing
only work if hardware interrupts are not disabled.
[EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
> Hi,
> I am kind of newbie of RT-Linux and now experimenting with the examples came with
>the latest RT-linux 3.0 distribution. I have trouble in running the "sound" example
>(under the directory "example/sound"). Sometimes the run the of sample program
>either
> hanged my Dell PC (with General Protection error and "kernel panic" message) or
>reboot the box. Does anyone what might be the bug in the code?
> I tried to use the debugger, by adding "breakpoint()" function in the sound.c source
>code, but the run of the code would not cause any exceptions so I can't use gdb to
>debug it. Are there ways to work around it? many thanks.
>
> ***************************
> Liang Zhu
> Philips CFT, NA
> Philips Silicon Valley Center, W4-120
> 1000 West Maude Ave.
> Sunnyvale, CA 94085-2810, USA
> Email: [EMAIL PROTECTED]
----- End of forwarded message from [EMAIL PROTECTED] -----
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/