Sorry about it, Florian. I should provide an example to describe more details as below:
...
+ gdb-10.2/readline/readline/configure.ac \
exit 0
@@ -2078,3 +2085,1013 @@ exit 0
return new_type;
}
+diff --git gdb-10.2.orig/bfd/elf-bfd.h gdb-10.2/bfd/elf-bfd.h --->remove
+index eebdf9a..775d96c 100644 --->remove
+--- gdb-10.2.orig/bfd/elf-bfd.h --->change to gdb-10.2/bfd/elf-bfd.h.orig
++++ gdb-10.2/bfd/elf-bfd.h
+@@ -27,6 +27,8 @@
+ #include "elf/internal.h"
+ #include "bfdlink.h"
+
++#include <string.h>
++
The above styles are currently recommended and can be consistent with the current gdb-10.2.patch.
Hope this helps.
Thanks.