aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gdb/patches/760-debian_vsyscall-bfd-close-result.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openwrt.org>2005-06-07 08:11:06 +0000
committerWaldemar Brodkorb <wbx@openwrt.org>2005-06-07 08:11:06 +0000
commit7dc2e6dab0769df77a5a23bd34a666e25b88842b (patch)
treec154b3c2f8370f229a4f8fd0bf65c3ae12060383 /toolchain/gdb/patches/760-debian_vsyscall-bfd-close-result.patch
parent53d63aad955f53b9d2b933b7ca19ef655ef55ab5 (diff)
downloadupstream-7dc2e6dab0769df77a5a23bd34a666e25b88842b.tar.gz
upstream-7dc2e6dab0769df77a5a23bd34a666e25b88842b.tar.bz2
upstream-7dc2e6dab0769df77a5a23bd34a666e25b88842b.zip
add gdb-client to run on host to debug target.. (kgdb)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1166 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gdb/patches/760-debian_vsyscall-bfd-close-result.patch')
-rw-r--r--toolchain/gdb/patches/760-debian_vsyscall-bfd-close-result.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/toolchain/gdb/patches/760-debian_vsyscall-bfd-close-result.patch b/toolchain/gdb/patches/760-debian_vsyscall-bfd-close-result.patch
new file mode 100644
index 0000000000..56002bed0c
--- /dev/null
+++ b/toolchain/gdb/patches/760-debian_vsyscall-bfd-close-result.patch
@@ -0,0 +1,20 @@
+2004-10-24 Daniel Jacobowitz <dan@debian.org>
+
+ * 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. */