This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: Time Slice
- To: chandrag at danlawinc dot com
- Subject: Re: [ECOS] Time Slice
- From: Jonathan Larmour <jlarmour at redhat dot co dot uk>
- Date: Wed, 14 Jun 2000 19:22:23 +0100
- CC: ecos-discuss at sourceware dot cygnus dot com
- Organization: Red Hat UK Ltd.
- References: <00061503032600.00660@localhost.localdomain>
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