Re: [Xenomai-core] [PATCH] Unfreeze timers when debugged target exits

2008-05-09 Thread Gilles Chanteperdrix
On Fri, May 9, 2008 at 12:06 PM, Philippe Gerum <[EMAIL PROTECTED]> wrote: > Gilles Chanteperdrix wrote: >> On Fri, May 9, 2008 at 11:44 AM, Philippe Gerum <[EMAIL PROTECTED]> wrote: >>> Jan Kiszka wrote: I expressed my skepticism about this global timer freeze before :->, and >>> Just try deb

Re: [Xenomai-core] [PATCH] Unfreeze timers when debugged target exits

2008-05-09 Thread Philippe Gerum
Gilles Chanteperdrix wrote: > On Fri, May 9, 2008 at 11:44 AM, Philippe Gerum <[EMAIL PROTECTED]> wrote: >> Jan Kiszka wrote: >>> I expressed my skepticism about this global timer freeze before :->, and >> Just try debugging periodic code without it... >> >> We should have an opt-out mechanism to h

Re: [Xenomai-core] [PATCH] Unfreeze timers when debugged target exits

2008-05-09 Thread Gilles Chanteperdrix
On Fri, May 9, 2008 at 11:44 AM, Philippe Gerum <[EMAIL PROTECTED]> wrote: > Jan Kiszka wrote: >> I expressed my skepticism about this global timer freeze before :->, and > > Just try debugging periodic code without it... > > We should have an opt-out mechanism to hide timers from the auto-freeze

Re: [Xenomai-core] [PATCH] Unfreeze timers when debugged target exits

2008-05-09 Thread Philippe Gerum
Gilles Chanteperdrix wrote: > On Fri, May 9, 2008 at 11:29 AM, Jan Kiszka <[EMAIL PROTECTED]> wrote: >> + if (xnthread_test_info(thread, XNDEBUG)) >> + unlock_timers(); >> + > > Will this work if several threads are currently being debugged ? > Yes, because we freeze timers w

Re: [Xenomai-core] [PATCH] Unfreeze timers when debugged target exits

2008-05-09 Thread Philippe Gerum
Jan Kiszka wrote: > I expressed my skepticism about this global timer freeze before :->, and Just try debugging periodic code without it... We should have an opt-out mechanism to hide timers from the auto-freeze feature, that is the real issue yet to be fixed. > now it hit me unpleasantly (Cust

Re: [Xenomai-core] [PATCH] Unfreeze timers when debugged target exits

2008-05-09 Thread Jan Kiszka
Jan Kiszka wrote: > Gilles Chanteperdrix wrote: >> On Fri, May 9, 2008 at 11:29 AM, Jan Kiszka <[EMAIL PROTECTED]> wrote: >>> + if (xnthread_test_info(thread, XNDEBUG)) >>> + unlock_timers(); >>> + >> Will this work if several threads are currently being debugged ? > > Not bett

Re: [Xenomai-core] [PATCH] Unfreeze timers when debugged target exits

2008-05-09 Thread Jan Kiszka
Gilles Chanteperdrix wrote: > On Fri, May 9, 2008 at 11:29 AM, Jan Kiszka <[EMAIL PROTECTED]> wrote: >> + if (xnthread_test_info(thread, XNDEBUG)) >> + unlock_timers(); >> + > > Will this work if several threads are currently being debugged ? Not better or worse than with the

Re: [Xenomai-core] [PATCH] Unfreeze timers when debugged target exits

2008-05-09 Thread Gilles Chanteperdrix
On Fri, May 9, 2008 at 11:29 AM, Jan Kiszka <[EMAIL PROTECTED]> wrote: > + if (xnthread_test_info(thread, XNDEBUG)) > + unlock_timers(); > + Will this work if several threads are currently being debugged ? -- Gilles ___ Xenomai-co