aboutsummaryrefslogtreecommitdiff
path: root/gdb/minidebug.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-04-12 16:04:07 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-04-12 16:04:07 +0000
commit39ed5604d7bee498aa7cdd6a7bc9bf86df366fec (patch)
treebd92a251d8da01bd3293bf633c0d91c4b6e9ddd4 /gdb/minidebug.c
parent49369217974f88031ae5f65eba0274bc30ecf74d (diff)
downloadgdb-39ed5604d7bee498aa7cdd6a7bc9bf86df366fec.zip
gdb-39ed5604d7bee498aa7cdd6a7bc9bf86df366fec.tar.gz
gdb-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/minidebug.c')
-rw-r--r--gdb/minidebug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/minidebug.c b/gdb/minidebug.c
index 7b1463b..a33628a 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;
}