aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-06-05 21:18:05 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-06-05 21:18:05 +0000
commit1b162304d12fb239357849951093adf48609265a (patch)
tree85df35493914699d8e3142209c8286a35bdc5ee2 /gdb/target.h
parent8556afb4f53f99b32e75285a7eb3839e0b6911ee (diff)
downloadgdb-1b162304d12fb239357849951093adf48609265a.zip
gdb-1b162304d12fb239357849951093adf48609265a.tar.gz
gdb-1b162304d12fb239357849951093adf48609265a.tar.bz2
gdb/
* symfile-mem.c: Change gdb_static_assert to ssize_t. (target_read_memory_bfd): Cast gdb_assert LEN to ssize_t. * target.c (target_read_memory): Change LEN to ssize_t. * target.h (target_read_memory): Change LEN to ssize_t.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target.h b/gdb/target.h
index f3ef33a..de96bcd 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -997,7 +997,7 @@ extern void target_dcache_invalidate (void);
extern int target_read_string (CORE_ADDR, char **, int, int *);
extern int target_read_memory (CORE_ADDR memaddr, gdb_byte *myaddr,
- size_t len);
+ ssize_t len);
extern int target_read_stack (CORE_ADDR memaddr, gdb_byte *myaddr, int len);