From aee4bf85057de1905f5bfaad2a4be0295905d7fb Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Mon, 2 Dec 2013 10:12:24 +0000 Subject: Add new target_read_raw_memory function, and consolidate comments. Tested on x86_64 Fedora 17. gdb/ 2013-12-02 Pedro Alves * 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. --- gdb/target.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/target.h') 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); -- cgit v1.1