This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How are watchpoints handled? (remote serial)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]