]>
Commit | Line | Data |
---|---|---|
5a03b7c3 MT |
1 | 2005-02-07 Jeff Johnston <jjohnstn@redhat.com> |
2 | ||
3 | * linux-nat.c (linux_nat_xfer_memory): Don't use | |
4 | linux_proc_xfer_memory for ia64. | |
5 | ||
6 | Index: gdb-6.8.50.20090803/gdb/linux-nat.c | |
7 | =================================================================== | |
8 | --- gdb-6.8.50.20090803.orig/gdb/linux-nat.c 2009-08-04 06:29:47.000000000 +0200 | |
9 | +++ gdb-6.8.50.20090803/gdb/linux-nat.c 2009-08-04 06:29:55.000000000 +0200 | |
10 | @@ -4495,10 +4495,15 @@ linux_xfer_partial (struct target_ops *o | |
11 | offset &= ((ULONGEST) 1 << addr_bit) - 1; | |
12 | } | |
13 | ||
14 | +#ifndef NATIVE_XFER_UNWIND_TABLE | |
15 | + /* FIXME: For ia64, we cannot currently use linux_proc_xfer_memory | |
16 | + for accessing thread storage. Revert when Bugzilla 147436 | |
17 | + is fixed. */ | |
18 | xfer = linux_proc_xfer_partial (ops, object, annex, readbuf, writebuf, | |
19 | offset, len); | |
20 | if (xfer != 0) | |
21 | return xfer; | |
22 | +#endif | |
23 | ||
24 | return super_xfer_partial (ops, object, annex, readbuf, writebuf, | |
25 | offset, len); |