Jeff Webb wrote:
> ...
> /* Real-time task */
> void * fptest_routine (void *cookie)
> {  
>   struct timespec dt_ts;
> 
>   int i;
>   char c[6000];

[Those are the days when you wonder why you don't look at the code
*first* and *then* decide to fire up a debugger. Well, at least the
debugger is now debugged too...]

As this disassembly from fptest_routine popped up in ddd

0xd08a511c:     sub    $0x1780,%esp

I wondered why the stack pointer is moved that much. It's because of
that char array above! You have to keep in mind that kernel pthreads
come with 1k stack by default. Increase it if you need more.

After pushing the array into global scope (and with the FPU fix applied)
your test works fine here over trunk.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to