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.
This commit is contained in:
Jan Kratochvil 2013-04-12 16:04:07 +00:00
parent 4936921797
commit 39ed5604d7
6 changed files with 23 additions and 5 deletions

View file

@ -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;
}