diff options
author | Chris Packham <judge.packham@gmail.com> | 2022-05-08 14:27:39 +1200 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2022-05-10 19:46:53 +1200 |
commit | 3ac6f1791af77b682b1de4ad56157653aa566417 (patch) | |
tree | 77c6c505ed0ee6dfbc37c2cfaa08dc5c3472ed9a /packages/gdb | |
parent | c693d62b1256dc3857076cf6d74f31ff80d3f82c (diff) | |
download | crosstool-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')
40 files changed, 1 insertions, 1022 deletions
diff --git a/packages/gdb/7.11.1/0000-musl_fix.patch b/packages/gdb/7.11.1/0000-musl_fix.patch deleted file mode 100644 index 68297806..00000000 --- a/packages/gdb/7.11.1/0000-musl_fix.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- - gdb/linux-nat.c | 5 +++++ - gdb/stopcode.h | 4 ++++ - 2 files changed, 9 insertions(+) - ---- a/gdb/linux-nat.c -+++ b/gdb/linux-nat.c -@@ -17,6 +17,7 @@ - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ - -+#include "stopcode.h" - #include "defs.h" - #include "inferior.h" - #include "infrun.h" -@@ -71,6 +72,10 @@ - #define SPUFS_MAGIC 0x23c9b64e - #endif - -+#ifndef __SIGRTMIN -+#define __SIGRTMIN SIGRTMIN -+#endif -+ - /* This comment documents high-level logic of this file. - - Waiting for events in sync mode ---- /dev/null -+++ b/gdb/stopcode.h -@@ -0,0 +1,4 @@ -+#ifndef W_STOPCODE -+#define W_STOPCODE(sig) ((sig) << 8 | 0x7f) -+#endif -+ diff --git a/packages/gdb/7.11.1/0001-uclibc-no-gettimeofday-clobber.patch b/packages/gdb/7.11.1/0001-uclibc-no-gettimeofday-clobber.patch deleted file mode 100644 index e191e5c3..00000000 --- a/packages/gdb/7.11.1/0001-uclibc-no-gettimeofday-clobber.patch +++ /dev/null @@ -1,24 +0,0 @@ -Improve gnulib in gdb's guess work, gettimeofday() works in uClibcm promise. - -This patch helps building x86_64-unknown-linux-uclibc toolchains, the final -gdb-native step otherwise fails when linking the libinproctrace.so - -Signed-off-by: Joachim Nilsson <troglobit@gmail.com> - ---- - gdb/gnulib/configure | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - ---- a/gdb/gnulib/configure -+++ b/gdb/gnulib/configure -@@ -13520,8 +13520,9 @@ - if test "$cross_compiling" = yes; then : - # When cross-compiling: - case "$host_os" in -- # Guess all is fine on glibc systems. -+ # Guess all is fine on glibc/uclibc systems. - *-gnu*) gl_cv_func_gettimeofday_clobber="guessing no" ;; -+ *-uclibc*) gl_cv_func_gettimeofday_clobber="guessing no" ;; - # If we don't know, assume the worst. - *) gl_cv_func_gettimeofday_clobber="guessing yes" ;; - esac diff --git a/packages/gdb/7.11.1/0002-xtensa-make-sure-ar_base-is-initialized.patch b/packages/gdb/7.11.1/0002-xtensa-make-sure-ar_base-is-initialized.patch deleted file mode 100644 index 653f0e26..00000000 --- a/packages/gdb/7.11.1/0002-xtensa-make-sure-ar_base-is-initialized.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 208ea73d38c9c16cf983b6419f58050dbadcb6a9 Mon Sep 17 00:00:00 2001 -From: Max Filippov <jcmvbkbc@gmail.com> -Date: Sun, 7 Jun 2015 22:43:49 +0300 -Subject: [PATCH 2/2] xtensa: make sure ar_base is initialized - -ar_base is uninitialized for cores w/o windowed registers as their -regmap doesn't have register 0x0100. -Check that ar_base is initialized and if not initialize it with a0_base. - -gdb/ - * xtensa-tdep.c (xtensa_derive_tdep): Make sure ar_base is - initialized. - -Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> ---- - gdb/xtensa-tdep.c | 3 +++ - 1 file changed, 3 insertions(+) - ---- a/gdb/xtensa-tdep.c -+++ b/gdb/xtensa-tdep.c -@@ -3175,6 +3175,9 @@ - tdep->num_regs = n; - } - -+ if (tdep->ar_base == -1) -+ tdep->ar_base = tdep->a0_base; -+ - /* Number of pseudo registers. */ - tdep->num_pseudo_regs = n - tdep->num_regs; - diff --git a/packages/gdb/7.11.1/0003-WIP-end-of-prologue-detection-hack.patch b/packages/gdb/7.11.1/0003-WIP-end-of-prologue-detection-hack.patch deleted file mode 100644 index f47b4942..00000000 --- a/packages/gdb/7.11.1/0003-WIP-end-of-prologue-detection-hack.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 7f8eacbb468575fb67db7fd1155a3aedaa91911b Mon Sep 17 00:00:00 2001 -From: Max Filippov <jcmvbkbc@gmail.com> -Date: Sun, 7 Jun 2015 23:15:39 +0300 -Subject: [PATCH] WIP: *end of prologue* detection hack - -see - http://www.esp8266.com/viewtopic.php?p=18461#p18461 - http://www.esp8266.com/viewtopic.php?p=19026#p19026 - http://www.esp8266.com/viewtopic.php?p=19683#p19683 - -Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> ---- - gdb/xtensa-tdep.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/gdb/xtensa-tdep.c -+++ b/gdb/xtensa-tdep.c -@@ -2410,7 +2410,7 @@ - /* Find out, if we have an information about the prologue from DWARF. */ - prologue_sal = find_pc_line (start, 0); - if (prologue_sal.line != 0) /* Found debug info. */ -- body_pc = prologue_sal.end; -+ body_pc = prologue_sal.end + 40; - - /* If we are going to analyze the prologue in general without knowing about - the current PC, make the best assumtion for the end of the prologue. */ diff --git a/packages/gdb/7.11.1/0004-include-order.patch b/packages/gdb/7.11.1/0004-include-order.patch deleted file mode 100644 index c2f59527..00000000 --- a/packages/gdb/7.11.1/0004-include-order.patch +++ /dev/null @@ -1,43 +0,0 @@ -commit 5a6c3296a7a90694ad4042f6256f3da6d4fa4ee8 -Author: James Clarke <jrtc27@jrtc27.com> -Date: Fri Jan 19 17:22:49 2018 +0000 - - gdb: Fix ia64 defining TRAP_HWBKPT before including gdb_wait.h - - On ia64, gdb_wait.h eventually includes siginfo-consts-arch.h, which - contains an enum with TRAP_HWBKPT, along with a #define. Thus we cannot - define TRAP_HWBKPT to 4 beforehand, and so gdb_wait.h must be included - earlier; include it from linux-ptrace.h so it can never come afterwards. - - gdb/ChangeLog: - - * nat/linux-ptrace.c: Remove unnecessary reinclusion of - gdb_ptrace.h, and move including gdb_wait.h ... - * nat/linux-ptrace.h: ... to here. - ---- - gdb/nat/linux-ptrace.c | 2 -- - gdb/nat/linux-ptrace.h | 1 + - 2 files changed, 1 insertion(+), 2 deletions(-) - ---- a/gdb/nat/linux-ptrace.c -+++ b/gdb/nat/linux-ptrace.c -@@ -21,8 +21,6 @@ - #include "linux-procfs.h" - #include "linux-waitpid.h" - #include "buffer.h" --#include "gdb_wait.h" --#include "gdb_ptrace.h" - - /* Stores the ptrace options supported by the running kernel. - A value of -1 means we did not check for features yet. A value ---- a/gdb/nat/linux-ptrace.h -+++ b/gdb/nat/linux-ptrace.h -@@ -21,6 +21,7 @@ - struct buffer; - - #include "nat/gdb_ptrace.h" -+#include "gdb_wait.h" - - #ifdef __UCLIBC__ - #if !(defined(__UCLIBC_HAS_MMU__) || defined(__ARCH_HAS_MMU__)) 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. */ diff --git a/packages/gdb/7.11.1/chksum b/packages/gdb/7.11.1/chksum deleted file mode 100644 index c38f3429..00000000 --- a/packages/gdb/7.11.1/chksum +++ /dev/null @@ -1,8 +0,0 @@ -md5 gdb-7.11.1.tar.xz 5aa71522e488e358243917967db87476 -sha1 gdb-7.11.1.tar.xz df23fde077df1b8555949281bc963596f70de3ec -sha256 gdb-7.11.1.tar.xz e9216da4e3755e9f414c1aa0026b626251dfc57ffe572a266e98da4f6988fc70 -sha512 gdb-7.11.1.tar.xz f80ec6c8a0f0b54c8b945666e875809174402b7e121efb378ebac931a91f9a1cc0048568f8e2f42ae8ae2392ff8d144c2e51d41c7398935017450aaf29838360 -md5 gdb-7.11.1.tar.gz 88401d874046b0ba83f78f30e43c6ad8 -sha1 gdb-7.11.1.tar.gz 85d2ee70d28dc7c7a13edb1ef68ce45245a7c804 -sha256 gdb-7.11.1.tar.gz 57e9e9aa3172ee16aa1e9c66fef08b4393b51872cc153e3f1ffdf18a57440586 -sha512 gdb-7.11.1.tar.gz ae4e89efed2f0cce2f90653ac83a4971a5efe5eda2fe87a86dff6fb2d04fb043933e8688f86467715a3e2f9867db54af9cb7aaac48580fa597b703cda3323b72 diff --git a/packages/gdb/7.11.1/version.desc b/packages/gdb/7.11.1/version.desc deleted file mode 100644 index fcfe3891..00000000 --- a/packages/gdb/7.11.1/version.desc +++ /dev/null @@ -1 +0,0 @@ -obsolete='yes' diff --git a/packages/gdb/7.12.1/0000-musl_fix.patch b/packages/gdb/7.12.1/0000-musl_fix.patch deleted file mode 100644 index 68297806..00000000 --- a/packages/gdb/7.12.1/0000-musl_fix.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- - gdb/linux-nat.c | 5 +++++ - gdb/stopcode.h | 4 ++++ - 2 files changed, 9 insertions(+) - ---- a/gdb/linux-nat.c -+++ b/gdb/linux-nat.c -@@ -17,6 +17,7 @@ - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ - -+#include "stopcode.h" - #include "defs.h" - #include "inferior.h" - #include "infrun.h" -@@ -71,6 +72,10 @@ - #define SPUFS_MAGIC 0x23c9b64e - #endif - -+#ifndef __SIGRTMIN -+#define __SIGRTMIN SIGRTMIN -+#endif -+ - /* This comment documents high-level logic of this file. - - Waiting for events in sync mode ---- /dev/null -+++ b/gdb/stopcode.h -@@ -0,0 +1,4 @@ -+#ifndef W_STOPCODE -+#define W_STOPCODE(sig) ((sig) << 8 | 0x7f) -+#endif -+ diff --git a/packages/gdb/7.12.1/0001-uclibc-no-gettimeofday-clobber.patch b/packages/gdb/7.12.1/0001-uclibc-no-gettimeofday-clobber.patch deleted file mode 100644 index d6e70728..00000000 --- a/packages/gdb/7.12.1/0001-uclibc-no-gettimeofday-clobber.patch +++ /dev/null @@ -1,33 +0,0 @@ -Improve gnulib in gdb's guess work, gettimeofday() works in uClibcm promise. - -This patch helps building x86_64-unknown-linux-uclibc toolchains, the final -gdb-native step otherwise fails when linking the libinproctrace.so - -Signed-off-by: Joachim Nilsson <troglobit@gmail.com> -Signed-off-by: Alexey Neyman <stilor@att.net> - ---- - gdb/gnulib/configure | 1 + - gdb/gnulib/import/m4/gettimeofday.m4 | 1 + - 2 files changed, 2 insertions(+) - ---- a/gdb/gnulib/configure -+++ b/gdb/gnulib/configure -@@ -13522,6 +13522,7 @@ - case "$host_os" in - # Guess all is fine on glibc systems. - *-gnu*) gl_cv_func_gettimeofday_clobber="guessing no" ;; -+ *-uclibc*) gl_cv_func_gettimeofday_clobber="guessing no" ;; - # If we don't know, assume the worst. - *) gl_cv_func_gettimeofday_clobber="guessing yes" ;; - esac ---- a/gdb/gnulib/import/m4/gettimeofday.m4 -+++ b/gdb/gnulib/import/m4/gettimeofday.m4 -@@ -111,6 +111,7 @@ - case "$host_os" in - # Guess all is fine on glibc systems. - *-gnu*) gl_cv_func_gettimeofday_clobber="guessing no" ;; -+ *-uclibc*) gl_cv_func_gettimeofday_clobber="guessing no" ;; - # If we don't know, assume the worst. - *) gl_cv_func_gettimeofday_clobber="guessing yes" ;; - esac diff --git a/packages/gdb/7.12.1/0002-xtensa-make-sure-ar_base-is-initialized.patch b/packages/gdb/7.12.1/0002-xtensa-make-sure-ar_base-is-initialized.patch deleted file mode 100644 index 19eb69d2..00000000 --- a/packages/gdb/7.12.1/0002-xtensa-make-sure-ar_base-is-initialized.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 208ea73d38c9c16cf983b6419f58050dbadcb6a9 Mon Sep 17 00:00:00 2001 -From: Max Filippov <jcmvbkbc@gmail.com> -Date: Sun, 7 Jun 2015 22:43:49 +0300 -Subject: [PATCH 2/2] xtensa: make sure ar_base is initialized - -ar_base is uninitialized for cores w/o windowed registers as their -regmap doesn't have register 0x0100. -Check that ar_base is initialized and if not initialize it with a0_base. - -gdb/ - * xtensa-tdep.c (xtensa_derive_tdep): Make sure ar_base is - initialized. - -Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> ---- - gdb/xtensa-tdep.c | 3 +++ - 1 file changed, 3 insertions(+) - ---- a/gdb/xtensa-tdep.c -+++ b/gdb/xtensa-tdep.c -@@ -3174,6 +3174,9 @@ - tdep->num_regs = n; - } - -+ if (tdep->ar_base == -1) -+ tdep->ar_base = tdep->a0_base; -+ - /* Number of pseudo registers. */ - tdep->num_pseudo_regs = n - tdep->num_regs; - diff --git a/packages/gdb/7.12.1/0003-WIP-end-of-prologue-detection-hack.patch b/packages/gdb/7.12.1/0003-WIP-end-of-prologue-detection-hack.patch deleted file mode 100644 index f47b4942..00000000 --- a/packages/gdb/7.12.1/0003-WIP-end-of-prologue-detection-hack.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 7f8eacbb468575fb67db7fd1155a3aedaa91911b Mon Sep 17 00:00:00 2001 -From: Max Filippov <jcmvbkbc@gmail.com> -Date: Sun, 7 Jun 2015 23:15:39 +0300 -Subject: [PATCH] WIP: *end of prologue* detection hack - -see - http://www.esp8266.com/viewtopic.php?p=18461#p18461 - http://www.esp8266.com/viewtopic.php?p=19026#p19026 - http://www.esp8266.com/viewtopic.php?p=19683#p19683 - -Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> ---- - gdb/xtensa-tdep.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/gdb/xtensa-tdep.c -+++ b/gdb/xtensa-tdep.c -@@ -2410,7 +2410,7 @@ - /* Find out, if we have an information about the prologue from DWARF. */ - prologue_sal = find_pc_line (start, 0); - if (prologue_sal.line != 0) /* Found debug info. */ -- body_pc = prologue_sal.end; -+ body_pc = prologue_sal.end + 40; - - /* If we are going to analyze the prologue in general without knowing about - the current PC, make the best assumtion for the end of the prologue. */ diff --git a/packages/gdb/7.12.1/0004-allow-android.patch b/packages/gdb/7.12.1/0004-allow-android.patch deleted file mode 100644 index 9beb41b6..00000000 --- a/packages/gdb/7.12.1/0004-allow-android.patch +++ /dev/null @@ -1,45 +0,0 @@ ---- - gdb/gdbserver/configure | 11 ----------- - gdb/gdbserver/configure.ac | 11 ----------- - 2 files changed, 22 deletions(-) - ---- a/gdb/gdbserver/configure -+++ b/gdb/gdbserver/configure -@@ -6671,17 +6671,6 @@ - - - case "${target}" in -- *-android*) -- # Starting with NDK version 9, <elf.h> actually includes definitions -- # of Elf32_auxv_t and Elf64_auxv_t. But sadly, <elf.h> includes -- # <sys/exec_elf.h> which defines some of the ELF types incorrectly, -- # leading to conflicts with the defintions from <linux/elf.h>. -- # This makes it impossible for us to include both <elf.h> and -- # <linux/elf.h>, which means that, in practice, we do not have -- # access to Elf32_auxv_t and Elf64_auxv_t on this platform. -- # Therefore, do not try to auto-detect availability, as it would -- # get it wrong on this platform. -- ;; - *) - ac_fn_c_check_type "$LINENO" "Elf32_auxv_t" "ac_cv_type_Elf32_auxv_t" "#include <elf.h> - ---- a/gdb/gdbserver/configure.ac -+++ b/gdb/gdbserver/configure.ac -@@ -179,17 +179,6 @@ - ]) - - case "${target}" in -- *-android*) -- # Starting with NDK version 9, <elf.h> actually includes definitions -- # of Elf32_auxv_t and Elf64_auxv_t. But sadly, <elf.h> includes -- # <sys/exec_elf.h> which defines some of the ELF types incorrectly, -- # leading to conflicts with the defintions from <linux/elf.h>. -- # This makes it impossible for us to include both <elf.h> and -- # <linux/elf.h>, which means that, in practice, we do not have -- # access to Elf32_auxv_t and Elf64_auxv_t on this platform. -- # Therefore, do not try to auto-detect availability, as it would -- # get it wrong on this platform. -- ;; - *) - AC_CHECK_TYPES([Elf32_auxv_t, Elf64_auxv_t], [], [], - #include <elf.h> diff --git a/packages/gdb/7.12.1/0005-include-order.patch b/packages/gdb/7.12.1/0005-include-order.patch deleted file mode 100644 index 8cc1ea90..00000000 --- a/packages/gdb/7.12.1/0005-include-order.patch +++ /dev/null @@ -1,43 +0,0 @@ -commit 5a6c3296a7a90694ad4042f6256f3da6d4fa4ee8 -Author: James Clarke <jrtc27@jrtc27.com> -Date: Fri Jan 19 17:22:49 2018 +0000 - - gdb: Fix ia64 defining TRAP_HWBKPT before including gdb_wait.h - - On ia64, gdb_wait.h eventually includes siginfo-consts-arch.h, which - contains an enum with TRAP_HWBKPT, along with a #define. Thus we cannot - define TRAP_HWBKPT to 4 beforehand, and so gdb_wait.h must be included - earlier; include it from linux-ptrace.h so it can never come afterwards. - - gdb/ChangeLog: - - * nat/linux-ptrace.c: Remove unnecessary reinclusion of - gdb_ptrace.h, and move including gdb_wait.h ... - * nat/linux-ptrace.h: ... to here. - ---- - gdb/nat/linux-ptrace.c | 2 -- - gdb/nat/linux-ptrace.h | 1 + - 2 files changed, 1 insertion(+), 2 deletions(-) - ---- a/gdb/nat/linux-ptrace.c -+++ b/gdb/nat/linux-ptrace.c -@@ -21,8 +21,6 @@ - #include "linux-procfs.h" - #include "linux-waitpid.h" - #include "buffer.h" --#include "gdb_wait.h" --#include "gdb_ptrace.h" - #include <sys/procfs.h> - - /* Stores the ptrace options supported by the running kernel. ---- a/gdb/nat/linux-ptrace.h -+++ b/gdb/nat/linux-ptrace.h -@@ -21,6 +21,7 @@ - struct buffer; - - #include "nat/gdb_ptrace.h" -+#include "gdb_wait.h" - - #ifdef __UCLIBC__ - #if !(defined(__UCLIBC_HAS_MMU__) || defined(__ARCH_HAS_MMU__)) diff --git a/packages/gdb/7.12.1/0006-duplicate-typedef.patch b/packages/gdb/7.12.1/0006-duplicate-typedef.patch deleted file mode 100644 index 4d51a48c..00000000 --- a/packages/gdb/7.12.1/0006-duplicate-typedef.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- - gdb/event-loop.h | 4 ++++ - 1 file changed, 4 insertions(+) - ---- a/gdb/event-loop.h -+++ b/gdb/event-loop.h -@@ -66,6 +66,8 @@ - infinite loop. - - Corollary tasks are the creation and deletion of event sources. */ -+#ifndef _EVENT_LOOP_H_ -+#define _EVENT_LOOP_H_ - - typedef void *gdb_client_data; - struct async_signal_handler; -@@ -127,3 +129,5 @@ - extern void clear_async_event_handler (struct async_event_handler *handler); - - extern void initialize_async_signal_handlers (void); -+ -+#endif diff --git a/packages/gdb/7.12.1/chksum b/packages/gdb/7.12.1/chksum deleted file mode 100644 index 7cc3208c..00000000 --- a/packages/gdb/7.12.1/chksum +++ /dev/null @@ -1,8 +0,0 @@ -md5 gdb-7.12.1.tar.xz 193453347ddced7acb6b1cd2ee8f2e4b -sha1 gdb-7.12.1.tar.xz ef77c5345d6f9fdcdf7a5d8503301242b701936e -sha256 gdb-7.12.1.tar.xz 4607680b973d3ec92c30ad029f1b7dbde3876869e6b3a117d8a7e90081113186 -sha512 gdb-7.12.1.tar.xz 0ac8d0a495103611ef41167a08313a010dce6ca4c6d827cbe8558a0c1a1a8a6bfa53f1b7704251289cababbfaaf9e075550cdf741a54d6cd9ca3433d910efcd8 -md5 gdb-7.12.1.tar.gz 06c8f40521ed65fe36ebc2be29b56942 -sha1 gdb-7.12.1.tar.gz e0dfaa153d162ae23fd81d05ea87864a634b6da8 -sha256 gdb-7.12.1.tar.gz 142057eacecfb929d52b561eb47a1103c7d504cec3f659dd8a5ae7bc378f7e77 -sha512 gdb-7.12.1.tar.gz 84e7350bc5131a37ce593b9b7ad65160f0ccad172067592dad005c1a64da87b8dcf9471e4e5d882cb36c4c7a1ab5ecb6ef3b8549d8187dec0bf2852af435fc38 diff --git a/packages/gdb/7.12.1/version.desc b/packages/gdb/7.12.1/version.desc deleted file mode 100644 index fcfe3891..00000000 --- a/packages/gdb/7.12.1/version.desc +++ /dev/null @@ -1 +0,0 @@ -obsolete='yes' diff --git a/packages/gdb/8.0.1/0000-musl_fix.patch b/packages/gdb/8.0.1/0000-musl_fix.patch deleted file mode 100644 index 68297806..00000000 --- a/packages/gdb/8.0.1/0000-musl_fix.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- - gdb/linux-nat.c | 5 +++++ - gdb/stopcode.h | 4 ++++ - 2 files changed, 9 insertions(+) - ---- a/gdb/linux-nat.c -+++ b/gdb/linux-nat.c -@@ -17,6 +17,7 @@ - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ - -+#include "stopcode.h" - #include "defs.h" - #include "inferior.h" - #include "infrun.h" -@@ -71,6 +72,10 @@ - #define SPUFS_MAGIC 0x23c9b64e - #endif - -+#ifndef __SIGRTMIN -+#define __SIGRTMIN SIGRTMIN -+#endif -+ - /* This comment documents high-level logic of this file. - - Waiting for events in sync mode ---- /dev/null -+++ b/gdb/stopcode.h -@@ -0,0 +1,4 @@ -+#ifndef W_STOPCODE -+#define W_STOPCODE(sig) ((sig) << 8 | 0x7f) -+#endif -+ diff --git a/packages/gdb/8.0.1/0001-uclibc-no-gettimeofday-clobber.patch b/packages/gdb/8.0.1/0001-uclibc-no-gettimeofday-clobber.patch deleted file mode 100644 index 01fdfa1a..00000000 --- a/packages/gdb/8.0.1/0001-uclibc-no-gettimeofday-clobber.patch +++ /dev/null @@ -1,33 +0,0 @@ -Improve gnulib in gdb's guess work, gettimeofday() works in uClibcm promise. - -This patch helps building x86_64-unknown-linux-uclibc toolchains, the final -gdb-native step otherwise fails when linking the libinproctrace.so - -Signed-off-by: Joachim Nilsson <troglobit@gmail.com> -Signed-off-by: Alexey Neyman <stilor@att.net> - ---- - gdb/gnulib/configure | 1 + - gdb/gnulib/import/m4/gettimeofday.m4 | 1 + - 2 files changed, 2 insertions(+) - ---- a/gdb/gnulib/configure -+++ b/gdb/gnulib/configure -@@ -13868,6 +13868,7 @@ - case "$host_os" in - # Guess all is fine on glibc systems. - *-gnu*) gl_cv_func_gettimeofday_clobber="guessing no" ;; -+ *-uclibc*) gl_cv_func_gettimeofday_clobber="guessing no" ;; - # If we don't know, assume the worst. - *) gl_cv_func_gettimeofday_clobber="guessing yes" ;; - esac ---- a/gdb/gnulib/import/m4/gettimeofday.m4 -+++ b/gdb/gnulib/import/m4/gettimeofday.m4 -@@ -111,6 +111,7 @@ - case "$host_os" in - # Guess all is fine on glibc systems. - *-gnu*) gl_cv_func_gettimeofday_clobber="guessing no" ;; -+ *-uclibc*) gl_cv_func_gettimeofday_clobber="guessing no" ;; - # If we don't know, assume the worst. - *) gl_cv_func_gettimeofday_clobber="guessing yes" ;; - esac diff --git a/packages/gdb/8.0.1/0002-xtensa-make-sure-ar_base-is-initialized.patch b/packages/gdb/8.0.1/0002-xtensa-make-sure-ar_base-is-initialized.patch deleted file mode 100644 index d0567374..00000000 --- a/packages/gdb/8.0.1/0002-xtensa-make-sure-ar_base-is-initialized.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 208ea73d38c9c16cf983b6419f58050dbadcb6a9 Mon Sep 17 00:00:00 2001 -From: Max Filippov <jcmvbkbc@gmail.com> -Date: Sun, 7 Jun 2015 22:43:49 +0300 -Subject: [PATCH 2/2] xtensa: make sure ar_base is initialized - -ar_base is uninitialized for cores w/o windowed registers as their -regmap doesn't have register 0x0100. -Check that ar_base is initialized and if not initialize it with a0_base. - -gdb/ - * xtensa-tdep.c (xtensa_derive_tdep): Make sure ar_base is - initialized. - -Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> ---- - gdb/xtensa-tdep.c | 3 +++ - 1 file changed, 3 insertions(+) - ---- a/gdb/xtensa-tdep.c -+++ b/gdb/xtensa-tdep.c -@@ -3166,6 +3166,9 @@ - tdep->num_regs = n; - } - -+ if (tdep->ar_base == -1) -+ tdep->ar_base = tdep->a0_base; -+ - /* Number of pseudo registers. */ - tdep->num_pseudo_regs = n - tdep->num_regs; - diff --git a/packages/gdb/8.0.1/0003-WIP-end-of-prologue-detection-hack.patch b/packages/gdb/8.0.1/0003-WIP-end-of-prologue-detection-hack.patch deleted file mode 100644 index f47b4942..00000000 --- a/packages/gdb/8.0.1/0003-WIP-end-of-prologue-detection-hack.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 7f8eacbb468575fb67db7fd1155a3aedaa91911b Mon Sep 17 00:00:00 2001 -From: Max Filippov <jcmvbkbc@gmail.com> -Date: Sun, 7 Jun 2015 23:15:39 +0300 -Subject: [PATCH] WIP: *end of prologue* detection hack - -see - http://www.esp8266.com/viewtopic.php?p=18461#p18461 - http://www.esp8266.com/viewtopic.php?p=19026#p19026 - http://www.esp8266.com/viewtopic.php?p=19683#p19683 - -Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> ---- - gdb/xtensa-tdep.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/gdb/xtensa-tdep.c -+++ b/gdb/xtensa-tdep.c -@@ -2410,7 +2410,7 @@ - /* Find out, if we have an information about the prologue from DWARF. */ - prologue_sal = find_pc_line (start, 0); - if (prologue_sal.line != 0) /* Found debug info. */ -- body_pc = prologue_sal.end; -+ body_pc = prologue_sal.end + 40; - - /* If we are going to analyze the prologue in general without knowing about - the current PC, make the best assumtion for the end of the prologue. */ diff --git a/packages/gdb/8.0.1/0004-allow-android.patch b/packages/gdb/8.0.1/0004-allow-android.patch deleted file mode 100644 index b97871c6..00000000 --- a/packages/gdb/8.0.1/0004-allow-android.patch +++ /dev/null @@ -1,45 +0,0 @@ ---- - gdb/gdbserver/configure | 11 ----------- - gdb/gdbserver/configure.ac | 11 ----------- - 2 files changed, 22 deletions(-) - ---- a/gdb/gdbserver/configure -+++ b/gdb/gdbserver/configure -@@ -7539,17 +7539,6 @@ - - - case "${target}" in -- *-android*) -- # Starting with NDK version 9, <elf.h> actually includes definitions -- # of Elf32_auxv_t and Elf64_auxv_t. But sadly, <elf.h> includes -- # <sys/exec_elf.h> which defines some of the ELF types incorrectly, -- # leading to conflicts with the defintions from <linux/elf.h>. -- # This makes it impossible for us to include both <elf.h> and -- # <linux/elf.h>, which means that, in practice, we do not have -- # access to Elf32_auxv_t and Elf64_auxv_t on this platform. -- # Therefore, do not try to auto-detect availability, as it would -- # get it wrong on this platform. -- ;; - *) - ac_fn_c_check_type "$LINENO" "Elf32_auxv_t" "ac_cv_type_Elf32_auxv_t" "#include <elf.h> - ---- a/gdb/gdbserver/configure.ac -+++ b/gdb/gdbserver/configure.ac -@@ -176,17 +176,6 @@ - ]) - - case "${target}" in -- *-android*) -- # Starting with NDK version 9, <elf.h> actually includes definitions -- # of Elf32_auxv_t and Elf64_auxv_t. But sadly, <elf.h> includes -- # <sys/exec_elf.h> which defines some of the ELF types incorrectly, -- # leading to conflicts with the defintions from <linux/elf.h>. -- # This makes it impossible for us to include both <elf.h> and -- # <linux/elf.h>, which means that, in practice, we do not have -- # access to Elf32_auxv_t and Elf64_auxv_t on this platform. -- # Therefore, do not try to auto-detect availability, as it would -- # get it wrong on this platform. -- ;; - *) - AC_CHECK_TYPES([Elf32_auxv_t, Elf64_auxv_t], [], [], - #include <elf.h> diff --git a/packages/gdb/8.0.1/chksum b/packages/gdb/8.0.1/chksum deleted file mode 100644 index 681b4e9a..00000000 --- a/packages/gdb/8.0.1/chksum +++ /dev/null @@ -1,8 +0,0 @@ -md5 gdb-8.0.1.tar.xz 48cac527e6f3018b865ece021e9723ac -sha1 gdb-8.0.1.tar.xz faa945f77cf9bb5ae9530664f8b34ad21e38088f -sha256 gdb-8.0.1.tar.xz 3dbd5f93e36ba2815ad0efab030dcd0c7b211d7b353a40a53f4c02d7d56295e3 -sha512 gdb-8.0.1.tar.xz 5eb328910033f0918058be2f92caebf1e8dfc6caa3c730d99d621627e53de3c1b43761c2f683d53555893253c2f06768cbf56cdea051a3d291ffb6cfae87b5e1 -md5 gdb-8.0.1.tar.gz bb45869f8126a84ea2ba13a8c0e7c90e -sha1 gdb-8.0.1.tar.gz abb30c4fd7f66c830d879715cce5732bcf84f0f6 -sha256 gdb-8.0.1.tar.gz 52017d33cab5b6a92455a1a904046d075357abf24153470178c0aadca2d479c5 -sha512 gdb-8.0.1.tar.gz 58eb6150c908d67e6aed01d04bd321c7914e3e82fbb81a31e3050c4470e24e67cbe023b3f3edfb981225802441cf8b0d3d042195e96b6530058966cfdcd53c8d diff --git a/packages/gdb/8.0.1/version.desc b/packages/gdb/8.0.1/version.desc deleted file mode 100644 index fcfe3891..00000000 --- a/packages/gdb/8.0.1/version.desc +++ /dev/null @@ -1 +0,0 @@ -obsolete='yes' diff --git a/packages/gdb/8.1.1/0000-musl_fix.patch b/packages/gdb/8.1.1/0000-musl_fix.patch deleted file mode 100644 index 68297806..00000000 --- a/packages/gdb/8.1.1/0000-musl_fix.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- - gdb/linux-nat.c | 5 +++++ - gdb/stopcode.h | 4 ++++ - 2 files changed, 9 insertions(+) - ---- a/gdb/linux-nat.c -+++ b/gdb/linux-nat.c -@@ -17,6 +17,7 @@ - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ - -+#include "stopcode.h" - #include "defs.h" - #include "inferior.h" - #include "infrun.h" -@@ -71,6 +72,10 @@ - #define SPUFS_MAGIC 0x23c9b64e - #endif - -+#ifndef __SIGRTMIN -+#define __SIGRTMIN SIGRTMIN -+#endif -+ - /* This comment documents high-level logic of this file. - - Waiting for events in sync mode ---- /dev/null -+++ b/gdb/stopcode.h -@@ -0,0 +1,4 @@ -+#ifndef W_STOPCODE -+#define W_STOPCODE(sig) ((sig) << 8 | 0x7f) -+#endif -+ diff --git a/packages/gdb/8.1.1/0001-uclibc-no-gettimeofday-clobber.patch b/packages/gdb/8.1.1/0001-uclibc-no-gettimeofday-clobber.patch deleted file mode 100644 index c8b4a5e1..00000000 --- a/packages/gdb/8.1.1/0001-uclibc-no-gettimeofday-clobber.patch +++ /dev/null @@ -1,33 +0,0 @@ -Improve gnulib in gdb's guess work, gettimeofday() works in uClibcm promise. - -This patch helps building x86_64-unknown-linux-uclibc toolchains, the final -gdb-native step otherwise fails when linking the libinproctrace.so - -Signed-off-by: Joachim Nilsson <troglobit@gmail.com> -Signed-off-by: Alexey Neyman <stilor@att.net> - ---- - gdb/gnulib/configure | 1 + - gdb/gnulib/import/m4/gettimeofday.m4 | 1 + - 2 files changed, 2 insertions(+) - ---- a/gdb/gnulib/configure -+++ b/gdb/gnulib/configure -@@ -16790,6 +16790,7 @@ - case "$host_os" in - # Guess all is fine on glibc systems. - *-gnu*) gl_cv_func_gettimeofday_clobber="guessing no" ;; -+ *-uclibc*) gl_cv_func_gettimeofday_clobber="guessing no" ;; - # If we don't know, assume the worst. - *) gl_cv_func_gettimeofday_clobber="guessing yes" ;; - esac ---- a/gdb/gnulib/import/m4/gettimeofday.m4 -+++ b/gdb/gnulib/import/m4/gettimeofday.m4 -@@ -111,6 +111,7 @@ - case "$host_os" in - # Guess all is fine on glibc systems. - *-gnu*) gl_cv_func_gettimeofday_clobber="guessing no" ;; -+ *-uclibc*) gl_cv_func_gettimeofday_clobber="guessing no" ;; - # If we don't know, assume the worst. - *) gl_cv_func_gettimeofday_clobber="guessing yes" ;; - esac diff --git a/packages/gdb/8.1.1/0002-xtensa-make-sure-ar_base-is-initialized.patch b/packages/gdb/8.1.1/0002-xtensa-make-sure-ar_base-is-initialized.patch deleted file mode 100644 index 4a046fd0..00000000 --- a/packages/gdb/8.1.1/0002-xtensa-make-sure-ar_base-is-initialized.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 208ea73d38c9c16cf983b6419f58050dbadcb6a9 Mon Sep 17 00:00:00 2001 -From: Max Filippov <jcmvbkbc@gmail.com> -Date: Sun, 7 Jun 2015 22:43:49 +0300 -Subject: [PATCH 2/2] xtensa: make sure ar_base is initialized - -ar_base is uninitialized for cores w/o windowed registers as their -regmap doesn't have register 0x0100. -Check that ar_base is initialized and if not initialize it with a0_base. - -gdb/ - * xtensa-tdep.c (xtensa_derive_tdep): Make sure ar_base is - initialized. - -Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> ---- - gdb/xtensa-tdep.c | 3 +++ - 1 file changed, 3 insertions(+) - ---- a/gdb/xtensa-tdep.c -+++ b/gdb/xtensa-tdep.c -@@ -3157,6 +3157,9 @@ - tdep->num_regs = n; - } - -+ if (tdep->ar_base == -1) -+ tdep->ar_base = tdep->a0_base; -+ - /* Number of pseudo registers. */ - tdep->num_pseudo_regs = n - tdep->num_regs; - diff --git a/packages/gdb/8.1.1/0003-WIP-end-of-prologue-detection-hack.patch b/packages/gdb/8.1.1/0003-WIP-end-of-prologue-detection-hack.patch deleted file mode 100644 index 90cfc512..00000000 --- a/packages/gdb/8.1.1/0003-WIP-end-of-prologue-detection-hack.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 7f8eacbb468575fb67db7fd1155a3aedaa91911b Mon Sep 17 00:00:00 2001 -From: Max Filippov <jcmvbkbc@gmail.com> -Date: Sun, 7 Jun 2015 23:15:39 +0300 -Subject: [PATCH] WIP: *end of prologue* detection hack - -see - http://www.esp8266.com/viewtopic.php?p=18461#p18461 - http://www.esp8266.com/viewtopic.php?p=19026#p19026 - http://www.esp8266.com/viewtopic.php?p=19683#p19683 - -Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> ---- - gdb/xtensa-tdep.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/gdb/xtensa-tdep.c -+++ b/gdb/xtensa-tdep.c -@@ -2401,7 +2401,7 @@ - /* Find out, if we have an information about the prologue from DWARF. */ - prologue_sal = find_pc_line (start, 0); - if (prologue_sal.line != 0) /* Found debug info. */ -- body_pc = prologue_sal.end; -+ body_pc = prologue_sal.end + 40; - - /* If we are going to analyze the prologue in general without knowing about - the current PC, make the best assumtion for the end of the prologue. */ diff --git a/packages/gdb/8.1.1/0004-allow-android.patch b/packages/gdb/8.1.1/0004-allow-android.patch deleted file mode 100644 index cd47494e..00000000 --- a/packages/gdb/8.1.1/0004-allow-android.patch +++ /dev/null @@ -1,45 +0,0 @@ ---- - gdb/gdbserver/configure | 11 ----------- - gdb/gdbserver/configure.ac | 11 ----------- - 2 files changed, 22 deletions(-) - ---- a/gdb/gdbserver/configure -+++ b/gdb/gdbserver/configure -@@ -7565,17 +7565,6 @@ - - - case "${target}" in -- *-android*) -- # Starting with NDK version 9, <elf.h> actually includes definitions -- # of Elf32_auxv_t and Elf64_auxv_t. But sadly, <elf.h> includes -- # <sys/exec_elf.h> which defines some of the ELF types incorrectly, -- # leading to conflicts with the defintions from <linux/elf.h>. -- # This makes it impossible for us to include both <elf.h> and -- # <linux/elf.h>, which means that, in practice, we do not have -- # access to Elf32_auxv_t and Elf64_auxv_t on this platform. -- # Therefore, do not try to auto-detect availability, as it would -- # get it wrong on this platform. -- ;; - *) - ac_fn_c_check_type "$LINENO" "Elf32_auxv_t" "ac_cv_type_Elf32_auxv_t" "#include <elf.h> - ---- a/gdb/gdbserver/configure.ac -+++ b/gdb/gdbserver/configure.ac -@@ -195,17 +195,6 @@ - ]) - - case "${target}" in -- *-android*) -- # Starting with NDK version 9, <elf.h> actually includes definitions -- # of Elf32_auxv_t and Elf64_auxv_t. But sadly, <elf.h> includes -- # <sys/exec_elf.h> which defines some of the ELF types incorrectly, -- # leading to conflicts with the defintions from <linux/elf.h>. -- # This makes it impossible for us to include both <elf.h> and -- # <linux/elf.h>, which means that, in practice, we do not have -- # access to Elf32_auxv_t and Elf64_auxv_t on this platform. -- # Therefore, do not try to auto-detect availability, as it would -- # get it wrong on this platform. -- ;; - *) - AC_CHECK_TYPES([Elf32_auxv_t, Elf64_auxv_t], [], [], - #include <elf.h> diff --git a/packages/gdb/8.1.1/chksum b/packages/gdb/8.1.1/chksum deleted file mode 100644 index 50dc2ae2..00000000 --- a/packages/gdb/8.1.1/chksum +++ /dev/null @@ -1,8 +0,0 @@ -md5 gdb-8.1.1.tar.xz 372fa63a53adeee1bfbfd581d8da9e34 -sha1 gdb-8.1.1.tar.xz 8c04c12f11b5ba74e7506785632c7fc593ead90f -sha256 gdb-8.1.1.tar.xz 97dcc3169bd430270fc29adb65145846a58c1b55cdbb73382a4a89307bdad03c -sha512 gdb-8.1.1.tar.xz 7dcd5e8c90de92f577834d887b5f54edb93a07083bfe661bc46c270a6cc4919f0b348e7e2fe8ae4511298a570ef150eeefdc667ef7cf527f0cf60943177ab6c9 -md5 gdb-8.1.1.tar.gz 73919964409462c28879134853fbb8da -sha1 gdb-8.1.1.tar.gz 815dfd374fc8d8613e819bf518b834d78a4c3114 -sha256 gdb-8.1.1.tar.gz 038623e5693d40a3048b014cd62c965e720f7bdbf326ff341b25de344a33fe11 -sha512 gdb-8.1.1.tar.gz 28ddf36fdf15e8f6ae0e4367756325f22b5eb72e689af1797f4265eea7551362a42850510bf67d4ca7fdb2e45a14ba198973c9fe8e19c89b7512af930026a5a6 diff --git a/packages/gdb/8.1.1/version.desc b/packages/gdb/8.1.1/version.desc deleted file mode 100644 index fcfe3891..00000000 --- a/packages/gdb/8.1.1/version.desc +++ /dev/null @@ -1 +0,0 @@ -obsolete='yes' diff --git a/packages/gdb/8.2.1/0000-musl_fix.patch b/packages/gdb/8.2.1/0000-musl_fix.patch deleted file mode 100644 index 68297806..00000000 --- a/packages/gdb/8.2.1/0000-musl_fix.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- - gdb/linux-nat.c | 5 +++++ - gdb/stopcode.h | 4 ++++ - 2 files changed, 9 insertions(+) - ---- a/gdb/linux-nat.c -+++ b/gdb/linux-nat.c -@@ -17,6 +17,7 @@ - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ - -+#include "stopcode.h" - #include "defs.h" - #include "inferior.h" - #include "infrun.h" -@@ -71,6 +72,10 @@ - #define SPUFS_MAGIC 0x23c9b64e - #endif - -+#ifndef __SIGRTMIN -+#define __SIGRTMIN SIGRTMIN -+#endif -+ - /* This comment documents high-level logic of this file. - - Waiting for events in sync mode ---- /dev/null -+++ b/gdb/stopcode.h -@@ -0,0 +1,4 @@ -+#ifndef W_STOPCODE -+#define W_STOPCODE(sig) ((sig) << 8 | 0x7f) -+#endif -+ diff --git a/packages/gdb/8.2.1/0001-uclibc-no-gettimeofday-clobber.patch b/packages/gdb/8.2.1/0001-uclibc-no-gettimeofday-clobber.patch deleted file mode 100644 index 3bb6c200..00000000 --- a/packages/gdb/8.2.1/0001-uclibc-no-gettimeofday-clobber.patch +++ /dev/null @@ -1,33 +0,0 @@ -Improve gnulib in gdb's guess work, gettimeofday() works in uClibcm promise. - -This patch helps building x86_64-unknown-linux-uclibc toolchains, the final -gdb-native step otherwise fails when linking the libinproctrace.so - -Signed-off-by: Joachim Nilsson <troglobit@gmail.com> -Signed-off-by: Alexey Neyman <stilor@att.net> - ---- - gdb/gnulib/configure | 1 + - gdb/gnulib/import/m4/gettimeofday.m4 | 1 + - 2 files changed, 2 insertions(+) - ---- a/gdb/gnulib/configure -+++ b/gdb/gnulib/configure -@@ -17214,6 +17214,7 @@ - case "$host_os" in - # Guess all is fine on glibc systems. - *-gnu*) gl_cv_func_gettimeofday_clobber="guessing no" ;; -+ *-uclibc*) gl_cv_func_gettimeofday_clobber="guessing no" ;; - # If we don't know, assume the worst. - *) gl_cv_func_gettimeofday_clobber="guessing yes" ;; - esac ---- a/gdb/gnulib/import/m4/gettimeofday.m4 -+++ b/gdb/gnulib/import/m4/gettimeofday.m4 -@@ -111,6 +111,7 @@ - case "$host_os" in - # Guess all is fine on glibc systems. - *-gnu*) gl_cv_func_gettimeofday_clobber="guessing no" ;; -+ *-uclibc*) gl_cv_func_gettimeofday_clobber="guessing no" ;; - # If we don't know, assume the worst. - *) gl_cv_func_gettimeofday_clobber="guessing yes" ;; - esac diff --git a/packages/gdb/8.2.1/0002-xtensa-make-sure-ar_base-is-initialized.patch b/packages/gdb/8.2.1/0002-xtensa-make-sure-ar_base-is-initialized.patch deleted file mode 100644 index 8c0ffa1e..00000000 --- a/packages/gdb/8.2.1/0002-xtensa-make-sure-ar_base-is-initialized.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 208ea73d38c9c16cf983b6419f58050dbadcb6a9 Mon Sep 17 00:00:00 2001 -From: Max Filippov <jcmvbkbc@gmail.com> -Date: Sun, 7 Jun 2015 22:43:49 +0300 -Subject: [PATCH 2/2] xtensa: make sure ar_base is initialized - -ar_base is uninitialized for cores w/o windowed registers as their -regmap doesn't have register 0x0100. -Check that ar_base is initialized and if not initialize it with a0_base. - -gdb/ - * xtensa-tdep.c (xtensa_derive_tdep): Make sure ar_base is - initialized. - -Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> ---- - gdb/xtensa-tdep.c | 3 +++ - 1 file changed, 3 insertions(+) - ---- a/gdb/xtensa-tdep.c -+++ b/gdb/xtensa-tdep.c -@@ -3151,6 +3151,9 @@ - if (tdep->num_regs == 0) - tdep->num_regs = tdep->num_nopriv_regs; - -+ if (tdep->ar_base == -1) -+ tdep->ar_base = tdep->a0_base; -+ - /* Number of pseudo registers. */ - tdep->num_pseudo_regs = n - tdep->num_regs; - diff --git a/packages/gdb/8.2.1/0003-WIP-end-of-prologue-detection-hack.patch b/packages/gdb/8.2.1/0003-WIP-end-of-prologue-detection-hack.patch deleted file mode 100644 index dca5a2fb..00000000 --- a/packages/gdb/8.2.1/0003-WIP-end-of-prologue-detection-hack.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 7f8eacbb468575fb67db7fd1155a3aedaa91911b Mon Sep 17 00:00:00 2001 -From: Max Filippov <jcmvbkbc@gmail.com> -Date: Sun, 7 Jun 2015 23:15:39 +0300 -Subject: [PATCH] WIP: *end of prologue* detection hack - -see - http://www.esp8266.com/viewtopic.php?p=18461#p18461 - http://www.esp8266.com/viewtopic.php?p=19026#p19026 - http://www.esp8266.com/viewtopic.php?p=19683#p19683 - -Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> ---- - gdb/xtensa-tdep.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/gdb/xtensa-tdep.c -+++ b/gdb/xtensa-tdep.c -@@ -2399,7 +2399,7 @@ - /* Find out, if we have an information about the prologue from DWARF. */ - prologue_sal = find_pc_line (start, 0); - if (prologue_sal.line != 0) /* Found debug info. */ -- body_pc = prologue_sal.end; -+ body_pc = prologue_sal.end + 40; - - /* If we are going to analyze the prologue in general without knowing about - the current PC, make the best assumtion for the end of the prologue. */ diff --git a/packages/gdb/8.2.1/0004-allow-android.patch b/packages/gdb/8.2.1/0004-allow-android.patch deleted file mode 100644 index c14d3df4..00000000 --- a/packages/gdb/8.2.1/0004-allow-android.patch +++ /dev/null @@ -1,45 +0,0 @@ ---- - gdb/gdbserver/configure | 11 ----------- - gdb/gdbserver/configure.ac | 11 ----------- - 2 files changed, 22 deletions(-) - ---- a/gdb/gdbserver/configure -+++ b/gdb/gdbserver/configure -@@ -7645,17 +7645,6 @@ - - - case "${target}" in -- *-android*) -- # Starting with NDK version 9, <elf.h> actually includes definitions -- # of Elf32_auxv_t and Elf64_auxv_t. But sadly, <elf.h> includes -- # <sys/exec_elf.h> which defines some of the ELF types incorrectly, -- # leading to conflicts with the defintions from <linux/elf.h>. -- # This makes it impossible for us to include both <elf.h> and -- # <linux/elf.h>, which means that, in practice, we do not have -- # access to Elf32_auxv_t and Elf64_auxv_t on this platform. -- # Therefore, do not try to auto-detect availability, as it would -- # get it wrong on this platform. -- ;; - *) - ac_fn_c_check_type "$LINENO" "Elf32_auxv_t" "ac_cv_type_Elf32_auxv_t" "#include <elf.h> - ---- a/gdb/gdbserver/configure.ac -+++ b/gdb/gdbserver/configure.ac -@@ -193,17 +193,6 @@ - ]) - - case "${target}" in -- *-android*) -- # Starting with NDK version 9, <elf.h> actually includes definitions -- # of Elf32_auxv_t and Elf64_auxv_t. But sadly, <elf.h> includes -- # <sys/exec_elf.h> which defines some of the ELF types incorrectly, -- # leading to conflicts with the defintions from <linux/elf.h>. -- # This makes it impossible for us to include both <elf.h> and -- # <linux/elf.h>, which means that, in practice, we do not have -- # access to Elf32_auxv_t and Elf64_auxv_t on this platform. -- # Therefore, do not try to auto-detect availability, as it would -- # get it wrong on this platform. -- ;; - *) - AC_CHECK_TYPES([Elf32_auxv_t, Elf64_auxv_t], [], [], - #include <elf.h> diff --git a/packages/gdb/8.2.1/0005-musl-aarch64-sigcontext.patch b/packages/gdb/8.2.1/0005-musl-aarch64-sigcontext.patch deleted file mode 100644 index a45a8c18..00000000 --- a/packages/gdb/8.2.1/0005-musl-aarch64-sigcontext.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- - gdb/nat/aarch64-sve-linux-ptrace.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/gdb/nat/aarch64-sve-linux-ptrace.h -+++ b/gdb/nat/aarch64-sve-linux-ptrace.h -@@ -20,7 +20,7 @@ - #ifndef AARCH64_SVE_LINUX_PTRACE_H - #define AARCH64_SVE_LINUX_PTRACE_H - --#include <asm/sigcontext.h> -+#include <signal.h> - #include <sys/utsname.h> - #include <sys/ptrace.h> - #include <asm/ptrace.h> diff --git a/packages/gdb/8.2.1/chksum b/packages/gdb/8.2.1/chksum deleted file mode 100644 index 33aae757..00000000 --- a/packages/gdb/8.2.1/chksum +++ /dev/null @@ -1,8 +0,0 @@ -md5 gdb-8.2.1.tar.xz f8b2562e830a4098dd5b5ea9e9296c70 -sha1 gdb-8.2.1.tar.xz 023556a6d6effa1ffaadf0007cc4458cbe8dde3d -sha256 gdb-8.2.1.tar.xz 0a6a432907a03c5c8eaad3c3cffd50c00a40c3a5e3c4039440624bae703f2202 -sha512 gdb-8.2.1.tar.xz 2aa81cfd389bb48c35d7d9f95cc10e88b4f7ad4597bdde0f8f1fd312f60f10d9fb2cc6e5a9355227d89ff328f7feb0fc411a69394560cafeb9fa75d35d896d11 -md5 gdb-8.2.1.tar.gz 6a11cc642b626541777d9e5f96ae406f -sha1 gdb-8.2.1.tar.gz d6e40134c92e0f10636455cded0312cc799672c9 -sha256 gdb-8.2.1.tar.gz 0107985f1edb8dddef6cdd68a4f4e419f5fec0f488cc204f0b7d482c0c6c9282 -sha512 gdb-8.2.1.tar.gz 13f557290c7b3fbb99f90d95478d8c3b74f9222cfc391cbb0baad2eb7de76e31513521e4dfffcbbf4d7ab84fa72602df0e38c32666d598ac43ef12823deb84fa diff --git a/packages/gdb/8.2.1/version.desc b/packages/gdb/8.2.1/version.desc deleted file mode 100644 index fcfe3891..00000000 --- a/packages/gdb/8.2.1/version.desc +++ /dev/null @@ -1 +0,0 @@ -obsolete='yes' diff --git a/packages/gdb/package.desc b/packages/gdb/package.desc index bdd806ab..6203edf8 100644 --- a/packages/gdb/package.desc +++ b/packages/gdb/package.desc @@ -2,5 +2,5 @@ origin='GNU' repository='git git://sourceware.org/git/binutils-gdb.git' mirrors='$(CT_Mirrors GNU gdb) $(CT_Mirrors sourceware gdb/releases)' relevantpattern='[78].*|. *|.' -milestones='7.11 7.12 8.0 8.3 10 11' +milestones='8.3 10 11' archive_formats='.tar.xz .tar.gz' |