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
|
|
|
|
2006-07-11 06:33:02 +00:00
|
|
|
Index: gdb-6.5/gdb/linux-nat.c
|
|
|
|
===================================================================
|
|
|
|
--- gdb-6.5.orig/gdb/linux-nat.c 2006-07-07 00:57:56.000000000 -0300
|
|
|
|
+++ gdb-6.5/gdb/linux-nat.c 2006-07-07 02:24:51.000000000 -0300
|
|
|
|
@@ -3152,10 +3152,15 @@ linux_xfer_partial (struct target_ops *o
|
|
|
|
return procfs_xfer_auxv (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
|
|
|
|
+ for accessing thread storage. Revert when Bugzilla 147436
|
|
|
|
+ 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);
|