[ECOS] Time Slice
Jonathan Larmour
jlarmour@redhat.co.uk
Wed Jun 14 11:22:00 GMT 2000
Chandrasekhar G wrote:
>
> Hi,
> I am running a program on Linux Synthetic Target. I configured for the
> scheduler 'mlqueue' and enabled time slicing. After each tick the clock DSR
> is calling Cyg_Scheduler::scheduler.timeslice(). While debugging, I want to
> single step into this routine. I am using 'Insight' for debugging on Linux.
> Can anybody suggest a solution?
You mean that you are in the clock DSR and you want to single step into the
Cyg_Scheduler::scheduler.timeslice() but it doesn't work? You should be
able to.
Or are you just trying to find the function? It's in mlqueue.cxx. Go to
that file in Insight and set a breakpoint at the beginning.
OOI in general, if debugging features like this don't work, if at all
possible turn optimization off - i.e. in the Global compiler flags, remove
the -O2 flag. Then do a "make clean" followed by "make" in your build tree.
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault
More information about the Ecos-discuss
mailing list