How are watchpoints handled? (remote serial)

Juha Aaltonen <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAHR0xd6NgsRELcdpbmVjGGQusv756kWMwj5G+NpWE_oN1ErBHA@mail.gmail.com>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.