minor fix for i386v-nat.c
John Hughes
john@Calva.COM
Mon Oct 30 03:41:00 GMT 2000
In i386_insert_aligned_watchpoint the actual address being watched was saved
in address_loookup. This is fine for aligned watchpoints, the address gdb
wants to watch is the same as the actual address. For non-aligned
watchpoints
we have to ask the hadware to watch up to 3 different addresses. We need to
remember the address gdb wants to watch so i386_remove_watchpoint knows
which
registers to clean up.
Changelog:
2000-10-30 John Hughes <john@CalvaEDI.COM>
* i386v-nat.c (i386_insert_aligned_watchpoint) save waddr (the
watched address) in address_lookup[] rather than addr. This allows
clean removal of non-aligned watchpoints.
Patch (against released gdb-5.0) attached.
--
John Hughes <john@Calva.COM>,
CalvaEDI SA. Tel: +33-1-4313-3131
66 rue du Moulin de la Pointe, Fax: +33-1-4313-3139
75013 PARIS.
More information about the Gdb-patches
mailing list