summaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-19 08:12:26 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:48:34 -0700
commit58a5184e2aa7a9fcc2a796b44bae124d173cec1a (patch)
tree945205977a7e65cc89202c17df19fc82f50c24c3 /gdb/target.h
parent8de71aab66c182ec1f6eb95ed943b64900dd7770 (diff)
downloadbinutils-58a5184e2aa7a9fcc2a796b44bae124d173cec1a.tar.gz
binutils-58a5184e2aa7a9fcc2a796b44bae124d173cec1a.tar.bz2
binutils-58a5184e2aa7a9fcc2a796b44bae124d173cec1a.zip
convert to_search_memory
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (default_search_memory): New function. (simple_search_memory): Update comment. (target_search_memory): Unconditionally delegate. * target.h (struct target_ops) <to_search_memory>: Use TARGET_DEFAULT_FUNC.
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 296ab109bf6..4474f431dce 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -718,7 +718,8 @@ struct target_ops
int (*to_search_memory) (struct target_ops *ops,
CORE_ADDR start_addr, ULONGEST search_space_len,
const gdb_byte *pattern, ULONGEST pattern_len,
- CORE_ADDR *found_addrp);
+ CORE_ADDR *found_addrp)
+ TARGET_DEFAULT_FUNC (default_search_memory);
/* Can target execute in reverse? */
int (*to_can_execute_reverse) (struct target_ops *)