avr32: use 4.4.x, serial is broken in 4.9.x
[openadk.git] / package / gdb-microblaze / patches / patch-gdb_sgidefs_h
blobbdba952eebe759caf725a62461b9358d8156388e
1 --- gdb-7.8.2.orig/gdb/sgidefs.h        1970-01-01 00:00:00.000000000 +0100
2 +++ gdb-7.8.2/gdb/sgidefs.h     2016-09-20 19:56:32.003878822 +0200
3 @@ -0,0 +1,30 @@
4 +#ifndef _SGIDEFS_H
5 +#define _SGIDEFS_H
7 +/* MIPS ABI crap that GLIBC puts into /include
8 +by default, and GDB depends on it happily. */
10 +#define _MIPS_ISA_MIPS1 1
11 +#define _MIPS_ISA_MIPS2 2
12 +#define _MIPS_ISA_MIPS3 3
13 +#define _MIPS_ISA_MIPS4 4
14 +#define _MIPS_ISA_MIPS5 5
15 +#define _MIPS_ISA_MIPS32 6
16 +#define _MIPS_ISA_MIPS64 7
18 +#ifndef _ABIO32
19 +#define _ABIO32 1
20 +#endif
21 +#define _MIPS_SIM_ABI32 _ABIO32
23 +#ifndef _ABIN32
24 +#define _ABIN32 2
25 +#endif
26 +#define _MIPS_SIM_NABI32 _ABIN32
28 +#ifndef _ABI64
29 +#define _ABI64 3
30 +#endif
31 +#define _MIPS_SIM_ABI64 _ABI64
33 +#endif