Skip to contentSkip to conversation

gdb: Update to 8.2

PATCH In review Khem Raj 2 participants 4 messages Sep 6, 2018

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

cover gdb: Update to 8.2

gdb being a leaf package, this update is not as risky

The following changes since commit 5645d09328ddd5eedbce3ff7757337b5ef176ead:

opkg: add strict package matching on removal patch (2018-09-05 20:29:33 +0100)

are available in the Git repository at:

git://git.openembedded.org/openembedded-core-contrib kraj/master
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=kraj/master

Khem Raj (1):
gdb: Update to 8.2

 .../gdb/{gdb-8.1.1.inc => gdb-8.2.inc}        |   5 +-
 ...ian_8.1.1.bb => gdb-cross-canadian_8.2.bb} |   0
 .../{gdb-cross_8.1.1.bb => gdb-cross_8.2.bb}  |   0
 .../0001-include-sys-types.h-for-mode_t.patch |   9 +-
 ...make-man-install-relative-to-DESTDIR.patch |   8 +-
 ...ux-nat-Define-_ABIO32-if-not-defined.patch |  26 ++--
 ...e-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch |  14 +-
 ...port-for-Renesas-SH-sh4-architecture.patch | 139 +++++++++---------
 ...readline.a-when-using-disable-static.patch |  10 +-
 .../gdb/gdb/0007-use-asm-sgidefs.h.patch      |   8 +-
 ...-Use-exorted-definitions-of-SIGRTMIN.patch |  12 +-
 .../gdb/gdb/0009-Change-order-of-CFLAGS.patch |  10 +-
 ...10-resolve-restrict-keyword-conflict.patch |   8 +-
 ...> 0011-Fix-invalid-sigprocmask-call.patch} |  20 ++-
 ...ining-TRAP_HWBKPT-before-including-g.patch |  56 -------
 .../gdb/{gdb_8.1.1.bb => gdb_8.2.bb}          |   0
 16 files changed, 135 insertions(+), 190 deletions(-)
 rename meta/recipes-devtools/gdb/{gdb-8.1.1.inc => gdb-8.2.inc} (77%)
 rename meta/recipes-devtools/gdb/{gdb-cross-canadian_8.1.1.bb => gdb-cross-canadian_8.2.bb} (100%)
 rename meta/recipes-devtools/gdb/{gdb-cross_8.1.1.bb => gdb-cross_8.2.bb} (100%)
 rename meta/recipes-devtools/gdb/gdb/{package_devel_gdb_patches_120-sigprocmask-invalid-call.patch => 0011-Fix-invalid-sigprocmask-call.patch} (75%)
 delete mode 100644 meta/recipes-devtools/gdb/gdb/gdb-Fix-ia64-defining-TRAP_HWBKPT-before-including-g.patch
 rename meta/recipes-devtools/gdb/{gdb_8.1.1.bb => gdb_8.2.bb} (100%)
Signature · 1 line
2.18.0
author
#1 lore raw

PATCH 1/1 gdb: Update to 8.2

* https://sourceware.org/ml/gdb-announce/2018/msg00003.html
* Support RISC-V

---
 .../gdb/{gdb-8.1.1.inc => gdb-8.2.inc}        |   5 +-
 ...ian_8.1.1.bb => gdb-cross-canadian_8.2.bb} |   0
 .../{gdb-cross_8.1.1.bb => gdb-cross_8.2.bb}  |   0
 .../0001-include-sys-types.h-for-mode_t.patch |   9 +-
 ...make-man-install-relative-to-DESTDIR.patch |   8 +-
 ...ux-nat-Define-_ABIO32-if-not-defined.patch |  26 ++--
 ...e-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch |  14 +-
 ...port-for-Renesas-SH-sh4-architecture.patch | 139 +++++++++---------
 ...readline.a-when-using-disable-static.patch |  10 +-
 .../gdb/gdb/0007-use-asm-sgidefs.h.patch      |   8 +-
 ...-Use-exorted-definitions-of-SIGRTMIN.patch |  12 +-
 .../gdb/gdb/0009-Change-order-of-CFLAGS.patch |  10 +-
 ...10-resolve-restrict-keyword-conflict.patch |   8 +-
 ...> 0011-Fix-invalid-sigprocmask-call.patch} |  20 ++-
 ...ining-TRAP_HWBKPT-before-including-g.patch |  56 -------
 .../gdb/{gdb_8.1.1.bb => gdb_8.2.bb}          |   0
 16 files changed, 135 insertions(+), 190 deletions(-)
 rename meta/recipes-devtools/gdb/{gdb-8.1.1.inc => gdb-8.2.inc} (77%)
 rename meta/recipes-devtools/gdb/{gdb-cross-canadian_8.1.1.bb => gdb-cross-canadian_8.2.bb} (100%)
 rename meta/recipes-devtools/gdb/{gdb-cross_8.1.1.bb => gdb-cross_8.2.bb} (100%)
 rename meta/recipes-devtools/gdb/gdb/{package_devel_gdb_patches_120-sigprocmask-invalid-call.patch => 0011-Fix-invalid-sigprocmask-call.patch} (75%)
 delete mode 100644 meta/recipes-devtools/gdb/gdb/gdb-Fix-ia64-defining-TRAP_HWBKPT-before-including-g.patch
 rename meta/recipes-devtools/gdb/{gdb_8.1.1.bb => gdb_8.2.bb} (100%)
meta/recipes-devtools/gdb/gdb-8.2.inc renamed from meta/recipes-devtools/gdb/gdb-8.1.1.inc +1 -4
similarity index 77%
rename from meta/recipes-devtools/gdb/gdb-8.1.1.inc
rename to meta/recipes-devtools/gdb/gdb-8.2.inc
index ad80dd3e4d..371665ab15 100644
@@ -15,9 +15,6 @@ SRC_URI = "http://ftp.gnu.org/gnu/gdb/gdb-${PV}.tar.xz \
            file://0008-Use-exorted-definitions-of-SIGRTMIN.patch \
            file://0009-Change-order-of-CFLAGS.patch \
            file://0010-resolve-restrict-keyword-conflict.patch \
-           file://package_devel_gdb_patches_120-sigprocmask-invalid-call.patch \
-           file://gdb-Fix-ia64-defining-TRAP_HWBKPT-before-including-g.patch \
+           file://0011-Fix-invalid-sigprocmask-call.patch \
 "
-SRC_URI[md5sum] = "372fa63a53adeee1bfbfd581d8da9e34"
-SRC_URI[sha256sum] = "97dcc3169bd430270fc29adb65145846a58c1b55cdbb73382a4a89307bdad03c"
 
meta/recipes-devtools/gdb/gdb-cross-canadian_8.2.bb renamed from meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.1.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.1.bb
rename to meta/recipes-devtools/gdb/gdb-cross-canadian_8.2.bb
meta/recipes-devtools/gdb/gdb-cross_8.2.bb renamed from meta/recipes-devtools/gdb/gdb-cross_8.1.1.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/gdb/gdb-cross_8.1.1.bb
rename to meta/recipes-devtools/gdb/gdb-cross_8.2.bb
meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch +4 -5
index 5d19380e30..2c8783e192 100644
@@ -1,4 +1,4 @@
-From ff37f9360ab6f841f28ced9f23f66542febcc0f6 Mon Sep 17 00:00:00 2001
+From 6ae0fb9b49047cef338262e30273f63139fd1261 Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Tue, 19 Jan 2016 18:18:52 -0800
 Subject: [PATCH 01/11] include sys/types.h for mode_t
@@ -6,15 +6,14 @@ Subject: [PATCH 01/11] include sys/types.h for mode_t
 mode_t is used in target.h, so we need to include sys/types.h to get the
 defintion
 
+Upstream-Status: Pending
 Signed-off-by: Khem Raj <[email protected]>
 ---
-Upstream-Status: Pending
-
  gdb/gdbserver/target.h | 1 +
  1 file changed, 1 insertion(+)
 
 diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h
-index 25accd2207..7f6bca8aa4 100644
+index fce54e05ad..278cee78a8 100644
 --- a/gdb/gdbserver/target.h
 +++ b/gdb/gdbserver/target.h
 @@ -29,6 +29,7 @@
@@ -26,5 +25,5 @@ index 25accd2207..7f6bca8aa4 100644
  struct emit_ops;
  struct buffer;
 -- 
-2.17.0
+2.18.0
 
meta/recipes-devtools/gdb/gdb/0002-make-man-install-relative-to-DESTDIR.patch +4 -4
index 83c4dded3b..60479e5410 100644
@@ -1,7 +1,7 @@
-From 9ce61f97b7758794f06894e934fbb256ff62163e Mon Sep 17 00:00:00 2001
+From b0209f282716bed2c230c7b496fbcc7af503d0cc Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Mon, 2 Mar 2015 02:27:55 +0000
-Subject: [PATCH 02/10] make man install relative to DESTDIR
+Subject: [PATCH 02/11] make man install relative to DESTDIR
 
 Upstream-Status: Pending
 
@@ -11,7 +11,7 @@ Signed-off-by: Khem Raj <[email protected]>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/sim/common/Makefile.in b/sim/common/Makefile.in
-index 3944956b5d..aa355e8347 100644
+index 227e4cfbc2..8c3457e0bd 100644
 --- a/sim/common/Makefile.in
 +++ b/sim/common/Makefile.in
 @@ -35,7 +35,7 @@ tooldir = $(libdir)/$(target_alias)
@@ -24,5 +24,5 @@ index 3944956b5d..aa355e8347 100644
  includedir = @includedir@
  
 -- 
-2.13.1
+2.18.0
 
meta/recipes-devtools/gdb/gdb/0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch +12 -14
index 6f7955be13..cf54c74c09 100644
@@ -1,7 +1,7 @@
-From ca0ef06b7320912df350e730e63f9bafdaa6ea70 Mon Sep 17 00:00:00 2001
+From b14a57d90e1cdd8144cda4c8882bd1db44d26dab Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Wed, 23 Mar 2016 06:30:09 +0000
-Subject: [PATCH 03/10] mips-linux-nat: Define _ABIO32 if not defined
+Subject: [PATCH 03/11] mips-linux-nat: Define _ABIO32 if not defined
 
 This helps building gdb on mips64 on musl, since
 musl does not provide sgidefs.h this define is
@@ -9,29 +9,27 @@ only defined when GCC is using o32 ABI, in that
 case gcc emits it as built-in define and hence
 it works ok for mips32
 
+Upstream-Status: Pending
 Signed-off-by: Khem Raj <[email protected]>
 ---
-Upstream-Status: Pending
-
- gdb/mips-linux-nat.c | 5 +++++
- 1 file changed, 5 insertions(+)
+ gdb/mips-linux-nat.c | 4 ++++
+ 1 file changed, 4 insertions(+)
 
 diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c
-index 8041d84be7..f2df1b9907 100644
+index 32835c16b2..68a7587af2 100644
 --- a/gdb/mips-linux-nat.c
 +++ b/gdb/mips-linux-nat.c
-@@ -47,6 +47,11 @@
+@@ -41,6 +41,10 @@
+ #ifndef PTRACE_GET_THREAD_AREA
  #define PTRACE_GET_THREAD_AREA 25
  #endif
- 
 +/* musl does not define and relies on compiler built-in macros for it   */
 +#ifndef _ABIO32
 +#define _ABIO32 1
 +#endif
-+
- /* Assume that we have PTRACE_GETREGS et al. support.  If we do not,
-    we'll clear this and use PTRACE_PEEKUSER instead.  */
- static int have_ptrace_regsets = 1;
+ 
+ class mips_linux_nat_target final : public linux_nat_trad_target
+ {
 -- 
-2.13.1
+2.18.0
 
meta/recipes-devtools/gdb/gdb/0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch +7 -7
index 357db25ec1..bbe0020bf3 100644
@@ -1,7 +1,7 @@
-From 0f6d71118ca914002fcad78d2c8a518223d06bfb Mon Sep 17 00:00:00 2001
+From 1dd5c44474b01d84de60faded960fef4a0a87e41 Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Sat, 30 Apr 2016 18:32:14 -0700
-Subject: [PATCH 04/10] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC
+Subject: [PATCH 04/11] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC
  systems
 
 Upstream-Status: Pending
@@ -13,7 +13,7 @@ Signed-off-by: Khem Raj <[email protected]>
  2 files changed, 12 insertions(+)
 
 diff --git a/gdb/gdbserver/linux-ppc-low.c b/gdb/gdbserver/linux-ppc-low.c
-index 33a9feb12c..1a9141faef 100644
+index 47428c1529..841a5e02b9 100644
 --- a/gdb/gdbserver/linux-ppc-low.c
 +++ b/gdb/gdbserver/linux-ppc-low.c
 @@ -21,7 +21,13 @@
@@ -28,10 +28,10 @@ index 33a9feb12c..1a9141faef 100644
 +# undef pt_regs
 +#endif
  
- #include "nat/ppc-linux.h"
- #include "linux-ppc-tdesc.h"
+ #include "arch/ppc-linux-common.h"
+ #include "arch/ppc-linux-tdesc.h"
 diff --git a/gdb/nat/ppc-linux.h b/gdb/nat/ppc-linux.h
-index 5837ea1767..7233929192 100644
+index 3d4d4fdc56..5b93af8d3a 100644
 --- a/gdb/nat/ppc-linux.h
 +++ b/gdb/nat/ppc-linux.h
 @@ -18,7 +18,13 @@
@@ -49,5 +49,5 @@ index 5837ea1767..7233929192 100644
  
  /* This sometimes isn't defined.  */
 -- 
-2.13.1
+2.18.0
 
meta/recipes-devtools/gdb/gdb/0005-Add-support-for-Renesas-SH-sh4-architecture.patch +71 -68

271 lines not on this page · raw message

meta/recipes-devtools/gdb/gdb/0006-Dont-disable-libreadline.a-when-using-disable-static.patch +5 -5
index 8b13958101..9ae3ee62be 100644
@@ -1,7 +1,7 @@
-From 5c92ebd5e117e4cf118c984171e0703dfcfb8cd8 Mon Sep 17 00:00:00 2001
+From 5fdd42acaa965be7c420a3f2ba12b77ea503c59b Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Sat, 30 Apr 2016 15:25:03 -0700
-Subject: [PATCH 06/10] Dont disable libreadline.a when using --disable-static
+Subject: [PATCH 06/11] Dont disable libreadline.a when using --disable-static
 
 If gdb is configured with --disable-static then this is dutifully passed to
 readline which then disables libreadline.a, which causes a problem when gdb
@@ -19,7 +19,7 @@ Signed-off-by: Khem Raj <[email protected]>
  2 files changed, 3 insertions(+), 2 deletions(-)
 
 diff --git a/Makefile.def b/Makefile.def
-index 0d13f037d0..8bcd86e13f 100644
+index 75063b6d12..c27bbe4d28 100644
 --- a/Makefile.def
 +++ b/Makefile.def
 @@ -105,7 +105,8 @@ host_modules= { module= libiconv;
@@ -33,7 +33,7 @@ index 0d13f037d0..8bcd86e13f 100644
  host_modules= { module= sim; };
  host_modules= { module= texinfo; no_install= true; };
 diff --git a/Makefile.in b/Makefile.in
-index 3acb83b8de..e348907128 100644
+index 7814fe745f..3b0dc7cbb0 100644
 --- a/Makefile.in
 +++ b/Makefile.in
 @@ -25470,7 +25470,7 @@ configure-readline:
@@ -46,5 +46,5 @@ index 3acb83b8de..e348907128 100644
  @endif readline
  
 -- 
-2.13.1
+2.18.0
 
meta/recipes-devtools/gdb/gdb/0007-use-asm-sgidefs.h.patch +4 -4
index 33b4c30eef..808f4bfa14 100644
@@ -1,7 +1,7 @@
-From 12a0b8d81e1fda6ba98abdce8d6f09f9555ebcf5 Mon Sep 17 00:00:00 2001
+From d6e12d52f9cef7f5e6315003ceaa236f6cc7723b Mon Sep 17 00:00:00 2001
 From: Andre McCurdy <[email protected]>
 Date: Sat, 30 Apr 2016 15:29:06 -0700
-Subject: [PATCH 07/10] use <asm/sgidefs.h>
+Subject: [PATCH 07/11] use <asm/sgidefs.h>
 
 Build fix for MIPS with musl libc
 
@@ -19,7 +19,7 @@ Signed-off-by: Khem Raj <[email protected]>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c
-index f2df1b9907..d24664cb56 100644
+index 68a7587af2..2b77221372 100644
 --- a/gdb/mips-linux-nat.c
 +++ b/gdb/mips-linux-nat.c
 @@ -31,7 +31,7 @@
@@ -32,5 +32,5 @@ index f2df1b9907..d24664cb56 100644
  #include <asm/ptrace.h>
  #include "inf-ptrace.h"
 -- 
-2.13.1
+2.18.0
 
meta/recipes-devtools/gdb/gdb/0008-Use-exorted-definitions-of-SIGRTMIN.patch +6 -6
index 4f64dea254..d32352b813 100644
@@ -1,7 +1,7 @@
-From d3f240b38eed7cd08f6c50ea896572f1327b437a Mon Sep 17 00:00:00 2001
+From d97878b272bd7c4993f4205983ae8b7ecddbcf82 Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Sat, 30 Apr 2016 15:31:40 -0700
-Subject: [PATCH 08/10] Use exorted definitions of SIGRTMIN
+Subject: [PATCH 08/11] Use exorted definitions of SIGRTMIN
 
 Define W_STOPCODE if not defined already
 
@@ -20,10 +20,10 @@ Signed-off-by: Khem Raj <[email protected]>
  2 files changed, 6 insertions(+), 2 deletions(-)
 
 diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
-index 8b29245c3d..f424ae9711 100644
+index 64015e7520..acf950c38b 100644
 --- a/gdb/linux-nat.c
 +++ b/gdb/linux-nat.c
-@@ -5021,6 +5021,6 @@ lin_thread_get_thread_signals (sigset_t *set)
+@@ -4724,6 +4724,6 @@ lin_thread_get_thread_signals (sigset_t *set)
    /* NPTL reserves the first two RT signals, but does not provide any
       way for the debugger to query the signal numbers - fortunately
       they don't change.  */
@@ -33,7 +33,7 @@ index 8b29245c3d..f424ae9711 100644
 +  sigaddset (set, SIGRTMIN + 1);
  }
 diff --git a/gdb/nat/linux-nat.h b/gdb/nat/linux-nat.h
-index 7dd18fefff..35137ab34f 100644
+index a90a124d3a..4f3e681962 100644
 --- a/gdb/nat/linux-nat.h
 +++ b/gdb/nat/linux-nat.h
 @@ -90,4 +90,8 @@ extern void linux_stop_lwp (struct lwp_info *lwp);
@@ -46,5 +46,5 @@ index 7dd18fefff..35137ab34f 100644
 +
  #endif /* LINUX_NAT_H */
 -- 
-2.13.1
+2.18.0
 
meta/recipes-devtools/gdb/gdb/0009-Change-order-of-CFLAGS.patch +5 -5
index 0c103ef3f6..bc4bc26835 100644
@@ -1,7 +1,7 @@
-From 3f54036b891054072b3e43ea8daaa57aa367b2e0 Mon Sep 17 00:00:00 2001
+From ba6ffa461fe781d44d6dcbc0fbd569237b450fdc Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Sat, 30 Apr 2016 15:35:39 -0700
-Subject: [PATCH 09/10] Change order of CFLAGS
+Subject: [PATCH 09/11] Change order of CFLAGS
 
 Lets us override Werror if need be
 
@@ -13,10 +13,10 @@ Signed-off-by: Khem Raj <[email protected]>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in
-index 01dfdc0b89..f6aebef464 100644
+index f2f8a084bd..9528db1364 100644
 --- a/gdb/gdbserver/Makefile.in
 +++ b/gdb/gdbserver/Makefile.in
-@@ -140,7 +140,7 @@ CPPFLAGS = @CPPFLAGS@
+@@ -143,7 +143,7 @@ CPPFLAGS = @CPPFLAGS@
  INTERNAL_CFLAGS_BASE = ${CXXFLAGS} ${GLOBAL_CFLAGS} \
  	${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} ${CPPFLAGS}
  INTERNAL_WARN_CFLAGS = ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS)
@@ -26,5 +26,5 @@ index 01dfdc0b89..f6aebef464 100644
  # LDFLAGS is specifically reserved for setting from the command line
  # when running make.
 -- 
-2.13.1
+2.18.0
 
meta/recipes-devtools/gdb/gdb/0010-resolve-restrict-keyword-conflict.patch +4 -4
index c9507109b9..809d52f250 100644
@@ -1,7 +1,7 @@
-From 3ead0dd143521b0ba69c9e753bc4a236f9445ad9 Mon Sep 17 00:00:00 2001
+From 19b581056c1709f7d2872cd76b977542a0fe6142 Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Tue, 10 May 2016 08:47:05 -0700
-Subject: [PATCH 10/10] resolve restrict keyword conflict
+Subject: [PATCH 10/11] resolve restrict keyword conflict
 
 GCC detects that we call 'restrict' as param name in function
 signatures and complains since both params are called 'restrict'
@@ -15,7 +15,7 @@ Signed-off-by: Khem Raj <[email protected]>
  1 file changed, 4 insertions(+), 4 deletions(-)
 
 diff --git a/gdb/gnulib/import/sys_time.in.h b/gdb/gnulib/import/sys_time.in.h
-index d535a6a48b..7c34d5a1aa 100644
+index b4a0e49c50..d22cea9aaf 100644
 --- a/gdb/gnulib/import/sys_time.in.h
 +++ b/gdb/gnulib/import/sys_time.in.h
 @@ -93,20 +93,20 @@ struct timeval
@@ -44,5 +44,5 @@ index d535a6a48b..7c34d5a1aa 100644
  _GL_CXXALIASWARN (gettimeofday);
  # if defined __cplusplus && defined GNULIB_NAMESPACE
 -- 
-2.13.1
+2.18.0
 
meta/recipes-devtools/gdb/gdb/0011-Fix-invalid-sigprocmask-call.patch renamed from meta/recipes-devtools/gdb/gdb/package_devel_gdb_patches_120-sigprocmask-invalid-call.patch +12 -8
similarity index 75%
rename from meta/recipes-devtools/gdb/gdb/package_devel_gdb_patches_120-sigprocmask-invalid-call.patch
rename to meta/recipes-devtools/gdb/gdb/0011-Fix-invalid-sigprocmask-call.patch
index c5484f789d..bce025c391 100644
@@ -1,7 +1,10 @@
-From 56893a61aa4f0270fa8d1197b9848247f90fce0d Mon Sep 17 00:00:00 2001
+From b1985595e46721bb168ac38f4c841a915cc2f799 Mon Sep 17 00:00:00 2001
 From: Yousong Zhou <[email protected]>
 Date: Fri, 24 Mar 2017 10:36:03 +0800
-Subject: [PATCH] Fix invalid sigprocmask call
+Subject: [PATCH 11/11] Fix invalid sigprocmask call
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
 
 The POSIX document says
 
@@ -20,18 +23,19 @@ gdb/ChangeLog:
 
     * common/signals-state-save-restore.c (save_original_signals_state):
     Fix invalid sigprocmask call.
----
+
 Upstream-Status: Pending [not author, cherry-picked from LEDE https://bugs.lede-project.org/index.php?do=details&task_id=637&openedfrom=-1%2Bweek]
 Signed-off-by: André Draszik <[email protected]>
- gdb/ChangeLog                           | 5 +++++
+Signed-off-by: Khem Raj <[email protected]>
+---
  gdb/common/signals-state-save-restore.c | 2 +-
- 2 files changed, 6 insertions(+), 1 deletion(-)
+ 1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/gdb/common/signals-state-save-restore.c b/gdb/common/signals-state-save-restore.c
-index d11a9ae..734335c 100644
+index 5bb66321bb..6597decbc6 100644
 --- a/gdb/common/signals-state-save-restore.c
 +++ b/gdb/common/signals-state-save-restore.c
-@@ -41,7 +41,7 @@ save_original_signals_state (void)
+@@ -41,7 +41,7 @@ save_original_signals_state (bool quiet)
    int i;
    int res;
  
@@ -41,5 +45,5 @@ index d11a9ae..734335c 100644
      perror_with_name (("sigprocmask"));
  
 -- 
-2.6.4
+2.18.0
 
meta/recipes-devtools/gdb/gdb/gdb-Fix-ia64-defining-TRAP_HWBKPT-before-including-g.patch deleted +0 -56

56 lines not on this page · raw message

meta/recipes-devtools/gdb/gdb_8.2.bb renamed from meta/recipes-devtools/gdb/gdb_8.1.1.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/gdb/gdb_8.1.1.bb
rename to meta/recipes-devtools/gdb/gdb_8.2.bb
Signature · 1 line
2.18.0
#2 lore raw

meta/recipes-devtools/gdb/gdb-8.2.inc SRC_URI = "http://ftp.gnu.org/gnu/gdb/gdb-${PV}.tar.xz \ · line 22

Quoted 12 lines · Khem Raj
meta/recipes-devtools/gdb/gdb-8.2.inc renamed from meta/recipes-devtools/gdb/gdb-8.1.1.inc +1 -4
@@ -15,9 +15,6 @@ SRC_URI = "http://ftp.gnu.org/gnu/gdb/gdb-${PV}.tar.xz \
            file://0008-Use-exorted-definitions-of-SIGRTMIN.patch \
            file://0009-Change-order-of-CFLAGS.patch \
            file://0010-resolve-restrict-keyword-conflict.patch \
-           file://package_devel_gdb_patches_120-sigprocmask-invalid-call.patch \
-           file://gdb-Fix-ia64-defining-TRAP_HWBKPT-before-including-g.patch \
+           file://0011-Fix-invalid-sigprocmask-call.patch \
 "
-SRC_URI[md5sum] = "372fa63a53adeee1bfbfd581d8da9e34"
-SRC_URI[sha256sum] = "97dcc3169bd430270fc29adb65145846a58c1b55cdbb73382a4a89307bdad03c"

The checksums disappeared.

Ross

author
#3 lore raw
Quoted 16 lines · Ross

meta/recipes-devtools/gdb/gdb-8.2.inc SRC_URI = "http://ftp.gnu.org/gnu/gdb/gdb-${PV}.tar.xz \ · line 22

Quoted 12 lines · Khem Raj
meta/recipes-devtools/gdb/gdb-8.2.inc renamed from meta/recipes-devtools/gdb/gdb-8.1.1.inc +1 -4
@@ -15,9 +15,6 @@ SRC_URI = "http://ftp.gnu.org/gnu/gdb/gdb-${PV}.tar.xz \
            file://0008-Use-exorted-definitions-of-SIGRTMIN.patch \
            file://0009-Change-order-of-CFLAGS.patch \
            file://0010-resolve-restrict-keyword-conflict.patch \
-           file://package_devel_gdb_patches_120-sigprocmask-invalid-call.patch \
-           file://gdb-Fix-ia64-defining-TRAP_HWBKPT-before-including-g.patch \
+           file://0011-Fix-invalid-sigprocmask-call.patch \
 "
-SRC_URI[md5sum] = "372fa63a53adeee1bfbfd581d8da9e34"
-SRC_URI[sha256sum] = "97dcc3169bd430270fc29adb65145846a58c1b55cdbb73382a4a89307bdad03c"

The checksums disappeared.

yes a rebase did it. I have updated pull branch please retry

Quoted 2 lines

Ross