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