summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-06-06 23:29:30 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-12 15:08:30 +0100
commitddec946c888800e629466d13c32e24d03801851a (patch)
treedea981e5c7dee0d18201ea26299c6593c352dbc7
parentf6f2034526009d21036bfc42326f7d883e84b1cb (diff)
downloadpoky-ddec946c888800e629466d13c32e24d03801851a.tar.gz
gdb: Upgrade to 8.0 release
For details on changes see http://lists.gnu.org/archive/html/info-gnu/2017-06/msg00002.html in tcmode-default.inc Pin gdb to 8.0 (From OE-Core rev: caf2f858bf41154c72aba37d58b5a5336e02fbb8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/distro/include/tcmode-default.inc2
-rw-r--r--meta/recipes-devtools/gdb/gdb-8.0.inc (renamed from meta/recipes-devtools/gdb/gdb-7.12.1.inc)4
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross-canadian_8.0.bb (renamed from meta/recipes-devtools/gdb/gdb-cross-canadian_7.12.1.bb)0
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross_8.0.bb (renamed from meta/recipes-devtools/gdb/gdb-cross_7.12.1.bb)0
-rw-r--r--meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch6
-rw-r--r--meta/recipes-devtools/gdb/gdb/0002-make-man-install-relative-to-DESTDIR.patch6
-rw-r--r--meta/recipes-devtools/gdb/gdb/0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch8
-rw-r--r--meta/recipes-devtools/gdb/gdb/0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch10
-rw-r--r--meta/recipes-devtools/gdb/gdb/0005-Add-support-for-Renesas-SH-sh4-architecture.patch57
-rw-r--r--meta/recipes-devtools/gdb/gdb/0006-Dont-disable-libreadline.a-when-using-disable-static.patch12
-rw-r--r--meta/recipes-devtools/gdb/gdb/0007-use-asm-sgidefs.h.patch8
-rw-r--r--meta/recipes-devtools/gdb/gdb/0008-Use-exorted-definitions-of-SIGRTMIN.patch14
-rw-r--r--meta/recipes-devtools/gdb/gdb/0009-Change-order-of-CFLAGS.patch24
-rw-r--r--meta/recipes-devtools/gdb/gdb/0010-resolve-restrict-keyword-conflict.patch8
-rw-r--r--meta/recipes-devtools/gdb/gdb_8.0.bb (renamed from meta/recipes-devtools/gdb/gdb_7.12.1.bb)0
15 files changed, 78 insertions, 81 deletions
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index bdc70cfbb1..fe217c0392 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -25,7 +25,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
25GCCVERSION ?= "6.3%" 25GCCVERSION ?= "6.3%"
26SDKGCCVERSION ?= "${GCCVERSION}" 26SDKGCCVERSION ?= "${GCCVERSION}"
27BINUVERSION ?= "2.28%" 27BINUVERSION ?= "2.28%"
28GDBVERSION ?= "7.12%" 28GDBVERSION ?= "8.0%"
29GLIBCVERSION ?= "2.25" 29GLIBCVERSION ?= "2.25"
30UCLIBCVERSION ?= "1.0%" 30UCLIBCVERSION ?= "1.0%"
31LINUXLIBCVERSION ?= "4.10%" 31LINUXLIBCVERSION ?= "4.10%"
diff --git a/meta/recipes-devtools/gdb/gdb-7.12.1.inc b/meta/recipes-devtools/gdb/gdb-8.0.inc
index b15a2b5832..91f2ebfa4b 100644
--- a/meta/recipes-devtools/gdb/gdb-7.12.1.inc
+++ b/meta/recipes-devtools/gdb/gdb-8.0.inc
@@ -16,6 +16,6 @@ SRC_URI = "http://ftp.gnu.org/gnu/gdb/gdb-${PV}.tar.xz \
16 file://0009-Change-order-of-CFLAGS.patch \ 16 file://0009-Change-order-of-CFLAGS.patch \
17 file://0010-resolve-restrict-keyword-conflict.patch \ 17 file://0010-resolve-restrict-keyword-conflict.patch \
18" 18"
19SRC_URI[md5sum] = "193453347ddced7acb6b1cd2ee8f2e4b" 19SRC_URI[md5sum] = "c3d35cd949084be53b92cc1e03485f88"
20SRC_URI[sha256sum] = "4607680b973d3ec92c30ad029f1b7dbde3876869e6b3a117d8a7e90081113186" 20SRC_URI[sha256sum] = "f6a24ffe4917e67014ef9273eb8b547cb96a13e5ca74895b06d683b391f3f4ee"
21 21
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.12.1.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_8.0.bb
index 301035940c..301035940c 100644
--- a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.12.1.bb
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_8.0.bb
diff --git a/meta/recipes-devtools/gdb/gdb-cross_7.12.1.bb b/meta/recipes-devtools/gdb/gdb-cross_8.0.bb
index 50cf159fdb..50cf159fdb 100644
--- a/meta/recipes-devtools/gdb/gdb-cross_7.12.1.bb
+++ b/meta/recipes-devtools/gdb/gdb-cross_8.0.bb
diff --git a/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch b/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch
index fc6c92f186..4f06d46d70 100644
--- a/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch
+++ b/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch
@@ -1,4 +1,4 @@
1From 2c81e17216b4e471a1ce0bddb50f374b0722a2ce Mon Sep 17 00:00:00 2001 1From 91da0458b333249eb9c2f4c1f1e53fa4bc085cc9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 19 Jan 2016 18:18:52 -0800 3Date: Tue, 19 Jan 2016 18:18:52 -0800
4Subject: [PATCH 01/10] include sys/types.h for mode_t 4Subject: [PATCH 01/10] include sys/types.h for mode_t
@@ -14,7 +14,7 @@ Upstream-Status: Pending
14 1 file changed, 1 insertion(+) 14 1 file changed, 1 insertion(+)
15 15
16diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h 16diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h
17index 4c14c204bb..bdab18f7f7 100644 17index 3cc2bc4bab..e6b19b06b9 100644
18--- a/gdb/gdbserver/target.h 18--- a/gdb/gdbserver/target.h
19+++ b/gdb/gdbserver/target.h 19+++ b/gdb/gdbserver/target.h
20@@ -28,6 +28,7 @@ 20@@ -28,6 +28,7 @@
@@ -26,5 +26,5 @@ index 4c14c204bb..bdab18f7f7 100644
26 struct emit_ops; 26 struct emit_ops;
27 struct buffer; 27 struct buffer;
28-- 28--
292.11.0 292.13.1
30 30
diff --git a/meta/recipes-devtools/gdb/gdb/0002-make-man-install-relative-to-DESTDIR.patch b/meta/recipes-devtools/gdb/gdb/0002-make-man-install-relative-to-DESTDIR.patch
index 9a9201b39c..83c4dded3b 100644
--- a/meta/recipes-devtools/gdb/gdb/0002-make-man-install-relative-to-DESTDIR.patch
+++ b/meta/recipes-devtools/gdb/gdb/0002-make-man-install-relative-to-DESTDIR.patch
@@ -1,4 +1,4 @@
1From f316d604b312bead78594f02e1355633eda9507b Mon Sep 17 00:00:00 2001 1From 9ce61f97b7758794f06894e934fbb256ff62163e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 2 Mar 2015 02:27:55 +0000 3Date: Mon, 2 Mar 2015 02:27:55 +0000
4Subject: [PATCH 02/10] make man install relative to DESTDIR 4Subject: [PATCH 02/10] make man install relative to DESTDIR
@@ -11,7 +11,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
11 1 file changed, 1 insertion(+), 1 deletion(-) 11 1 file changed, 1 insertion(+), 1 deletion(-)
12 12
13diff --git a/sim/common/Makefile.in b/sim/common/Makefile.in 13diff --git a/sim/common/Makefile.in b/sim/common/Makefile.in
14index a05f50767a..8d0fa64ea8 100644 14index 3944956b5d..aa355e8347 100644
15--- a/sim/common/Makefile.in 15--- a/sim/common/Makefile.in
16+++ b/sim/common/Makefile.in 16+++ b/sim/common/Makefile.in
17@@ -35,7 +35,7 @@ tooldir = $(libdir)/$(target_alias) 17@@ -35,7 +35,7 @@ tooldir = $(libdir)/$(target_alias)
@@ -24,5 +24,5 @@ index a05f50767a..8d0fa64ea8 100644
24 includedir = @includedir@ 24 includedir = @includedir@
25 25
26-- 26--
272.11.0 272.13.1
28 28
diff --git a/meta/recipes-devtools/gdb/gdb/0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch b/meta/recipes-devtools/gdb/gdb/0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch
index 74c00063e4..6f7955be13 100644
--- a/meta/recipes-devtools/gdb/gdb/0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch
+++ b/meta/recipes-devtools/gdb/gdb/0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch
@@ -1,4 +1,4 @@
1From f2912b1d2e5c854a112176682903b696da33e003 Mon Sep 17 00:00:00 2001 1From ca0ef06b7320912df350e730e63f9bafdaa6ea70 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 23 Mar 2016 06:30:09 +0000 3Date: Wed, 23 Mar 2016 06:30:09 +0000
4Subject: [PATCH 03/10] mips-linux-nat: Define _ABIO32 if not defined 4Subject: [PATCH 03/10] mips-linux-nat: Define _ABIO32 if not defined
@@ -17,10 +17,10 @@ Upstream-Status: Pending
17 1 file changed, 5 insertions(+) 17 1 file changed, 5 insertions(+)
18 18
19diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c 19diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c
20index 0f20f16814..722532bb6c 100644 20index 8041d84be7..f2df1b9907 100644
21--- a/gdb/mips-linux-nat.c 21--- a/gdb/mips-linux-nat.c
22+++ b/gdb/mips-linux-nat.c 22+++ b/gdb/mips-linux-nat.c
23@@ -46,6 +46,11 @@ 23@@ -47,6 +47,11 @@
24 #define PTRACE_GET_THREAD_AREA 25 24 #define PTRACE_GET_THREAD_AREA 25
25 #endif 25 #endif
26 26
@@ -33,5 +33,5 @@ index 0f20f16814..722532bb6c 100644
33 we'll clear this and use PTRACE_PEEKUSER instead. */ 33 we'll clear this and use PTRACE_PEEKUSER instead. */
34 static int have_ptrace_regsets = 1; 34 static int have_ptrace_regsets = 1;
35-- 35--
362.11.0 362.13.1
37 37
diff --git a/meta/recipes-devtools/gdb/gdb/0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch b/meta/recipes-devtools/gdb/gdb/0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
index 847f24f7fe..357db25ec1 100644
--- a/meta/recipes-devtools/gdb/gdb/0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
+++ b/meta/recipes-devtools/gdb/gdb/0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
@@ -1,6 +1,6 @@
1From 7ef7b709885378279c424eab0510b93233400b24 Mon Sep 17 00:00:00 2001 1From 0f6d71118ca914002fcad78d2c8a518223d06bfb Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 6 Aug 2016 17:32:50 -0700 3Date: Sat, 30 Apr 2016 18:32:14 -0700
4Subject: [PATCH 04/10] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC 4Subject: [PATCH 04/10] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC
5 systems 5 systems
6 6
@@ -13,7 +13,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 2 files changed, 12 insertions(+) 13 2 files changed, 12 insertions(+)
14 14
15diff --git a/gdb/gdbserver/linux-ppc-low.c b/gdb/gdbserver/linux-ppc-low.c 15diff --git a/gdb/gdbserver/linux-ppc-low.c b/gdb/gdbserver/linux-ppc-low.c
16index 1d013f185f..68098b3db9 100644 16index 33a9feb12c..1a9141faef 100644
17--- a/gdb/gdbserver/linux-ppc-low.c 17--- a/gdb/gdbserver/linux-ppc-low.c
18+++ b/gdb/gdbserver/linux-ppc-low.c 18+++ b/gdb/gdbserver/linux-ppc-low.c
19@@ -21,7 +21,13 @@ 19@@ -21,7 +21,13 @@
@@ -31,7 +31,7 @@ index 1d013f185f..68098b3db9 100644
31 #include "nat/ppc-linux.h" 31 #include "nat/ppc-linux.h"
32 #include "linux-ppc-tdesc.h" 32 #include "linux-ppc-tdesc.h"
33diff --git a/gdb/nat/ppc-linux.h b/gdb/nat/ppc-linux.h 33diff --git a/gdb/nat/ppc-linux.h b/gdb/nat/ppc-linux.h
34index 85fbcd84bb..cbec9c53b2 100644 34index 5837ea1767..7233929192 100644
35--- a/gdb/nat/ppc-linux.h 35--- a/gdb/nat/ppc-linux.h
36+++ b/gdb/nat/ppc-linux.h 36+++ b/gdb/nat/ppc-linux.h
37@@ -18,7 +18,13 @@ 37@@ -18,7 +18,13 @@
@@ -49,5 +49,5 @@ index 85fbcd84bb..cbec9c53b2 100644
49 49
50 /* This sometimes isn't defined. */ 50 /* This sometimes isn't defined. */
51-- 51--
522.11.0 522.13.1
53 53
diff --git a/meta/recipes-devtools/gdb/gdb/0005-Add-support-for-Renesas-SH-sh4-architecture.patch b/meta/recipes-devtools/gdb/gdb/0005-Add-support-for-Renesas-SH-sh4-architecture.patch
index d0c15f6289..cb1b7abd07 100644
--- a/meta/recipes-devtools/gdb/gdb/0005-Add-support-for-Renesas-SH-sh4-architecture.patch
+++ b/meta/recipes-devtools/gdb/gdb/0005-Add-support-for-Renesas-SH-sh4-architecture.patch
@@ -1,4 +1,4 @@
1From 6649e2cccfb11dec076abb02eae0afab95614829 Mon Sep 17 00:00:00 2001 1From 60ac68f601885ea6480229a5c8a89a0257da376c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 2 Mar 2015 02:31:12 +0000 3Date: Mon, 2 Mar 2015 02:31:12 +0000
4Subject: [PATCH 05/10] Add support for Renesas SH (sh4) architecture. 4Subject: [PATCH 05/10] Add support for Renesas SH (sh4) architecture.
@@ -13,7 +13,7 @@ Bug-Debian: http://bugs.debian.org/576242
13Upstream-Status: Pending 13Upstream-Status: Pending
14Signed-off-by: Khem Raj <raj.khem@gmail.com> 14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15--- 15---
16 gdb/Makefile.in | 1 + 16 gdb/Makefile.in | 2 +
17 gdb/configure.host | 1 + 17 gdb/configure.host | 1 +
18 gdb/sh-linux-tdep.c | 519 +++++++++++++++++++++++++++++++++++ 18 gdb/sh-linux-tdep.c | 519 +++++++++++++++++++++++++++++++++++
19 gdb/sh-tdep.c | 54 ++-- 19 gdb/sh-tdep.c | 54 ++--
@@ -24,25 +24,26 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
24 gdb/testsuite/gdb.base/annota3.c | 4 + 24 gdb/testsuite/gdb.base/annota3.c | 4 +
25 gdb/testsuite/gdb.base/sigall.c | 3 + 25 gdb/testsuite/gdb.base/sigall.c | 3 +
26 gdb/testsuite/gdb.base/signals.c | 4 + 26 gdb/testsuite/gdb.base/signals.c | 4 +
27 11 files changed, 617 insertions(+), 29 deletions(-) 27 11 files changed, 618 insertions(+), 29 deletions(-)
28 28
29diff --git a/gdb/Makefile.in b/gdb/Makefile.in 29diff --git a/gdb/Makefile.in b/gdb/Makefile.in
30index 7b2df86878..10f1266fe3 100644 30index 8be73ba423..e287ff6a2e 100644
31--- a/gdb/Makefile.in 31--- a/gdb/Makefile.in
32+++ b/gdb/Makefile.in 32+++ b/gdb/Makefile.in
33@@ -1750,6 +1750,7 @@ ALLDEPFILES = \ 33@@ -2638,6 +2638,8 @@ ALLDEPFILES = \
34 score-tdep.c \ 34 sh-nbsd-tdep.c \
35 ser-go32.c ser-pipe.c ser-tcp.c ser-mingw.c \ 35 sh-tdep.c \
36 sh-tdep.c sh64-tdep.c shnbsd-tdep.c shnbsd-nat.c \ 36 sh64-tdep.c \
37+ sh-linux-tdep.c sh-linux-nat.c \ 37+ sh-linux-tdep.c \
38+ sh-linux-nat.c \
38 sol2-tdep.c \ 39 sol2-tdep.c \
39 solib-svr4.c \ 40 solib-aix.c \
40 sparc-linux-nat.c sparc-linux-tdep.c \ 41 solib-spu.c \
41diff --git a/gdb/configure.host b/gdb/configure.host 42diff --git a/gdb/configure.host b/gdb/configure.host
42index ef265ebe29..322a1e2c67 100644 43index d74fd04934..be12de1446 100644
43--- a/gdb/configure.host 44--- a/gdb/configure.host
44+++ b/gdb/configure.host 45+++ b/gdb/configure.host
45@@ -149,6 +149,7 @@ powerpc*-*-linux*) gdb_host=linux ;; 46@@ -150,6 +150,7 @@ powerpc*-*-linux*) gdb_host=linux ;;
46 47
47 s390*-*-linux*) gdb_host=linux ;; 48 s390*-*-linux*) gdb_host=linux ;;
48 49
@@ -51,7 +52,7 @@ index ef265ebe29..322a1e2c67 100644
51 gdb_host=nbsd ;; 52 gdb_host=nbsd ;;
52 sh*-*-openbsd*) gdb_host=nbsd ;; 53 sh*-*-openbsd*) gdb_host=nbsd ;;
53diff --git a/gdb/sh-linux-tdep.c b/gdb/sh-linux-tdep.c 54diff --git a/gdb/sh-linux-tdep.c b/gdb/sh-linux-tdep.c
54index 2418d25010..ac8ea9e2a4 100644 55index c5c745d218..84e539aad3 100644
55--- a/gdb/sh-linux-tdep.c 56--- a/gdb/sh-linux-tdep.c
56+++ b/gdb/sh-linux-tdep.c 57+++ b/gdb/sh-linux-tdep.c
57@@ -18,14 +18,37 @@ 58@@ -18,14 +18,37 @@
@@ -599,7 +600,7 @@ index 2418d25010..ac8ea9e2a4 100644
599 600
600 /* GNU/Linux uses SVR4-style shared libraries. */ 601 /* GNU/Linux uses SVR4-style shared libraries. */
601diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c 602diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c
602index 694f5f742d..8d54df7a1a 100644 603index 2c2b26847d..14f5281ed4 100644
603--- a/gdb/sh-tdep.c 604--- a/gdb/sh-tdep.c
604+++ b/gdb/sh-tdep.c 605+++ b/gdb/sh-tdep.c
605@@ -21,6 +21,9 @@ 606@@ -21,6 +21,9 @@
@@ -620,7 +621,7 @@ index 694f5f742d..8d54df7a1a 100644
620 #include "doublest.h" 621 #include "doublest.h"
621 #include "osabi.h" 622 #include "osabi.h"
622 #include "reggroups.h" 623 #include "reggroups.h"
623@@ -67,23 +71,6 @@ static const char *const sh_cc_enum[] = { 624@@ -68,23 +72,6 @@ static const char *const sh_cc_enum[] = {
624 625
625 static const char *sh_active_calling_convention = sh_cc_gcc; 626 static const char *sh_active_calling_convention = sh_cc_gcc;
626 627
@@ -644,7 +645,7 @@ index 694f5f742d..8d54df7a1a 100644
644 static int 645 static int
645 sh_is_renesas_calling_convention (struct type *func_type) 646 sh_is_renesas_calling_convention (struct type *func_type)
646 { 647 {
647@@ -1043,7 +1030,7 @@ sh_treat_as_flt_p (struct type *type) 648@@ -1052,7 +1039,7 @@ sh_treat_as_flt_p (struct type *type)
648 return 0; 649 return 0;
649 /* Otherwise if the type of that member is float, the whole type is 650 /* Otherwise if the type of that member is float, the whole type is
650 treated as float. */ 651 treated as float. */
@@ -653,7 +654,7 @@ index 694f5f742d..8d54df7a1a 100644
653 return 1; 654 return 1;
654 /* Otherwise it's not treated as float. */ 655 /* Otherwise it's not treated as float. */
655 return 0; 656 return 0;
656@@ -1093,7 +1080,7 @@ sh_push_dummy_call_fpu (struct gdbarch *gdbarch, 657@@ -1102,7 +1089,7 @@ sh_push_dummy_call_fpu (struct gdbarch *gdbarch,
657 in four registers available. Loop thru args from first to last. */ 658 in four registers available. Loop thru args from first to last. */
658 for (argnum = 0; argnum < nargs; argnum++) 659 for (argnum = 0; argnum < nargs; argnum++)
659 { 660 {
@@ -662,7 +663,7 @@ index 694f5f742d..8d54df7a1a 100644
662 len = TYPE_LENGTH (type); 663 len = TYPE_LENGTH (type);
663 val = sh_justify_value_in_reg (gdbarch, args[argnum], len); 664 val = sh_justify_value_in_reg (gdbarch, args[argnum], len);
664 665
665@@ -1819,7 +1806,7 @@ sh_dwarf2_frame_init_reg (struct gdbarch *gdbarch, int regnum, 666@@ -1828,7 +1815,7 @@ sh_dwarf2_frame_init_reg (struct gdbarch *gdbarch, int regnum,
666 reg->how = DWARF2_FRAME_REG_UNDEFINED; 667 reg->how = DWARF2_FRAME_REG_UNDEFINED;
667 } 668 }
668 669
@@ -671,7 +672,7 @@ index 694f5f742d..8d54df7a1a 100644
671 sh_alloc_frame_cache (void) 672 sh_alloc_frame_cache (void)
672 { 673 {
673 struct sh_frame_cache *cache; 674 struct sh_frame_cache *cache;
674@@ -1846,7 +1833,7 @@ sh_alloc_frame_cache (void) 675@@ -1855,7 +1842,7 @@ sh_alloc_frame_cache (void)
675 return cache; 676 return cache;
676 } 677 }
677 678
@@ -680,7 +681,7 @@ index 694f5f742d..8d54df7a1a 100644
680 sh_frame_cache (struct frame_info *this_frame, void **this_cache) 681 sh_frame_cache (struct frame_info *this_frame, void **this_cache)
681 { 682 {
682 struct gdbarch *gdbarch = get_frame_arch (this_frame); 683 struct gdbarch *gdbarch = get_frame_arch (this_frame);
683@@ -1913,9 +1900,9 @@ sh_frame_cache (struct frame_info *this_frame, void **this_cache) 684@@ -1922,9 +1909,9 @@ sh_frame_cache (struct frame_info *this_frame, void **this_cache)
684 return cache; 685 return cache;
685 } 686 }
686 687
@@ -693,7 +694,7 @@ index 694f5f742d..8d54df7a1a 100644
693 { 694 {
694 struct gdbarch *gdbarch = get_frame_arch (this_frame); 695 struct gdbarch *gdbarch = get_frame_arch (this_frame);
695 struct sh_frame_cache *cache = sh_frame_cache (this_frame, this_cache); 696 struct sh_frame_cache *cache = sh_frame_cache (this_frame, this_cache);
696@@ -1929,7 +1916,7 @@ sh_frame_prev_register (struct frame_info *this_frame, 697@@ -1938,7 +1925,7 @@ sh_frame_prev_register (struct frame_info *this_frame,
697 the current frame. Frob regnum so that we pull the value from 698 the current frame. Frob regnum so that we pull the value from
698 the correct place. */ 699 the correct place. */
699 if (regnum == gdbarch_pc_regnum (gdbarch)) 700 if (regnum == gdbarch_pc_regnum (gdbarch))
@@ -702,7 +703,7 @@ index 694f5f742d..8d54df7a1a 100644
702 703
703 if (regnum < SH_NUM_REGS && cache->saved_regs[regnum] != -1) 704 if (regnum < SH_NUM_REGS && cache->saved_regs[regnum] != -1)
704 return frame_unwind_got_memory (this_frame, regnum, 705 return frame_unwind_got_memory (this_frame, regnum,
705@@ -2238,8 +2225,8 @@ sh_return_in_first_hidden_param_p (struct gdbarch *gdbarch, 706@@ -2247,8 +2234,8 @@ sh_return_in_first_hidden_param_p (struct gdbarch *gdbarch,
706 static struct gdbarch * 707 static struct gdbarch *
707 sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) 708 sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
708 { 709 {
@@ -712,7 +713,7 @@ index 694f5f742d..8d54df7a1a 100644
712 713
713 /* SH5 is handled entirely in sh64-tdep.c. */ 714 /* SH5 is handled entirely in sh64-tdep.c. */
714 if (info.bfd_arch_info->mach == bfd_mach_sh5) 715 if (info.bfd_arch_info->mach == bfd_mach_sh5)
715@@ -2255,6 +2242,18 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) 716@@ -2264,6 +2251,18 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
716 tdep = XCNEW (struct gdbarch_tdep); 717 tdep = XCNEW (struct gdbarch_tdep);
717 gdbarch = gdbarch_alloc (&info, tdep); 718 gdbarch = gdbarch_alloc (&info, tdep);
718 719
@@ -731,7 +732,7 @@ index 694f5f742d..8d54df7a1a 100644
731 set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT); 732 set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT);
732 set_gdbarch_int_bit (gdbarch, 4 * TARGET_CHAR_BIT); 733 set_gdbarch_int_bit (gdbarch, 4 * TARGET_CHAR_BIT);
733 set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT); 734 set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT);
734@@ -2405,10 +2404,11 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) 735@@ -2418,10 +2417,11 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
735 break; 736 break;
736 } 737 }
737 738
@@ -745,7 +746,7 @@ index 694f5f742d..8d54df7a1a 100644
745 frame_unwind_append_unwinder (gdbarch, &sh_frame_unwind); 746 frame_unwind_append_unwinder (gdbarch, &sh_frame_unwind);
746 747
747diff --git a/gdb/sh-tdep.h b/gdb/sh-tdep.h 748diff --git a/gdb/sh-tdep.h b/gdb/sh-tdep.h
748index 666968f787..62c65b55ea 100644 749index d15ef050e0..c4642cefa4 100644
749--- a/gdb/sh-tdep.h 750--- a/gdb/sh-tdep.h
750+++ b/gdb/sh-tdep.h 751+++ b/gdb/sh-tdep.h
751@@ -21,6 +21,12 @@ 752@@ -21,6 +21,12 @@
@@ -828,7 +829,7 @@ index 666968f787..62c65b55ea 100644
828 where each general-purpose register is stored inside the associated 829 where each general-purpose register is stored inside the associated
829 core file section. */ 830 core file section. */
830diff --git a/gdb/testsuite/gdb.asm/asm-source.exp b/gdb/testsuite/gdb.asm/asm-source.exp 831diff --git a/gdb/testsuite/gdb.asm/asm-source.exp b/gdb/testsuite/gdb.asm/asm-source.exp
831index 6d9aef81bb..5b66b429d1 100644 832index e07e5543f2..f5e60e1002 100644
832--- a/gdb/testsuite/gdb.asm/asm-source.exp 833--- a/gdb/testsuite/gdb.asm/asm-source.exp
833+++ b/gdb/testsuite/gdb.asm/asm-source.exp 834+++ b/gdb/testsuite/gdb.asm/asm-source.exp
834@@ -116,6 +116,11 @@ switch -glob -- [istarget] { 835@@ -116,6 +116,11 @@ switch -glob -- [istarget] {
@@ -917,5 +918,5 @@ index 756606880f..1205a9bc9c 100644
917 static int count = 0; 918 static int count = 0;
918 919
919-- 920--
9202.11.0 9212.13.1
921 922
diff --git a/meta/recipes-devtools/gdb/gdb/0006-Dont-disable-libreadline.a-when-using-disable-static.patch b/meta/recipes-devtools/gdb/gdb/0006-Dont-disable-libreadline.a-when-using-disable-static.patch
index 5ed8e81e4a..8b13958101 100644
--- a/meta/recipes-devtools/gdb/gdb/0006-Dont-disable-libreadline.a-when-using-disable-static.patch
+++ b/meta/recipes-devtools/gdb/gdb/0006-Dont-disable-libreadline.a-when-using-disable-static.patch
@@ -1,4 +1,4 @@
1From 2a6e28ad5c0cad189a3697d96de031e4713052b8 Mon Sep 17 00:00:00 2001 1From 5c92ebd5e117e4cf118c984171e0703dfcfb8cd8 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 30 Apr 2016 15:25:03 -0700 3Date: Sat, 30 Apr 2016 15:25:03 -0700
4Subject: [PATCH 06/10] Dont disable libreadline.a when using --disable-static 4Subject: [PATCH 06/10] Dont disable libreadline.a when using --disable-static
@@ -19,10 +19,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
19 2 files changed, 3 insertions(+), 2 deletions(-) 19 2 files changed, 3 insertions(+), 2 deletions(-)
20 20
21diff --git a/Makefile.def b/Makefile.def 21diff --git a/Makefile.def b/Makefile.def
22index ea8453e851..0fc66c694b 100644 22index 0d13f037d0..8bcd86e13f 100644
23--- a/Makefile.def 23--- a/Makefile.def
24+++ b/Makefile.def 24+++ b/Makefile.def
25@@ -104,7 +104,8 @@ host_modules= { module= libiconv; 25@@ -105,7 +105,8 @@ host_modules= { module= libiconv;
26 missing= install-html; 26 missing= install-html;
27 missing= install-info; }; 27 missing= install-info; };
28 host_modules= { module= m4; }; 28 host_modules= { module= m4; };
@@ -33,10 +33,10 @@ index ea8453e851..0fc66c694b 100644
33 host_modules= { module= sim; }; 33 host_modules= { module= sim; };
34 host_modules= { module= texinfo; no_install= true; }; 34 host_modules= { module= texinfo; no_install= true; };
35diff --git a/Makefile.in b/Makefile.in 35diff --git a/Makefile.in b/Makefile.in
36index cb0136e8f8..55f9085c16 100644 36index 3acb83b8de..e348907128 100644
37--- a/Makefile.in 37--- a/Makefile.in
38+++ b/Makefile.in 38+++ b/Makefile.in
39@@ -25385,7 +25385,7 @@ configure-readline: 39@@ -25470,7 +25470,7 @@ configure-readline:
40 $$s/$$module_srcdir/configure \ 40 $$s/$$module_srcdir/configure \
41 --srcdir=$${topdir}/$$module_srcdir \ 41 --srcdir=$${topdir}/$$module_srcdir \
42 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 42 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
@@ -46,5 +46,5 @@ index cb0136e8f8..55f9085c16 100644
46 @endif readline 46 @endif readline
47 47
48-- 48--
492.11.0 492.13.1
50 50
diff --git a/meta/recipes-devtools/gdb/gdb/0007-use-asm-sgidefs.h.patch b/meta/recipes-devtools/gdb/gdb/0007-use-asm-sgidefs.h.patch
index a42c9fd2a7..33b4c30eef 100644
--- a/meta/recipes-devtools/gdb/gdb/0007-use-asm-sgidefs.h.patch
+++ b/meta/recipes-devtools/gdb/gdb/0007-use-asm-sgidefs.h.patch
@@ -1,4 +1,4 @@
1From d7543b44255da4ae71447d4e4d63e0b6aa4ed909 Mon Sep 17 00:00:00 2001 1From 12a0b8d81e1fda6ba98abdce8d6f09f9555ebcf5 Mon Sep 17 00:00:00 2001
2From: Andre McCurdy <amccurdy@gmail.com> 2From: Andre McCurdy <amccurdy@gmail.com>
3Date: Sat, 30 Apr 2016 15:29:06 -0700 3Date: Sat, 30 Apr 2016 15:29:06 -0700
4Subject: [PATCH 07/10] use <asm/sgidefs.h> 4Subject: [PATCH 07/10] use <asm/sgidefs.h>
@@ -19,7 +19,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
19 1 file changed, 1 insertion(+), 1 deletion(-) 19 1 file changed, 1 insertion(+), 1 deletion(-)
20 20
21diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c 21diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c
22index 722532bb6c..51d8fc8f66 100644 22index f2df1b9907..d24664cb56 100644
23--- a/gdb/mips-linux-nat.c 23--- a/gdb/mips-linux-nat.c
24+++ b/gdb/mips-linux-nat.c 24+++ b/gdb/mips-linux-nat.c
25@@ -31,7 +31,7 @@ 25@@ -31,7 +31,7 @@
@@ -30,7 +30,7 @@ index 722532bb6c..51d8fc8f66 100644
30+#include <asm/sgidefs.h> 30+#include <asm/sgidefs.h>
31 #include "nat/gdb_ptrace.h" 31 #include "nat/gdb_ptrace.h"
32 #include <asm/ptrace.h> 32 #include <asm/ptrace.h>
33 33 #include "inf-ptrace.h"
34-- 34--
352.11.0 352.13.1
36 36
diff --git a/meta/recipes-devtools/gdb/gdb/0008-Use-exorted-definitions-of-SIGRTMIN.patch b/meta/recipes-devtools/gdb/gdb/0008-Use-exorted-definitions-of-SIGRTMIN.patch
index ae9cb8c0e2..4f64dea254 100644
--- a/meta/recipes-devtools/gdb/gdb/0008-Use-exorted-definitions-of-SIGRTMIN.patch
+++ b/meta/recipes-devtools/gdb/gdb/0008-Use-exorted-definitions-of-SIGRTMIN.patch
@@ -1,4 +1,4 @@
1From aacd77184da1328908da41c9fdb55ad881fa0e99 Mon Sep 17 00:00:00 2001 1From d3f240b38eed7cd08f6c50ea896572f1327b437a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 30 Apr 2016 15:31:40 -0700 3Date: Sat, 30 Apr 2016 15:31:40 -0700
4Subject: [PATCH 08/10] Use exorted definitions of SIGRTMIN 4Subject: [PATCH 08/10] Use exorted definitions of SIGRTMIN
@@ -20,10 +20,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
20 2 files changed, 6 insertions(+), 2 deletions(-) 20 2 files changed, 6 insertions(+), 2 deletions(-)
21 21
22diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c 22diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
23index 5d5efa0af4..e3420b49a0 100644 23index 8b29245c3d..f424ae9711 100644
24--- a/gdb/linux-nat.c 24--- a/gdb/linux-nat.c
25+++ b/gdb/linux-nat.c 25+++ b/gdb/linux-nat.c
26@@ -5022,6 +5022,6 @@ lin_thread_get_thread_signals (sigset_t *set) 26@@ -5021,6 +5021,6 @@ lin_thread_get_thread_signals (sigset_t *set)
27 /* NPTL reserves the first two RT signals, but does not provide any 27 /* NPTL reserves the first two RT signals, but does not provide any
28 way for the debugger to query the signal numbers - fortunately 28 way for the debugger to query the signal numbers - fortunately
29 they don't change. */ 29 they don't change. */
@@ -33,12 +33,12 @@ index 5d5efa0af4..e3420b49a0 100644
33+ sigaddset (set, SIGRTMIN + 1); 33+ sigaddset (set, SIGRTMIN + 1);
34 } 34 }
35diff --git a/gdb/nat/linux-nat.h b/gdb/nat/linux-nat.h 35diff --git a/gdb/nat/linux-nat.h b/gdb/nat/linux-nat.h
36index 2b485db141..d058afcde8 100644 36index 7dd18fefff..35137ab34f 100644
37--- a/gdb/nat/linux-nat.h 37--- a/gdb/nat/linux-nat.h
38+++ b/gdb/nat/linux-nat.h 38+++ b/gdb/nat/linux-nat.h
39@@ -85,4 +85,8 @@ extern enum target_stop_reason lwp_stop_reason (struct lwp_info *lwp); 39@@ -90,4 +90,8 @@ extern void linux_stop_lwp (struct lwp_info *lwp);
40 40
41 extern void linux_stop_lwp (struct lwp_info *lwp); 41 extern int lwp_is_stepping (struct lwp_info *lwp);
42 42
43+#ifndef W_STOPCODE 43+#ifndef W_STOPCODE
44+#define W_STOPCODE(sig) ((sig) << 8 | 0x7f) 44+#define W_STOPCODE(sig) ((sig) << 8 | 0x7f)
@@ -46,5 +46,5 @@ index 2b485db141..d058afcde8 100644
46+ 46+
47 #endif /* LINUX_NAT_H */ 47 #endif /* LINUX_NAT_H */
48-- 48--
492.11.0 492.13.1
50 50
diff --git a/meta/recipes-devtools/gdb/gdb/0009-Change-order-of-CFLAGS.patch b/meta/recipes-devtools/gdb/gdb/0009-Change-order-of-CFLAGS.patch
index ed6e0aeb7b..0c103ef3f6 100644
--- a/meta/recipes-devtools/gdb/gdb/0009-Change-order-of-CFLAGS.patch
+++ b/meta/recipes-devtools/gdb/gdb/0009-Change-order-of-CFLAGS.patch
@@ -1,4 +1,4 @@
1From 8c35d5d1825ed017cc58ea91011412e54c002eeb Mon Sep 17 00:00:00 2001 1From 3f54036b891054072b3e43ea8daaa57aa367b2e0 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 30 Apr 2016 15:35:39 -0700 3Date: Sat, 30 Apr 2016 15:35:39 -0700
4Subject: [PATCH 09/10] Change order of CFLAGS 4Subject: [PATCH 09/10] Change order of CFLAGS
@@ -9,26 +9,22 @@ Upstream-Status: Inappropriate
9 9
10Signed-off-by: Khem Raj <raj.khem@gmail.com> 10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11--- 11---
12 gdb/gdbserver/Makefile.in | 4 ++-- 12 gdb/gdbserver/Makefile.in | 2 +-
13 1 file changed, 2 insertions(+), 2 deletions(-) 13 1 file changed, 1 insertion(+), 1 deletion(-)
14 14
15diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in 15diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in
16index f844ab8853..3f88db52e3 100644 16index 01dfdc0b89..f6aebef464 100644
17--- a/gdb/gdbserver/Makefile.in 17--- a/gdb/gdbserver/Makefile.in
18+++ b/gdb/gdbserver/Makefile.in 18+++ b/gdb/gdbserver/Makefile.in
19@@ -138,10 +138,10 @@ CXXFLAGS = @CXXFLAGS@ 19@@ -140,7 +140,7 @@ CPPFLAGS = @CPPFLAGS@
20 CPPFLAGS = @CPPFLAGS@ 20 INTERNAL_CFLAGS_BASE = ${CXXFLAGS} ${GLOBAL_CFLAGS} \
21
22 # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
23-INTERNAL_CFLAGS_BASE = ${COMPILER_CFLAGS} ${GLOBAL_CFLAGS} \
24+INTERNAL_CFLAGS_BASE = ${GLOBAL_CFLAGS} \
25 ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} ${CPPFLAGS} 21 ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} ${CPPFLAGS}
26 INTERNAL_WARN_CFLAGS = ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS) 22 INTERNAL_WARN_CFLAGS = ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS)
27-INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) -DGDBSERVER 23-INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) -DGDBSERVER
28+INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${COMPILER_CFLAGS} -DGDBSERVER 24+INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${COMPILER_CFLAGS} -DGDBSERVER
29 25
30 # LDFLAGS is specifically reserved for setting from the command line 26 # LDFLAGS is specifically reserved for setting from the command line
31 # when running make. 27 # when running make.
32-- 28--
332.11.0 292.13.1
34 30
diff --git a/meta/recipes-devtools/gdb/gdb/0010-resolve-restrict-keyword-conflict.patch b/meta/recipes-devtools/gdb/gdb/0010-resolve-restrict-keyword-conflict.patch
index 1938beb561..c9507109b9 100644
--- a/meta/recipes-devtools/gdb/gdb/0010-resolve-restrict-keyword-conflict.patch
+++ b/meta/recipes-devtools/gdb/gdb/0010-resolve-restrict-keyword-conflict.patch
@@ -1,4 +1,4 @@
1From 7816d3497266e55c1c921d7cc1c8bf81c8ed0b4a Mon Sep 17 00:00:00 2001 1From 3ead0dd143521b0ba69c9e753bc4a236f9445ad9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 10 May 2016 08:47:05 -0700 3Date: Tue, 10 May 2016 08:47:05 -0700
4Subject: [PATCH 10/10] resolve restrict keyword conflict 4Subject: [PATCH 10/10] resolve restrict keyword conflict
@@ -15,7 +15,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
15 1 file changed, 4 insertions(+), 4 deletions(-) 15 1 file changed, 4 insertions(+), 4 deletions(-)
16 16
17diff --git a/gdb/gnulib/import/sys_time.in.h b/gdb/gnulib/import/sys_time.in.h 17diff --git a/gdb/gnulib/import/sys_time.in.h b/gdb/gnulib/import/sys_time.in.h
18index c556c5db23..2a6107fcf8 100644 18index d535a6a48b..7c34d5a1aa 100644
19--- a/gdb/gnulib/import/sys_time.in.h 19--- a/gdb/gnulib/import/sys_time.in.h
20+++ b/gdb/gnulib/import/sys_time.in.h 20+++ b/gdb/gnulib/import/sys_time.in.h
21@@ -93,20 +93,20 @@ struct timeval 21@@ -93,20 +93,20 @@ struct timeval
@@ -42,7 +42,7 @@ index c556c5db23..2a6107fcf8 100644
42+ (struct timeval *__restrict, void *__restrict)); 42+ (struct timeval *__restrict, void *__restrict));
43 # endif 43 # endif
44 _GL_CXXALIASWARN (gettimeofday); 44 _GL_CXXALIASWARN (gettimeofday);
45 #elif defined GNULIB_POSIXCHECK 45 # if defined __cplusplus && defined GNULIB_NAMESPACE
46-- 46--
472.11.0 472.13.1
48 48
diff --git a/meta/recipes-devtools/gdb/gdb_7.12.1.bb b/meta/recipes-devtools/gdb/gdb_8.0.bb
index ea8fef122c..ea8fef122c 100644
--- a/meta/recipes-devtools/gdb/gdb_7.12.1.bb
+++ b/meta/recipes-devtools/gdb/gdb_8.0.bb