public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* h/w breakpoints
@ 2004-01-07 18:03 Jon Beniston
  0 siblings, 0 replies; only message in thread
From: Jon Beniston @ 2004-01-07 18:03 UTC (permalink / raw)
  To: insight

Hi,

I'm am trying to debug a remote target that only has h/w breakpoints
available (the code is in ROM). Is this known to be handled well by
Insight? Currently I have to set all breakpoints via the command line.
Looking at the remote debug output (set debug remote 1), I can see that
only Z0, X and M commands (all which write memory) are sent to the
target when I set a breakpoint via Insight. Should it not try Z1 as well
if all the previous fail? The fact that s/w breakpoints don't get set
has the nasty side effect of causing continue not to do anything without
reporting any error (removing all s/w breakpoints allows it to resume).
Another downside of using the hbreak command is that the breakpoints
don't appear in the GUI.

Now I could hack my debug target code to write a h/w breakpoint when
receiving a Z0, but feel that this should probably be handled better by
Insight. I'm willing to have a crack at modifying this if deemed
appropriate.

Cheers,
Jon




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-01-07 18:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-07 18:03 h/w breakpoints Jon Beniston

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