aboutsummaryrefslogtreecommitdiff
path: root/packages/gdb/7.11.1/0005-include-gregset.h.patch
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2022-05-08 14:27:39 +1200
committerChris Packham <judge.packham@gmail.com>2022-05-10 19:46:53 +1200
commit3ac6f1791af77b682b1de4ad56157653aa566417 (patch)
tree77c6c505ed0ee6dfbc37c2cfaa08dc5c3472ed9a /packages/gdb/7.11.1/0005-include-gregset.h.patch
parentc693d62b1256dc3857076cf6d74f31ff80d3f82c (diff)
downloadcrosstool-ng-3ac6f1791af77b682b1de4ad56157653aa566417.tar.gz
crosstool-ng-3ac6f1791af77b682b1de4ad56157653aa566417.tar.bz2
crosstool-ng-3ac6f1791af77b682b1de4ad56157653aa566417.zip
gdb: drop obsolete versions
Drop gdb 7.11.1, 7.12.1, 8.0.1, 8.1.1 and 8.2.1. Cleanup milestones related to these older versions. Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'packages/gdb/7.11.1/0005-include-gregset.h.patch')
-rw-r--r--packages/gdb/7.11.1/0005-include-gregset.h.patch73
1 files changed, 0 insertions, 73 deletions
diff --git a/packages/gdb/7.11.1/0005-include-gregset.h.patch b/packages/gdb/7.11.1/0005-include-gregset.h.patch
deleted file mode 100644
index 9a588ba1..00000000
--- a/packages/gdb/7.11.1/0005-include-gregset.h.patch
+++ /dev/null
@@ -1,73 +0,0 @@
-commit 31925464a80970e37c06192a0c49f8948a2f5da0
-Author: Matthew Wahab <matthew.wahab@arm.com>
-Date: Mon Aug 15 13:09:04 2016 +0100
-
- [GDB] Fix builds broken by proc-service changes.
-
- GLIBC BZ#20311 introduced a change to install proc_service.h so that gdb
- didn't have to use the version it embeds in gdb_proc_service.h. The
- embedded version is guarded by HAVE_PROC_SERVICE_H and
- gdb_proc_service.h has a number other of includes and definitions, all
- of which are uncondional except for an include for gregset.h. This is
- only included if HAVE_PROC_SERIVCE_H is not defined.
-
- This causes a build failure when cross compiling gdb with the latest
- glibc because type definitions in gregset are used independently of
- HAVE_PROC_SERIVCE_H. In particular, they are used in gdb_proc_service.h
- when PRFPREGSET_T_BROKEN is set.
-
- The error messages on the failure are
- ----
- binutils-gdb/gdb/gdb_proc_service.h:173:9: error: ‘gdb_fpregset_t’ does
- not name a type; did you mean ‘elf_fpregset_t’?
- typedef gdb_fpregset_t gdb_prfpregset_t;
- ^~~~~~~~~~~~~~
- elf_fpregset_t
-
- binutils-gdb/gdb/gdb_proc_service.h:173:9: error: ‘gdb_fpregset_t’ does
- not name a type; did you mean ‘elf_fpregset_t’?
- typedef gdb_fpregset_t gdb_prfpregset_t;
- ^~~~~~~~~~~~~~
- elf_fpregset_t
-
- binutils-gdb/gdb/proc-service.c:218:15: error: ‘gdb_prfpregset_t’ does
- not name a type; did you mean ‘gdb_fpregset_t’?
- const gdb_prfpregset_t *fpregset)
- ^~~~~~~~~~~~~~~~
- gdb_fpregset_t
- ----
-
- This patch moves the include for gregset.h to before the code guarded by
- HAVE_PROC_SERIVCE_H, so that it is always included. This is enough to
- fix the build.
-
- 2016-08-15 Matthew Wahab <matthew.wahab@arm.com>
-
- PR gdb/20457
- * gdb_proc_service.h: Add an include of gregset.h
- [!HAVE_PROC_SERVICE_H]: Remove the include of gregset.h.
-
----
- gdb/gdb_proc_service.h | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
---- a/gdb/gdb_proc_service.h
-+++ b/gdb/gdb_proc_service.h
-@@ -21,6 +21,8 @@
-
- #include <sys/types.h>
-
-+#include "gregset.h"
-+
- #ifdef HAVE_PROC_SERVICE_H
-
- /* glibc's proc_service.h doesn't wrap itself with extern "C". Need
-@@ -60,8 +62,6 @@
- #include <sys/procfs.h>
- #endif
-
--#include "gregset.h"
--
- EXTERN_C_PUSH
-
- /* Functions in this interface return one of these status codes. */