* [ECOS] Time Slice
@ 2000-06-14 8:55 Chandrasekhar G
2000-06-14 11:22 ` Jonathan Larmour
2000-06-14 11:22 ` Jonathan Larmour
0 siblings, 2 replies; 3+ messages in thread
From: Chandrasekhar G @ 2000-06-14 8:55 UTC (permalink / raw)
To: ecos-discuss
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?
Thank you
chandra
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] Time Slice
2000-06-14 8:55 [ECOS] Time Slice Chandrasekhar G
2000-06-14 11:22 ` Jonathan Larmour
@ 2000-06-14 11:22 ` Jonathan Larmour
1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Larmour @ 2000-06-14 11:22 UTC (permalink / raw)
To: chandrag; +Cc: ecos-discuss
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 Build->Clean, followed by Build->library to rebuild
the library.
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] Time Slice
2000-06-14 8:55 [ECOS] Time Slice Chandrasekhar G
@ 2000-06-14 11:22 ` Jonathan Larmour
2000-06-14 11:22 ` Jonathan Larmour
1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Larmour @ 2000-06-14 11:22 UTC (permalink / raw)
To: chandrag; +Cc: ecos-discuss
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-06-14 11:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-14 8:55 [ECOS] Time Slice Chandrasekhar G
2000-06-14 11:22 ` Jonathan Larmour
2000-06-14 11:22 ` Jonathan Larmour
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).