| 1 | diff -u -r ../gdb-7.8.1/gdb/config/nm-linux.h ./gdb/config/nm-linux.h |
| 2 | --- ../gdb-7.8.1/gdb/config/nm-linux.h 2014-06-11 12:34:41.000000000 -0400 |
| 3 | +++ ./gdb/config/nm-linux.h 2014-12-22 07:45:14.127701891 -0500 |
| 4 | @@ -20,5 +20,20 @@ |
| 5 | /* Use elf_gregset_t and elf_fpregset_t, rather than |
| 6 | gregset_t and fpregset_t. */ |
| 7 | |
| 8 | +#ifndef NM_CONFIG_LINUX_H |
| 9 | +#define NM_CONFIG_LINUX_H |
| 10 | + |
| 11 | +#include <sys/ucontext.h> |
| 12 | + |
| 13 | +#ifdef __arm__ |
| 14 | +/* Structure to describe FPU registers. */ |
| 15 | +typedef struct fpregset { } fpregset_t; |
| 16 | +#endif |
| 17 | + |
| 18 | +typedef gregset_t elf_gregset_t; |
| 19 | +typedef fpregset_t elf_fpregset_t; |
| 20 | + |
| 21 | #define GDB_GREGSET_T elf_gregset_t |
| 22 | #define GDB_FPREGSET_T elf_fpregset_t |
| 23 | + |
| 24 | +#endif |