forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -1756,7 +1756,7 @@ target_xfer_partial (struct target_ops *ops,
|
||||
it makes no progress, and then return how much was transferred). */
|
||||
|
||||
int
|
||||
target_read_memory (CORE_ADDR memaddr, gdb_byte *myaddr, size_t len)
|
||||
target_read_memory (CORE_ADDR memaddr, gdb_byte *myaddr, ssize_t len)
|
||||
{
|
||||
/* Dispatch to the topmost target, not the flattened current_target.
|
||||
Memory accesses check target->to_has_(all_)memory, and the
|
||||
|
||||
Reference in New Issue
Block a user