* procfs.c (procfs_insert_watchpoint, procfs_remove_watchpoint)
authorPedro Alves <palves@redhat.com>
Wed, 6 May 2009 17:18:57 +0000 (17:18 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 6 May 2009 17:18:57 +0000 (17:18 +0000)
commit25513619dbf1a7c4daaa32e841d8f560d0d18bf5
treef43dc1321eb698b1548d7b061b7bc8cf2d45b51e
parent51f4db8353c6f706435093679977623e5882958c
* procfs.c (procfs_insert_watchpoint, procfs_remove_watchpoint)
(procfs_region_ok_for_hw_watchpoint, procfs_use_watchpoints): New
functions.
(procfs_stopped_by_watchpoint): Made static, ptid argument
removed.
(_initialize_procfs): Register new watchpoint related target
functions.
* config/i386/nm-i386sol2.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT)
(TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT, STOPPED_BY_WATCHPOINT)
(HAVE_CONTINUABLE_WATCHPOINT): Delete.
(target_insert_watchpoint, target_remove_watchpoint): Delete.
(procfs_stopped_by_watchpoint, procfs_set_watchpoint): Delete
declarations.
* config/mips/nm-irix5.h (STOPPED_BY_WATCHPOINT)
(TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete.
(target_insert_watchpoint, target_remove_watchpoint): Delete.
(procfs_stopped_by_watchpoint, procfs_set_watchpoint): Delete
declarations.
* config/sparc/nm-sol2.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
(HAVE_CONTINUABLE_WATCHPOINT, STOPPED_BY_WATCHPOINT): Delete.
(target_insert_watchpoint, target_remove_watchpoint): Delete.
(procfs_stopped_by_watchpoint, procfs_set_watchpoint): Delete
declarations.
gdb/ChangeLog
gdb/config/i386/nm-i386sol2.h
gdb/config/mips/nm-irix5.h
gdb/config/sparc/nm-sol2.h
gdb/procfs.c