public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* How are watchpoints handled? (remote serial)
@ 2015-11-09 22:57 Juha Aaltonen
  2015-11-10 23:26 ` Juha Aaltonen
  0 siblings, 1 reply; 3+ messages in thread
From: Juha Aaltonen @ 2015-11-09 22:57 UTC (permalink / raw)
  To: gdb-mailing list

How should the watchpoints be handled by remote stub/server?
It seems that when 'cont'-command is given, gdb re-installs watchpoint
and sends 'c'-packet.

If the return address is the trap address, the watchpoint trigs again,
but if the address is advanced,
the access is not done at all, because the watchpoint makes exception
before the access is made.

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

end of thread, other threads:[~2015-11-10 23:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-09 22:57 How are watchpoints handled? (remote serial) Juha Aaltonen
2015-11-10 23:26 ` Juha Aaltonen
2015-11-10 23:39   ` Juha Aaltonen

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