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 | db03dcab46c1a0ddf369040f34779ad02fb71fa0 (patch) | |
tree | 40f78f86c992a2c189fba4e54d3ba6f9d897b691 /gdb/minidebug.c | |
parent | 9bad6d497ef023ab46b493c84ad9c129e12461f1 (diff) | |
download | gdb-db03dcab46c1a0ddf369040f34779ad02fb71fa0.tar.gz |
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/minidebug.c')
-rw-r--r-- | gdb/minidebug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/minidebug.c b/gdb/minidebug.c index 7b1463b74c9..a33628a18b6 100644 --- a/gdb/minidebug.c +++ b/gdb/minidebug.c @@ -226,6 +226,8 @@ lzma_close (struct bfd *nbfd, lzma_index_end (lstream->index, &gdb_lzma_allocator); xfree (lstream->data); xfree (lstream); + + /* Zero means success. */ return 0; } |