2022-02-07 08:39:53 +00:00
|
|
|
--- a/gdb-10.2.patch
|
|
|
|
+++ b/gdb-10.2.patch
|
2022-09-22 03:27:16 +00:00
|
|
|
@@ -1737,3 +1737,14 @@ exit 0
|
|
|
|
struct field *nextfield;
|
|
|
|
short nfields;
|
|
|
|
struct type *typedef_type, *target_type;
|
2022-02-07 08:39:53 +00:00
|
|
|
+--- gdb-10.2/gnulib/import/libc-config.h.orig
|
|
|
|
++++ gdb-10.2/gnulib/import/libc-config.h
|
|
|
|
+@@ -156,7 +156,7 @@
|
|
|
|
+ #undef __warndecl
|
2022-05-01 07:58:19 +00:00
|
|
|
+
|
2022-02-07 08:39:53 +00:00
|
|
|
+ /* Include our copy of glibc <sys/cdefs.h>. */
|
|
|
|
+-#include <cdefs.h>
|
|
|
|
++#include <sys/cdefs.h>
|
2022-05-01 07:58:19 +00:00
|
|
|
+
|
2022-02-07 08:39:53 +00:00
|
|
|
+ /* <cdefs.h> __inline is too pessimistic for non-GCC. */
|
|
|
|
+ #undef __inline
|