public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Masking interrupts during step
@ 2005-02-07  6:31 Gene Smith
  2005-02-07 17:39 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Gene Smith @ 2005-02-07  6:31 UTC (permalink / raw)
  To: insight

Is it possible to setup insight so that it masks interrupts during a 
single step and then unmasks? My problem is that when I have interrupts 
enabled and single step, I usually end up stepping into a isr such as 
the timer interrupt rather than stepping to the next mainline 
instruction. I think this is usually handled by the "rom monitor" or 
debug stub running in the target, but I am using a jtag debugger 
Macraigor mpDemon and have no special code in the target to help with this.

I have also observed that if I have at least my timer interrupt (10ms) 
enabled and hit a breakpoint that it will not continue from that 
breakpoint unless I either disable the breakpoint or disable the timer 
interrupt. Not sure why this is.

-gene

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Masking interrupts during step
  2005-02-07  6:31 Masking interrupts during step Gene Smith
@ 2005-02-07 17:39 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2005-02-07 17:39 UTC (permalink / raw)
  To: Gene Smith; +Cc: insight

On Fri, 2005-02-04 at 23:38 -0500, Gene Smith wrote:
> Is it possible to setup insight so that it masks interrupts during a 
> single step and then unmasks?

Good question. I don't know the answer. Try asking on the gdb list. If
gdb can do it, we can make insight do it.

Keith

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-07 17:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-07  6:31 Masking interrupts during step Gene Smith
2005-02-07 17:39 ` Keith Seitz

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).