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
|
|
|
|
2008-12-14 14:05:20 +00:00
|
|
|
Index: gdb-6.8.50.20081209/gdb/linux-nat.c
|
2006-07-11 06:33:02 +00:00
|
|
|
===================================================================
|
2008-12-14 14:05:20 +00:00
|
|
|
--- 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);
|
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);
|