2005-02-08 01:25:23 +00:00
|
|
|
2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
|
2005-02-05 04:21:32 +00:00
|
|
|
|
2005-02-08 01:25:23 +00:00
|
|
|
* linux-nat.c (linux_nat_xfer_memory): Don't use
|
2005-02-08 21:02:35 +00:00
|
|
|
linux_proc_xfer_memory for ia64.
|
2005-02-05 04:21:32 +00:00
|
|
|
|
2009-08-04 05:37:29 +00:00
|
|
|
Index: gdb-6.8.50.20090803/gdb/linux-nat.c
|
2006-07-11 06:33:02 +00:00
|
|
|
===================================================================
|
2009-08-04 05:37:29 +00:00
|
|
|
--- 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;
|
|
|
|
}
|
2005-02-05 04:21:32 +00:00
|
|
|
|
2006-07-11 06:33:02 +00:00
|
|
|
+#ifndef NATIVE_XFER_UNWIND_TABLE
|
2005-02-08 01:25:23 +00:00
|
|
|
+ /* FIXME: For ia64, we cannot currently use linux_proc_xfer_memory
|
2008-12-14 14:05:20 +00:00
|
|
|
+ for accessing thread storage. Revert when Bugzilla 147436
|
2005-02-08 01:25:23 +00:00
|
|
|
+ is fixed. */
|
2006-07-11 06:33:02 +00:00
|
|
|
xfer = linux_proc_xfer_partial (ops, object, annex, readbuf, writebuf,
|
|
|
|
offset, len);
|
|
|
|
if (xfer != 0)
|
|
|
|
return xfer;
|
2005-02-08 01:25:23 +00:00
|
|
|
+#endif
|
2005-02-05 04:21:32 +00:00
|
|
|
|
2006-07-11 06:33:02 +00:00
|
|
|
return super_xfer_partial (ops, object, annex, readbuf, writebuf,
|
|
|
|
offset, len);
|