diff options
author | Kris Warkentin <kewarken@qnx.com> | 2003-02-24 21:56:51 +0000 |
---|---|---|
committer | Kris Warkentin <kewarken@qnx.com> | 2003-02-24 21:56:51 +0000 |
commit | 7df1a32481bceebdcca416187a97c20c12c4a676 (patch) | |
tree | 1d9ce8d894b26fd3f89d9cfe2c989cbb8ddfcc0d /gdb/target.h | |
parent | f46169db7af74c579697433a58ab325ff1e78381 (diff) | |
download | gdb-7df1a32481bceebdcca416187a97c20c12c4a676.zip gdb-7df1a32481bceebdcca416187a97c20c12c4a676.tar.gz gdb-7df1a32481bceebdcca416187a97c20c12c4a676.tar.bz2 |
add HAVE_CONTINUABLE_WATCHPOINT to target_ops
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/target.h b/gdb/target.h index 80e6538..f081bd3 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -256,6 +256,7 @@ struct target_ops int (*to_remove_watchpoint) (CORE_ADDR, int, int); int (*to_insert_watchpoint) (CORE_ADDR, int, int); int (*to_stopped_by_watchpoint) (void); + int to_have_continuable_watchpoint; CORE_ADDR (*to_stopped_data_address) (void); int (*to_region_size_ok_for_hw_watchpoint) (int); void (*to_terminal_init) (void); @@ -963,6 +964,13 @@ extern void (*target_new_objfile_hook) (struct objfile *); (*current_target.to_stopped_by_watchpoint) () #endif +/* Non-zero if we have continuable watchpoints */ + +#ifndef HAVE_CONTINUABLE_WATCHPOINT +#define HAVE_CONTINUABLE_WATCHPOINT \ + (current_target.to_have_continuable_watchpoint) +#endif + /* HP-UX supplies these operations, which respectively disable and enable the memory page-protections that are used to implement hardware watchpoints on that platform. See wait_for_inferior's use of these. */ |