diff options
author | Alexey Neyman <stilor@att.net> | 2017-10-23 23:04:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-23 23:04:03 (GMT) |
commit | aec73d9cb8cb113c1726df0e24e3d2f46fa1350b (patch) | |
tree | 021618d4d519d6ab2cc5e2909fd2a530397b2c44 /packages/gdb/8.0 | |
parent | 6a8eb24df62ed45e175c10212b529134d3b7405e (diff) | |
parent | 8e5de7fcbf123c52fe74666396cebbd21a9d34aa (diff) |
Merge pull request #850 from stilor/upgrades
Upgrades: gcc 5.5, gdb 8.0.1, musl 1.1.17, Linux
Diffstat (limited to 'packages/gdb/8.0')
-rw-r--r-- | packages/gdb/8.0/100-musl_fix.patch | 28 | ||||
-rw-r--r-- | packages/gdb/8.0/101-uclibc-no-gettimeofday-clobber.patch | 30 | ||||
-rw-r--r-- | packages/gdb/8.0/111-xtensa-make-sure-ar_base-is-initialized.patch | 35 | ||||
-rw-r--r-- | packages/gdb/8.0/112-WIP-end-of-prologue-detection-hack.patch | 31 | ||||
-rw-r--r-- | packages/gdb/8.0/200-allow-android.patch | 42 | ||||
-rw-r--r-- | packages/gdb/8.0/chksum | 8 | ||||
-rw-r--r-- | packages/gdb/8.0/version.desc | 0 |
7 files changed, 0 insertions, 174 deletions
diff --git a/packages/gdb/8.0/100-musl_fix.patch b/packages/gdb/8.0/100-musl_fix.patch deleted file mode 100644 index c0c1e0a..0000000 --- a/packages/gdb/8.0/100-musl_fix.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- 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" -@@ -73,6 +74,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/101-uclibc-no-gettimeofday-clobber.patch b/packages/gdb/8.0/101-uclibc-no-gettimeofday-clobber.patch deleted file mode 100644 index cd7a4c6..0000000 --- a/packages/gdb/8.0/101-uclibc-no-gettimeofday-clobber.patch +++ /dev/null @@ -1,30 +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> - -diff -urpN gdb-7.12.orig/gdb/gnulib/configure gdb-7.12/gdb/gnulib/configure ---- gdb-7.12.orig/gdb/gnulib/configure 2017-01-13 13:42:11.773027566 -0800 -+++ gdb-7.12/gdb/gnulib/configure 2017-01-13 13:44:32.518082618 -0800 -@@ -13522,6 +13522,7 @@ else - 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 -urpN gdb-7.12.orig/gdb/gnulib/import/m4/gettimeofday.m4 gdb-7.12/gdb/gnulib/import/m4/gettimeofday.m4 ---- gdb-7.12.orig/gdb/gnulib/import/m4/gettimeofday.m4 2017-01-13 13:42:11.777027595 -0800 -+++ gdb-7.12/gdb/gnulib/import/m4/gettimeofday.m4 2017-01-13 13:43:55.781797640 -0800 -@@ -111,6 +111,7 @@ AC_DEFUN([gl_FUNC_GETTIMEOFDAY_CLOBBER], - 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/111-xtensa-make-sure-ar_base-is-initialized.patch b/packages/gdb/8.0/111-xtensa-make-sure-ar_base-is-initialized.patch deleted file mode 100644 index 982bd7f..0000000 --- a/packages/gdb/8.0/111-xtensa-make-sure-ar_base-is-initialized.patch +++ /dev/null @@ -1,35 +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(+) - -diff --git a/gdb/xtensa-tdep.c b/gdb/xtensa-tdep.c -index 55e7d98..41f5ec1 100644 ---- a/gdb/xtensa-tdep.c -+++ b/gdb/xtensa-tdep.c -@@ -3175,6 +3175,9 @@ xtensa_derive_tdep (struct gdbarch_tdep *tdep) - 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; - --- -1.8.1.4 - diff --git a/packages/gdb/8.0/112-WIP-end-of-prologue-detection-hack.patch b/packages/gdb/8.0/112-WIP-end-of-prologue-detection-hack.patch deleted file mode 100644 index 506a57c..0000000 --- a/packages/gdb/8.0/112-WIP-end-of-prologue-detection-hack.patch +++ /dev/null @@ -1,31 +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(-) - -diff --git a/gdb/xtensa-tdep.c b/gdb/xtensa-tdep.c -index 41f5ec1..6a7dba7 100644 ---- a/gdb/xtensa-tdep.c -+++ b/gdb/xtensa-tdep.c -@@ -2410,7 +2410,7 @@ call0_analyze_prologue (struct gdbarch *gdbarch, - /* 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. */ --- -1.8.1.4 - diff --git a/packages/gdb/8.0/200-allow-android.patch b/packages/gdb/8.0/200-allow-android.patch deleted file mode 100644 index 7954477..0000000 --- a/packages/gdb/8.0/200-allow-android.patch +++ /dev/null @@ -1,42 +0,0 @@ -diff -urpN gdb-7.12.1.orig/gdb/gdbserver/configure gdb-7.12.1/gdb/gdbserver/configure ---- gdb-7.12.1.orig/gdb/gdbserver/configure 2017-05-14 17:02:46.742711695 -0700 -+++ gdb-7.12.1/gdb/gdbserver/configure 2017-05-14 17:03:22.147058607 -0700 -@@ -6671,17 +6671,6 @@ fi - - - 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> - -diff -urpN gdb-7.12.1.orig/gdb/gdbserver/configure.ac gdb-7.12.1/gdb/gdbserver/configure.ac ---- gdb-7.12.1.orig/gdb/gdbserver/configure.ac 2017-05-14 17:02:46.742711695 -0700 -+++ gdb-7.12.1/gdb/gdbserver/configure.ac 2017-05-14 17:03:53.219361720 -0700 -@@ -179,17 +179,6 @@ AC_CHECK_TYPES(socklen_t, [], [], - ]) - - 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/chksum b/packages/gdb/8.0/chksum deleted file mode 100644 index fcadf9c..0000000 --- a/packages/gdb/8.0/chksum +++ /dev/null @@ -1,8 +0,0 @@ -md5 gdb-8.0.tar.xz c3d35cd949084be53b92cc1e03485f88 -sha1 gdb-8.0.tar.xz 148c8e783ebf9b281241d0566db59961191ec64d -sha256 gdb-8.0.tar.xz f6a24ffe4917e67014ef9273eb8b547cb96a13e5ca74895b06d683b391f3f4ee -sha512 gdb-8.0.tar.xz e4044bdd162cbf95044ec1eaa44d2fa62a33e051bdbbacbc97afd4dfb07bae1bea514381fc1966aede89d6796ef2377a15748a93d95e2ad494c8497db489e886 -md5 gdb-8.0.tar.gz 9bb49d134916e73b2c01d01bf20363df -sha1 gdb-8.0.tar.gz 4e2ed3dc2ed6236f31cd1991ff6067f323ac63b0 -sha256 gdb-8.0.tar.gz 8968a19e14e176ee026f0ca777657c43456514ad41bb2bc7273e8c4219555ac9 -sha512 gdb-8.0.tar.gz b25a40988c772a9b10ea6cf0a973193300357330f0896d3567ebe17a88d89b2b89b8eb2801adc934ea48f0ab3228214d8318a12ee2c9e4c347b4f7038281f66a diff --git a/packages/gdb/8.0/version.desc b/packages/gdb/8.0/version.desc deleted file mode 100644 index e69de29..0000000 --- a/packages/gdb/8.0/version.desc +++ /dev/null |