gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gdb] debugging timer interrupt


From: ravi prasad
Subject: [Gdb] debugging timer interrupt
Date: Thu, 7 Oct 2004 20:39:40 -0700 (PDT)

hi!!,
  I am using JTAGICE from Atmel with TinyOS. It uses
GDB along with JTAG interface to do on chip debugging.
With reference to it can you please answer my
following questions. 
** Only hardware breakpoint and hardware watch point
available in my case**

** The following problems arised as I need to debug a
program with timer interrupts handled in it**


#. How does the JTAG work? Does Jtag simply makes a
snapshot of the system when required, say for example
to view the stack at a breakpoint it just snaps the
stack and displays it and the original program
execution in the system is not halted. Or the
breakpoint means the program execution is halted and
then Jtag extracts information whichever required.

#. How the interrupts are handle by the JTAG? For
examle a timer fire interrupt. If a breakpoint is
included in the program then whether at the
break point the timer also stops Or the timer counts
and fires as without break point.

#. In continuity of above question what if we click
for next instruction? Then does it means next
instruction after breakpoint.Or the instruction
executing at that instant in the system if it was not
halted.

Regds...


                
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]