]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blobdiff - gdb/patches/gdb-6.3-gcore-thread-20050204.patch
gdb: Update to 7.3.50.20110722.
[people/arne_f/ipfire-3.x.git] / gdb / patches / gdb-6.3-gcore-thread-20050204.patch
diff --git a/gdb/patches/gdb-6.3-gcore-thread-20050204.patch b/gdb/patches/gdb-6.3-gcore-thread-20050204.patch
new file mode 100644 (file)
index 0000000..31ecbba
--- /dev/null
@@ -0,0 +1,25 @@
+2005-02-07  Jeff Johnston  <jjohnstn@redhat.com>
+
+        * linux-nat.c (linux_nat_xfer_memory): Don't use
+        linux_proc_xfer_memory for ia64.
+
+Index: gdb-6.8.50.20090803/gdb/linux-nat.c
+===================================================================
+--- gdb-6.8.50.20090803.orig/gdb/linux-nat.c   2009-08-04 06:29:47.000000000 +0200
++++ gdb-6.8.50.20090803/gdb/linux-nat.c        2009-08-04 06:29:55.000000000 +0200
+@@ -4495,10 +4495,15 @@ linux_xfer_partial (struct target_ops *o
+       offset &= ((ULONGEST) 1 << addr_bit) - 1;
+     }
++#ifndef NATIVE_XFER_UNWIND_TABLE
++  /* FIXME: For ia64, we cannot currently use linux_proc_xfer_memory
++          for accessing thread storage.  Revert when Bugzilla 147436
++          is fixed.  */
+   xfer = linux_proc_xfer_partial (ops, object, annex, readbuf, writebuf,
+                                 offset, len);
+   if (xfer != 0)
+     return xfer;
++#endif
+   return super_xfer_partial (ops, object, annex, readbuf, writebuf,
+                            offset, len);