OSDN Git Service

* procfs.c (procfs_insert_watchpoint, procfs_remove_watchpoint)
authorPedro Alves <pedro@codesourcery.com>
Wed, 6 May 2009 17:18:49 +0000 (17:18 +0000)
committerPedro Alves <pedro@codesourcery.com>
Wed, 6 May 2009 17:18:49 +0000 (17:18 +0000)
commitf4d38636274a54bb614d642173137ea6b1f63222
treee5850c03907940f565de75d12b94747f920954e6
parentd4730aa44a70ebed0a570583d47ffe70d9b3a945
* 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