diff options
author | Jim Blandy <jimb@codesourcery.com> | 2001-11-12 21:08:04 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2001-11-12 21:08:04 +0000 |
commit | c26e46834fdfc080054fb546f879533daa5229da (patch) | |
tree | 07ae1696559b7597fadf107af06802ea0f243775 /gdb/gdbcore.h | |
parent | cbbab8fb38cde6c25134a9648f132af8157c2751 (diff) | |
download | binutils-gdb-c26e46834fdfc080054fb546f879533daa5229da.tar.gz |
* corefile.c (write_memory_unsigned_integer,
write_memory_signed_integer): New functions.
(write_memory): Move to be with other write_memory_* functions.
* gdbcore.h (write_memory_unsigned_integer,
write_memory_signed_integer): New declarations.
Diffstat (limited to 'gdb/gdbcore.h')
-rw-r--r-- | gdb/gdbcore.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/gdbcore.h b/gdb/gdbcore.h index 95b68628713..03ac7991dcb 100644 --- a/gdb/gdbcore.h +++ b/gdb/gdbcore.h @@ -72,6 +72,14 @@ extern void read_memory_string (CORE_ADDR, char *, int); extern void write_memory (CORE_ADDR memaddr, char *myaddr, int len); +/* Store VALUE at ADDR in the inferior as a LEN-byte unsigned integer. */ +extern void write_memory_unsigned_integer (CORE_ADDR addr, int len, + ULONGEST value); + +/* Store VALUE at ADDR in the inferior as a LEN-byte unsigned integer. */ +extern void write_memory_signed_integer (CORE_ADDR addr, int len, + LONGEST value); + extern void generic_search (int len, char *data, char *mask, CORE_ADDR startaddr, int increment, CORE_ADDR lorange, CORE_ADDR hirange, |