28fdd94
2005-02-07  Jeff Johnston  <jjohnstn@redhat.com>
20b150b
28fdd94
        * linux-nat.c (linux_nat_xfer_memory): Don't use
9dde329
        linux_proc_xfer_memory for ia64.
20b150b
e5611bf
Index: gdb-6.8.50.20090803/gdb/linux-nat.c
9231e41
===================================================================
e5611bf
--- gdb-6.8.50.20090803.orig/gdb/linux-nat.c	2009-08-04 06:29:47.000000000 +0200
e5611bf
+++ gdb-6.8.50.20090803/gdb/linux-nat.c	2009-08-04 06:29:55.000000000 +0200
e5611bf
@@ -4495,10 +4495,15 @@ linux_xfer_partial (struct target_ops *o
e5611bf
 	offset &= ((ULONGEST) 1 << addr_bit) - 1;
e5611bf
     }
20b150b
 
9231e41
+#ifndef NATIVE_XFER_UNWIND_TABLE
28fdd94
+  /* FIXME: For ia64, we cannot currently use linux_proc_xfer_memory
407ebe9
+	    for accessing thread storage.  Revert when Bugzilla 147436
28fdd94
+	    is fixed.  */
9231e41
   xfer = linux_proc_xfer_partial (ops, object, annex, readbuf, writebuf,
9231e41
 				  offset, len);
9231e41
   if (xfer != 0)
9231e41
     return xfer;
28fdd94
+#endif
20b150b
 
9231e41
   return super_xfer_partial (ops, object, annex, readbuf, writebuf,
9231e41
 			     offset, len);