This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: debugging timer dependent programs thru gdb
- To: Rajeev <rajeev at inablers dot net>
- Subject: Re: [ECOS] debugging timer dependent programs thru gdb
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Mon, 13 Aug 2001 18:09:43 +0100
- Cc: gdb at sources dot redhat dot com, ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <200108130937.PAA17815@inablers.net>
Rajeev wrote:
>
> hi,
> i would like to know if gdb will be able to help me debug
> time-dependent applications (like multithreading) because i was
> wondering how the gdb would be able to physically hold the clock to the
> cpu. Does it have a software emulation of the timers?
Nope. When debugging a remote embedded target, in general interrupts are
disabled, that's all. If stuff is timer dependent, it will "lose" time.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine