aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-10-15 21:10:55 +0000
committerAndrew Cagney <cagney@redhat.com>2003-10-15 21:10:55 +0000
commit84e7fd53af6de808bb2b47c0e4c9cc2b7f0062d1 (patch)
tree7420382eee514cf07580ad09ad0770879d0631d6 /gdb/target.h
parent6288878d4b3a5934aa19fbd1f3838c3b38fde22e (diff)
downloadgdb-84e7fd53af6de808bb2b47c0e4c9cc2b7f0062d1.zip
gdb-84e7fd53af6de808bb2b47c0e4c9cc2b7f0062d1.tar.gz
gdb-84e7fd53af6de808bb2b47c0e4c9cc2b7f0062d1.tar.bz2
2003-10-15 Andrew Cagney <cagney@redhat.com>
* remote.c (remote_search): Delete function. * target.h (target_search): Delete disabled macro. (struct target_ops): Delete disabled field "to_search".
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/gdb/target.h b/gdb/target.h
index a3e10e8..5a0d333 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -229,29 +229,6 @@ struct target_ops
struct mem_attrib *attrib,
struct target_ops *target);
-#if 0
- /* Enable this after 4.12. */
-
- /* Search target memory. Start at STARTADDR and take LEN bytes of
- target memory, and them with MASK, and compare to DATA. If they
- match, set *ADDR_FOUND to the address we found it at, store the data
- we found at LEN bytes starting at DATA_FOUND, and return. If
- not, add INCREMENT to the search address and keep trying until
- the search address is outside of the range [LORANGE,HIRANGE).
-
- If we don't find anything, set *ADDR_FOUND to (CORE_ADDR)0 and
- return. */
-
- void (*to_search) (int len, char *data, char *mask,
- CORE_ADDR startaddr, int increment,
- CORE_ADDR lorange, CORE_ADDR hirange,
- CORE_ADDR * addr_found, char *data_found);
-
-#define target_search(len, data, mask, startaddr, increment, lorange, hirange, addr_found, data_found) \
- (*current_target.to_search) (len, data, mask, startaddr, increment, \
- lorange, hirange, addr_found, data_found)
-#endif /* 0 */
-
void (*to_files_info) (struct target_ops *);
int (*to_insert_breakpoint) (CORE_ADDR, char *);
int (*to_remove_breakpoint) (CORE_ADDR, char *);