diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-04-12 16:04:07 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-04-12 16:04:07 +0000 |
commit | 39ed5604d7bee498aa7cdd6a7bc9bf86df366fec (patch) | |
tree | bd92a251d8da01bd3293bf633c0d91c4b6e9ddd4 /gdb/remote.c | |
parent | 49369217974f88031ae5f65eba0274bc30ecf74d (diff) | |
download | binutils-39ed5604d7bee498aa7cdd6a7bc9bf86df366fec.zip binutils-39ed5604d7bee498aa7cdd6a7bc9bf86df366fec.tar.gz binutils-39ed5604d7bee498aa7cdd6a7bc9bf86df366fec.tar.bz2 |
gdb/
Fix GDB regression related to PR binutils/14813.
* jit.c (mem_bfd_iovec_close): Return 0 for success.
* minidebug.c (lzma_close): Add return value comment.
* remote.c (remote_bfd_iovec_close): Return 0 for success.
* solib-spu.c (spu_bfd_iovec_close): Likewise.
* spu-linux-nat.c (spu_bfd_iovec_close): Likewise.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index f0dbba6..96abc5d 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -9937,7 +9937,8 @@ remote_bfd_iovec_close (struct bfd *abfd, void *stream) connection was already torn down. */ remote_hostio_close (fd, &remote_errno); - return 1; + /* Zero means success. */ + return 0; } static file_ptr |