OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | --- a/gdb/linux-nat.c |
2 | +++ b/gdb/linux-nat.c |
||
3 | @@ -17,6 +17,7 @@ |
||
4 | You should have received a copy of the GNU General Public License |
||
5 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
||
6 | |||
7 | +#include "stopcode.h" |
||
8 | #include "defs.h" |
||
9 | #include "inferior.h" |
||
10 | #include "infrun.h" |
||
11 | @@ -71,6 +72,10 @@ |
||
12 | #define SPUFS_MAGIC 0x23c9b64e |
||
13 | #endif |
||
14 | |||
15 | +#ifndef __SIGRTMIN |
||
16 | +#define __SIGRTMIN SIGRTMIN |
||
17 | +#endif |
||
18 | + |
||
19 | /* This comment documents high-level logic of this file. |
||
20 | |||
21 | Waiting for events in sync mode |
||
22 | --- /dev/null |
||
23 | +++ b/gdb/stopcode.h |
||
24 | @@ -0,0 +1,4 @@ |
||
25 | +#ifndef W_STOPCODE |
||
26 | +#define W_STOPCODE(sig) ((sig) << 8 | 0x7f) |
||
27 | +#endif |
||
28 | + |
||
29 | --- a/gdb/nat/ppc-linux.h |
||
30 | +++ b/gdb/nat/ppc-linux.h |
||
31 | @@ -18,7 +18,10 @@ |
||
32 | #ifndef PPC_LINUX_H |
||
33 | #define PPC_LINUX_H 1 |
||
34 | |||
35 | +#define pt_regs __pt_regs |
||
36 | #include <asm/ptrace.h> |
||
37 | +#undef pt_regs |
||
38 | + |
||
39 | #include <asm/cputable.h> |
||
40 | |||
41 | /* This sometimes isn't defined. */ |
||
42 | --- a/gdb/gdbserver/linux-ppc-low.c |
||
43 | +++ b/gdb/gdbserver/linux-ppc-low.c |
||
44 | @@ -21,7 +21,9 @@ |
||
45 | #include "linux-low.h" |
||
46 | |||
47 | #include <elf.h> |
||
48 | +#define pt_regs __pt_regs |
||
49 | #include <asm/ptrace.h> |
||
50 | +#undef pt_regs |
||
51 | |||
3 | office | 52 | #include "nat/ppc-linux.h" |
53 | #include "linux-ppc-tdesc.h" |