aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-18 14:32:43 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:48:09 -0700
commitcd4ae029569aa0c38230f042b39f505ac5b8f732 (patch)
tree3e4ce9d04d0d31bb06952aff618827fb994c46fd /gdb/target.h
parenta134316b1f47741fadfc6d7c3c43acb43261246e (diff)
downloadgdb-cd4ae029569aa0c38230f042b39f505ac5b8f732.zip
gdb-cd4ae029569aa0c38230f042b39f505ac5b8f732.tar.gz
gdb-cd4ae029569aa0c38230f042b39f505ac5b8f732.tar.bz2
convert to_insert_mask_watchpoint
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (target_insert_mask_watchpoint): Unconditionally delegate. * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use TARGET_DEFAULT_RETURN.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 25e98ed..012231f 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -477,7 +477,8 @@ struct target_ops
TARGET_DEFAULT_RETURN (-1);
int (*to_insert_mask_watchpoint) (struct target_ops *,
- CORE_ADDR, CORE_ADDR, int);
+ CORE_ADDR, CORE_ADDR, int)
+ TARGET_DEFAULT_RETURN (1);
int (*to_remove_mask_watchpoint) (struct target_ops *,
CORE_ADDR, CORE_ADDR, int);
int (*to_stopped_by_watchpoint) (struct target_ops *)