From bb000d426847ad94fc54f9e37ccb5d77b8c08ab4 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 14 Apr 2005 08:05:03 +0000 Subject: Add a bunch of patches snarfed from the debian gdb package --- .../6.3/760-debian_vsyscall-bfd-close-result.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 toolchain/gdb/6.3/760-debian_vsyscall-bfd-close-result.patch (limited to 'toolchain/gdb/6.3/760-debian_vsyscall-bfd-close-result.patch') diff --git a/toolchain/gdb/6.3/760-debian_vsyscall-bfd-close-result.patch b/toolchain/gdb/6.3/760-debian_vsyscall-bfd-close-result.patch new file mode 100644 index 000000000..56002bed0 --- /dev/null +++ b/toolchain/gdb/6.3/760-debian_vsyscall-bfd-close-result.patch @@ -0,0 +1,20 @@ +2004-10-24 Daniel Jacobowitz + + * opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY. + +Index: src/bfd/opncls.c +=================================================================== +RCS file: /big/fsf/rsync/src-cvs/src/bfd/opncls.c,v +retrieving revision 1.25 +diff -u -p -r1.25 opncls.c +--- src/bfd/opncls.c 10 Oct 2004 13:58:05 -0000 1.25 ++++ src/bfd/opncls.c 24 Oct 2004 17:52:53 -0000 +@@ -598,7 +598,7 @@ bfd_close (bfd *abfd) + if (!(abfd->flags & BFD_IN_MEMORY)) + ret = abfd->iovec->bclose (abfd); + else +- ret = 0; ++ ret = TRUE; + + /* If the file was open for writing and is now executable, + make it so. */ -- cgit v1.2.3