26 lines
1.0 KiB
Diff
26 lines
1.0 KiB
Diff
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.20081209/gdb/linux-nat.c
|
|
===================================================================
|
|
--- gdb-6.8.50.20081209.orig/gdb/linux-nat.c 2008-12-10 01:22:23.000000000 +0100
|
|
+++ gdb-6.8.50.20081209/gdb/linux-nat.c 2008-12-10 01:25:26.000000000 +0100
|
|
@@ -4123,10 +4123,15 @@ linux_xfer_partial (struct target_ops *o
|
|
return linux_nat_xfer_osdata (ops, object, annex, readbuf, writebuf,
|
|
offset, len);
|
|
|
|
+#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);
|