[ECOS] debugging timer dependent programs thru gdb

Jonathan Larmour jlarmour@redhat.com
Mon Aug 13 10:09:00 GMT 2001


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



More information about the Gdb mailing list