forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -1,4 +1,13 @@
|
||||
2013-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
2013-04-12 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
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.
|
||||
|
||||
2013-04-12 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* config.in: Regenerate.
|
||||
|
||||
|
||||
@@ -90,7 +90,9 @@ static int
|
||||
mem_bfd_iovec_close (struct bfd *abfd, void *stream)
|
||||
{
|
||||
xfree (stream);
|
||||
return 1;
|
||||
|
||||
/* Zero means success. */
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* For reading the file, we just need to pass through to target_read_memory and
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -286,7 +286,9 @@ static int
|
||||
spu_bfd_iovec_close (bfd *nbfd, void *stream)
|
||||
{
|
||||
xfree (stream);
|
||||
return 1;
|
||||
|
||||
/* Zero means success. */
|
||||
return 0;
|
||||
}
|
||||
|
||||
static file_ptr
|
||||
|
||||
@@ -277,7 +277,9 @@ static int
|
||||
spu_bfd_iovec_close (struct bfd *nbfd, void *stream)
|
||||
{
|
||||
xfree (stream);
|
||||
return 1;
|
||||
|
||||
/* Zero means success. */
|
||||
return 0;
|
||||
}
|
||||
|
||||
static file_ptr
|
||||
|
||||
Reference in New Issue
Block a user