2022-02-07 08:39:53 +00:00
|
|
|
--- a/gdb-10.2.patch
|
|
|
|
+++ b/gdb-10.2.patch
|
2023-02-07 02:51:06 +00:00
|
|
|
@@ -2078,3 +2078,14 @@ exit 0
|
|
|
|
|
|
|
|
return new_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
|