diff options
author | Pedro Alves <palves@redhat.com> | 2013-12-02 10:12:24 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-12-02 11:10:20 +0000 |
commit | aee4bf85057de1905f5bfaad2a4be0295905d7fb (patch) | |
tree | 4d38c1d340bfc9824fd0cf22d42166dc04402446 /gdb/target.h | |
parent | 840207d8ee5249c11463baaf5fb37c44595c4f00 (diff) | |
download | gdb-aee4bf85057de1905f5bfaad2a4be0295905d7fb.zip gdb-aee4bf85057de1905f5bfaad2a4be0295905d7fb.tar.gz gdb-aee4bf85057de1905f5bfaad2a4be0295905d7fb.tar.bz2 |
Add new target_read_raw_memory function, and consolidate comments.
Tested on x86_64 Fedora 17.
gdb/
2013-12-02 Pedro Alves <palves@redhat.com>
* dcache.c (dcache_read_line): Use target_read_raw_memory.
* target.c (target_read_raw_memory): New function.
(target_read_stack, target_write_memory, target_write_raw_memory):
Update comment.
(target_read_code): Add comment.
* target.h (target_read_raw_memory): Declare.
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/target.h b/gdb/target.h index 890171d..f22e5c6 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -1051,6 +1051,9 @@ extern int target_read_string (CORE_ADDR, char **, int, int *); extern int target_read_memory (CORE_ADDR memaddr, gdb_byte *myaddr, ssize_t len); +extern int target_read_raw_memory (CORE_ADDR memaddr, gdb_byte *myaddr, + ssize_t len); + extern int target_read_stack (CORE_ADDR memaddr, gdb_byte *myaddr, ssize_t len); extern int target_read_code (CORE_ADDR memaddr, gdb_byte *myaddr, ssize_t len); |