gdb: bump 7.9 series to 7.9.1
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 14 Jun 2015 14:33:30 +0000 (16:33 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 22 Jun 2015 22:23:52 +0000 (00:23 +0200)
Note that both gdb 7.9 and 7.9.1 fail to build in a chroot without
texinfo, due to the infamous makeinfo issue. This should be fixed
separately.

[Peter: fixup white space]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gdb/7.9.1/0001-gdbserver-fix-uClibc-whithout-MMU.patch [new file with mode: 0644]
package/gdb/7.9.1/0002-gdbserver-xtensa-drop-xtensa_usrregs_info.patch [new file with mode: 0644]
package/gdb/7.9.1/0003-gdbserver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch [new file with mode: 0644]
package/gdb/7.9/0001-gdbserver-fix-uClibc-whithout-MMU.patch [deleted file]
package/gdb/7.9/0002-gdbserver-xtensa-drop-xtensa_usrregs_info.patch [deleted file]
package/gdb/7.9/0003-gdbserver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch [deleted file]
package/gdb/Config.in.host
package/gdb/gdb.hash

diff --git a/package/gdb/7.9.1/0001-gdbserver-fix-uClibc-whithout-MMU.patch b/package/gdb/7.9.1/0001-gdbserver-fix-uClibc-whithout-MMU.patch
new file mode 100644 (file)
index 0000000..340db67
--- /dev/null
@@ -0,0 +1,34 @@
+From 570805e96bb8c458795b04f4745700795997ef40 Mon Sep 17 00:00:00 2001
+From: Romain Naour <romain.naour@openwide.fr>
+Date: Fri, 10 Apr 2015 22:58:07 +0200
+Subject: [PATCH] gdbserver: fix uClibc whithout MMU.
+
+Since commit d86d4aafd4fa22fa4cccb83253fb187b03f97f48, the pid
+must be retrieved from current_thread.
+
+The change has not been made in the function linux_read_offsets().
+
+Fixes:
+http://autobuild.buildroot.net/results/9e4/9e4df085319e346803c26c65478accb27eb950ae/build-end.log
+
+Signed-off-by: Romain Naour <romain.naour@openwide.fr>
+---
+ gdb/gdbserver/linux-low.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c
+index 4d19c87..7585b80 100644
+--- a/gdb/gdbserver/linux-low.c
++++ b/gdb/gdbserver/linux-low.c
+@@ -4933,7 +4933,7 @@ static int
+ linux_read_offsets (CORE_ADDR *text_p, CORE_ADDR *data_p)
+ {
+   unsigned long text, text_end, data;
+-  int pid = lwpid_of (get_thread_lwp (current_thread));
++  int pid = lwpid_of (current_thread);
+   errno = 0;
+-- 
+1.9.3
+
diff --git a/package/gdb/7.9.1/0002-gdbserver-xtensa-drop-xtensa_usrregs_info.patch b/package/gdb/7.9.1/0002-gdbserver-xtensa-drop-xtensa_usrregs_info.patch
new file mode 100644 (file)
index 0000000..93fe749
--- /dev/null
@@ -0,0 +1,47 @@
+From deb44829ecc1dd38275af0fcf91acd319e227a89 Mon Sep 17 00:00:00 2001
+From: Max Filippov <jcmvbkbc@gmail.com>
+Date: Fri, 17 Apr 2015 03:07:41 +0300
+Subject: [PATCH 1/2] gdbserver/xtensa: drop xtensa_usrregs_info
+
+xtensa_usrregs_info refers to undefined variables xtensa_num_regs and
+xtensa_regmap. Drop xtensa_usrregs_info and replace pointer to usrregs
+in regs_info with NULL since all registers are read/set through regsets.
+
+2015-04-17  Max Filippov  <jcmvbkbc@gmail.com>
+gdb/gdbserver/
+       * linux-xtensa-low.c (xtensa_usrregs_info): Remove.
+       (regs_info): Replace usrregs pointer with NULL.
+
+Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
+---
+Backported from: deb44829ecc1dd38275af0fcf91acd319e227a89
+Changes to ChangeLog are dropped.
+
+ gdb/gdbserver/linux-xtensa-low.c | 8 +-------
+ 2 files changed, 6 insertions(+), 7 deletions(-)
+
+diff --git a/gdb/gdbserver/linux-xtensa-low.c b/gdb/gdbserver/linux-xtensa-low.c
+index f7fafaf..e786da5 100644
+--- a/gdb/gdbserver/linux-xtensa-low.c
++++ b/gdb/gdbserver/linux-xtensa-low.c
+@@ -186,16 +186,10 @@ static struct regsets_info xtensa_regsets_info =
+     NULL, /* disabled_regsets */
+   };
+-static struct usrregs_info xtensa_usrregs_info =
+-  {
+-    xtensa_num_regs,
+-    xtensa_regmap,
+-  };
+-
+ static struct regs_info regs_info =
+   {
+     NULL, /* regset_bitmap */
+-    &xtensa_usrregs_info,
++    NULL, /* usrregs */
+     &xtensa_regsets_info
+   };
+-- 
+1.8.1.4
+
diff --git a/package/gdb/7.9.1/0003-gdbserver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch b/package/gdb/7.9.1/0003-gdbserver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch
new file mode 100644 (file)
index 0000000..027f700
--- /dev/null
@@ -0,0 +1,46 @@
+From a2d5a9d76f2366ed93095fc5a63eafa06b22f808 Mon Sep 17 00:00:00 2001
+From: Max Filippov <jcmvbkbc@gmail.com>
+Date: Fri, 17 Apr 2015 02:52:50 +0300
+Subject: [PATCH 2/2] gdbserver/xtensa: fix typo in XCHAL_HAVE_LOOPS
+
+This fixes lbeg/lend/lcount registers handling through gdbserver.
+
+2015-04-17  Max Filippov  <jcmvbkbc@gmail.com>
+gdb/gdbserver/
+       * linux-xtensa-low.c (xtensa_fill_gregset)
+       (xtensa_store_gregset): Check XCHAL_HAVE_LOOPS instead of
+       XCHAL_HAVE_LOOP.
+
+Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
+---
+Backported from: a2d5a9d76f2366ed93095fc5a63eafa06b22f808
+Changes to ChangeLog are dropped.
+
+ gdb/gdbserver/linux-xtensa-low.c | 4 ++--
+ 2 files changed, 8 insertions(+), 2 deletions(-)
+
+diff --git a/gdb/gdbserver/linux-xtensa-low.c b/gdb/gdbserver/linux-xtensa-low.c
+index e786da5..4daccee 100644
+--- a/gdb/gdbserver/linux-xtensa-low.c
++++ b/gdb/gdbserver/linux-xtensa-low.c
+@@ -59,7 +59,7 @@ xtensa_fill_gregset (struct regcache *regcache, void *buf)
+   /* Loop registers, if hardware has it.  */
+-#if XCHAL_HAVE_LOOP
++#if XCHAL_HAVE_LOOPS
+   collect_register_by_name (regcache, "lbeg", (char*)&rset[R_LBEG]);
+   collect_register_by_name (regcache, "lend", (char*)&rset[R_LEND]);
+   collect_register_by_name (regcache, "lcount", (char*)&rset[R_LCOUNT]);
+@@ -94,7 +94,7 @@ xtensa_store_gregset (struct regcache *regcache, const void *buf)
+   /* Loop registers, if hardware has it.  */
+-#if XCHAL_HAVE_LOOP
++#if XCHAL_HAVE_LOOPS
+   supply_register_by_name (regcache, "lbeg", (char*)&rset[R_LBEG]);
+   supply_register_by_name (regcache, "lend", (char*)&rset[R_LEND]);
+   supply_register_by_name (regcache, "lcount", (char*)&rset[R_LCOUNT]);
+-- 
+1.8.1.4
+
diff --git a/package/gdb/7.9/0001-gdbserver-fix-uClibc-whithout-MMU.patch b/package/gdb/7.9/0001-gdbserver-fix-uClibc-whithout-MMU.patch
deleted file mode 100644 (file)
index 340db67..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-From 570805e96bb8c458795b04f4745700795997ef40 Mon Sep 17 00:00:00 2001
-From: Romain Naour <romain.naour@openwide.fr>
-Date: Fri, 10 Apr 2015 22:58:07 +0200
-Subject: [PATCH] gdbserver: fix uClibc whithout MMU.
-
-Since commit d86d4aafd4fa22fa4cccb83253fb187b03f97f48, the pid
-must be retrieved from current_thread.
-
-The change has not been made in the function linux_read_offsets().
-
-Fixes:
-http://autobuild.buildroot.net/results/9e4/9e4df085319e346803c26c65478accb27eb950ae/build-end.log
-
-Signed-off-by: Romain Naour <romain.naour@openwide.fr>
----
- gdb/gdbserver/linux-low.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c
-index 4d19c87..7585b80 100644
---- a/gdb/gdbserver/linux-low.c
-+++ b/gdb/gdbserver/linux-low.c
-@@ -4933,7 +4933,7 @@ static int
- linux_read_offsets (CORE_ADDR *text_p, CORE_ADDR *data_p)
- {
-   unsigned long text, text_end, data;
--  int pid = lwpid_of (get_thread_lwp (current_thread));
-+  int pid = lwpid_of (current_thread);
-   errno = 0;
--- 
-1.9.3
-
diff --git a/package/gdb/7.9/0002-gdbserver-xtensa-drop-xtensa_usrregs_info.patch b/package/gdb/7.9/0002-gdbserver-xtensa-drop-xtensa_usrregs_info.patch
deleted file mode 100644 (file)
index 93fe749..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-From deb44829ecc1dd38275af0fcf91acd319e227a89 Mon Sep 17 00:00:00 2001
-From: Max Filippov <jcmvbkbc@gmail.com>
-Date: Fri, 17 Apr 2015 03:07:41 +0300
-Subject: [PATCH 1/2] gdbserver/xtensa: drop xtensa_usrregs_info
-
-xtensa_usrregs_info refers to undefined variables xtensa_num_regs and
-xtensa_regmap. Drop xtensa_usrregs_info and replace pointer to usrregs
-in regs_info with NULL since all registers are read/set through regsets.
-
-2015-04-17  Max Filippov  <jcmvbkbc@gmail.com>
-gdb/gdbserver/
-       * linux-xtensa-low.c (xtensa_usrregs_info): Remove.
-       (regs_info): Replace usrregs pointer with NULL.
-
-Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
----
-Backported from: deb44829ecc1dd38275af0fcf91acd319e227a89
-Changes to ChangeLog are dropped.
-
- gdb/gdbserver/linux-xtensa-low.c | 8 +-------
- 2 files changed, 6 insertions(+), 7 deletions(-)
-
-diff --git a/gdb/gdbserver/linux-xtensa-low.c b/gdb/gdbserver/linux-xtensa-low.c
-index f7fafaf..e786da5 100644
---- a/gdb/gdbserver/linux-xtensa-low.c
-+++ b/gdb/gdbserver/linux-xtensa-low.c
-@@ -186,16 +186,10 @@ static struct regsets_info xtensa_regsets_info =
-     NULL, /* disabled_regsets */
-   };
--static struct usrregs_info xtensa_usrregs_info =
--  {
--    xtensa_num_regs,
--    xtensa_regmap,
--  };
--
- static struct regs_info regs_info =
-   {
-     NULL, /* regset_bitmap */
--    &xtensa_usrregs_info,
-+    NULL, /* usrregs */
-     &xtensa_regsets_info
-   };
--- 
-1.8.1.4
-
diff --git a/package/gdb/7.9/0003-gdbserver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch b/package/gdb/7.9/0003-gdbserver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch
deleted file mode 100644 (file)
index 027f700..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-From a2d5a9d76f2366ed93095fc5a63eafa06b22f808 Mon Sep 17 00:00:00 2001
-From: Max Filippov <jcmvbkbc@gmail.com>
-Date: Fri, 17 Apr 2015 02:52:50 +0300
-Subject: [PATCH 2/2] gdbserver/xtensa: fix typo in XCHAL_HAVE_LOOPS
-
-This fixes lbeg/lend/lcount registers handling through gdbserver.
-
-2015-04-17  Max Filippov  <jcmvbkbc@gmail.com>
-gdb/gdbserver/
-       * linux-xtensa-low.c (xtensa_fill_gregset)
-       (xtensa_store_gregset): Check XCHAL_HAVE_LOOPS instead of
-       XCHAL_HAVE_LOOP.
-
-Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
----
-Backported from: a2d5a9d76f2366ed93095fc5a63eafa06b22f808
-Changes to ChangeLog are dropped.
-
- gdb/gdbserver/linux-xtensa-low.c | 4 ++--
- 2 files changed, 8 insertions(+), 2 deletions(-)
-
-diff --git a/gdb/gdbserver/linux-xtensa-low.c b/gdb/gdbserver/linux-xtensa-low.c
-index e786da5..4daccee 100644
---- a/gdb/gdbserver/linux-xtensa-low.c
-+++ b/gdb/gdbserver/linux-xtensa-low.c
-@@ -59,7 +59,7 @@ xtensa_fill_gregset (struct regcache *regcache, void *buf)
-   /* Loop registers, if hardware has it.  */
--#if XCHAL_HAVE_LOOP
-+#if XCHAL_HAVE_LOOPS
-   collect_register_by_name (regcache, "lbeg", (char*)&rset[R_LBEG]);
-   collect_register_by_name (regcache, "lend", (char*)&rset[R_LEND]);
-   collect_register_by_name (regcache, "lcount", (char*)&rset[R_LCOUNT]);
-@@ -94,7 +94,7 @@ xtensa_store_gregset (struct regcache *regcache, const void *buf)
-   /* Loop registers, if hardware has it.  */
--#if XCHAL_HAVE_LOOP
-+#if XCHAL_HAVE_LOOPS
-   supply_register_by_name (regcache, "lbeg", (char*)&rset[R_LBEG]);
-   supply_register_by_name (regcache, "lend", (char*)&rset[R_LEND]);
-   supply_register_by_name (regcache, "lcount", (char*)&rset[R_LCOUNT]);
--- 
-1.8.1.4
-
index 6b0ca9bf74964702119068811cd9de877df14ebc..e2f8c276e7ce31921542312db8e4feee5e31b610 100644 (file)
@@ -53,4 +53,4 @@ config BR2_GDB_VERSION
        default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
        default "7.7.1"    if BR2_GDB_VERSION_7_7
        default "7.8.2"    if BR2_GDB_VERSION_7_8 || !BR2_PACKAGE_HOST_GDB
-       default "7.9"      if BR2_GDB_VERSION_7_9
+       default "7.9.1"    if BR2_GDB_VERSION_7_9
index f489f6497e167e974685ac8ca3559c90722cee14..0130935fafadedfe2b165a1a279adc7e0bc14f47 100644 (file)
@@ -1,7 +1,7 @@
 # From ftp://gcc.gnu.org/pub/gdb/releases/sha512.sum
 sha512 887b9b726dae8f6e3e5e41574460a67e4f9002b0d47bc985dcf63bdf3518397a90b6a208cb5b19e5ed2341715ad75cfeed4df4fb423f39f74218e36bc87f1cab        gdb-7.7.1.tar.bz2
 sha512 face5bf1b4ce144fc8604fc84620beed956177a11fd632b4e41906fc7f632910b2b43a50e6cfdfd6cbd876ee527c813bddab8df29dc560a6c36694cdb8edc4e4        gdb-7.8.2.tar.xz
-sha512 850202a477b486a75dc8196efead79c95bc675e348064a5eefee2a50215d40f62e9e052e9b8df29f997f91430f6e7454883652c701f5b1e688d9e2c575876c83        gdb-7.9.tar.xz
+sha512 eebdf88b24e52e792b8a4b89ea85790de72b462a7810b44975fdf4232c068f353b15506071f450102a9d4bcecdde8e93dc3748a10699b7f73f3e04fb2d9d8414        gdb-7.9.1.tar.xz
 # No hash for the ARC & microblaze variants, comes from the github-helper:
 none   xxx     gdb-arc-2014.12-gdb.tar.gz
 none   xxx     gdb-6be65fb56ea6694a9260733a536a023a1e2d4d57.tar.gz