From 6b6aa828818fa4a5754fb8520751077146d9d16c Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Fri, 10 Jan 2014 14:11:59 +0800 Subject: Change len's type to ULONGEST: remote_read_bytes and get_core_siginfo Functions remote_read_bytes and get_core_siginfo are the callees of target to_xfer_partial interface, so argument 'len' should be changed to type ULONGEST. gdb: 2014-01-24 Yao Qi * remote.c (remote_read_bytes): Change type of len to ULONGEST. * corelow.c (get_core_siginfo): Likewise. --- gdb/corelow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/corelow.c') diff --git a/gdb/corelow.c b/gdb/corelow.c index d4c1c16..2d4a719 100644 --- a/gdb/corelow.c +++ b/gdb/corelow.c @@ -649,7 +649,7 @@ add_to_spuid_list (bfd *abfd, asection *asect, void *list_p) the to_xfer_partial interface. */ static LONGEST -get_core_siginfo (bfd *abfd, gdb_byte *readbuf, ULONGEST offset, LONGEST len) +get_core_siginfo (bfd *abfd, gdb_byte *readbuf, ULONGEST offset, ULONGEST len) { asection *section; char *section_name; -- cgit v1.1