diff options
author | Yao Qi <yao@codesourcery.com> | 2014-01-10 14:11:59 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2014-01-24 21:31:30 +0800 |
commit | 6b6aa828818fa4a5754fb8520751077146d9d16c (patch) | |
tree | ff2d34604e22a4bbb26cc4812839167e20c9defa /gdb/corelow.c | |
parent | 5d6df423905215fc5ef796f20525cd84f92c3a8e (diff) | |
download | gdb-6b6aa828818fa4a5754fb8520751077146d9d16c.zip gdb-6b6aa828818fa4a5754fb8520751077146d9d16c.tar.gz gdb-6b6aa828818fa4a5754fb8520751077146d9d16c.tar.bz2 |
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 <yao@codesourcery.com>
* remote.c (remote_read_bytes): Change type of len to ULONGEST.
* corelow.c (get_core_siginfo): Likewise.
Diffstat (limited to 'gdb/corelow.c')
-rw-r--r-- | gdb/corelow.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |