* config/i386/nm-go32.h <top level>: Don't include nm-i386v.h,
authorEli Zaretskii <eliz@gnu.org>
Thu, 22 Mar 2001 09:35:19 +0000 (09:35 +0000)
committerEli Zaretskii <eliz@gnu.org>
Thu, 22 Mar 2001 09:35:19 +0000 (09:35 +0000)
commite24d4c64ff2e89327ba84fdcc77cc557791eb3cd
tree801c45ae22c88a86d3d5b705c20368201c904e6f
parent469b781cfb777bb37eeefbc2614adb35b4d3c199
* config/i386/nm-go32.h <top level>: Don't include nm-i386v.h,
include nm-i386.h instead.
(TARGET_HAS_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT)
(TARGET_CAN_USE_HARDWARE_WATCHPOINT, STOPPED_BY_WATCHPOINT)
(TARGET_REGION_OK_FOR_HW_WATCHPOINT, DECR_PC_AFTER_HW_BREAK)
(target_stopped_data_address, target_insert_watchpoint)
(target_remove_watchpoint, target_insert_hw_breakpoint)
(target_remove_hw_breakpoint): Don't define.
(I386_USE_GENERIC_WATCHPOINTS, I386_DR_LOW_SET_CONTROL)
(I386_DR_LOW_SET_ADDR, I386_DR_LOW_RESET_ADDR)
(I386_DR_LOW_GET_STATUS): Define to call appropriate go32_*
functions from go32-nat.c.

* config/i386/go32.mh (NATDEPFILES): Add i386-nat.o.

* go32-nat.c <top level>: Remove prototypes for watchpoint-
related functions.  Remove definitions of watchpoint-related
macros.
(go32_mourn_inferior): Call i386_cleanup_dregs instead of the
private cleanup_dregs function.
(cleanup_dregs, go32_insert_watchpoint)
(go32_insert_aligned_watchpoint, go32_handle_nonaligned_watchpoint)
(go32_remove_watchpoint, go32_remove_aligned_watchpoint)
(go32_region_ok_for_watchpoint, go32_stopped_by_watchpoint)
(go32_remove_hw_breakpoint, go32_insert_hw_breakpoint): Remove.
(go32_set_dr, go32_set_dr7, go32_get_dr6): New functions.
gdb/ChangeLog
gdb/config/i386/go32.mh
gdb/config/i386/nm-go32.h
gdb/go32-nat.c