chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / gdb / gregset.h.patch
1 diff -u -r ../gdb-7.8.1/gdb/gregset.h ./gdb/gregset.h
2 --- ../gdb-7.8.1/gdb/gregset.h  2014-06-11 12:34:41.000000000 -0400
3 +++ ./gdb/gregset.h     2014-12-22 07:09:39.011700414 -0500
4 @@ -23,13 +23,7 @@
5  #include <sys/procfs.h>
6  #endif
7  
8 -#ifndef GDB_GREGSET_T
9 -#define GDB_GREGSET_T gregset_t
10 -#endif
11 -
12 -#ifndef GDB_FPREGSET_T
13 -#define GDB_FPREGSET_T fpregset_t
14 -#endif
15 +#include "nm.h"
16  
17  typedef GDB_GREGSET_T gdb_gregset_t;
18  typedef GDB_FPREGSET_T gdb_fpregset_t;