From 779e259868d6e664235b6835ffd5e795776b4fa4 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 2 Feb 2018 18:35:17 +0000 Subject: gdb: update to 8.1 --- package/gdb/Makefile | 4 ++-- package/gdbserver/Makefile | 4 ++-- package/gdbserver/patches/patch-gdb_nat_linux-ptrace_c | 11 ----------- target/config/Config.in.gdb | 6 +++--- toolchain/gdb/Makefile.inc | 6 +++--- 5 files changed, 10 insertions(+), 21 deletions(-) delete mode 100644 package/gdbserver/patches/patch-gdb_nat_linux-ptrace_c diff --git a/package/gdb/Makefile b/package/gdb/Makefile index df149ff95..1a121c7e7 100644 --- a/package/gdb/Makefile +++ b/package/gdb/Makefile @@ -4,9 +4,9 @@ include ${ADK_TOPDIR}/rules.mk PKG_NAME:= gdb -PKG_VERSION:= 8.0.1 +PKG_VERSION:= 8.1 PKG_RELEASE:= 1 -PKG_HASH:= 3dbd5f93e36ba2815ad0efab030dcd0c7b211d7b353a40a53f4c02d7d56295e3 +PKG_HASH:= af61a0263858e69c5dce51eab26662ff3d2ad9aa68da9583e8143b5426be4b34 PKG_DESCR:= programm debugger PKG_SECTION:= app/debug PKG_SITES:= ${MASTER_SITE_GNU:=gdb/} diff --git a/package/gdbserver/Makefile b/package/gdbserver/Makefile index f254da653..e7f905a42 100644 --- a/package/gdbserver/Makefile +++ b/package/gdbserver/Makefile @@ -4,9 +4,9 @@ include ${ADK_TOPDIR}/rules.mk PKG_NAME:= gdbserver -PKG_VERSION:= 8.0.1 +PKG_VERSION:= 8.1 PKG_RELEASE:= 1 -PKG_HASH:= 3dbd5f93e36ba2815ad0efab030dcd0c7b211d7b353a40a53f4c02d7d56295e3 +PKG_HASH:= af61a0263858e69c5dce51eab26662ff3d2ad9aa68da9583e8143b5426be4b34 PKG_DESCR:= remote programm debugger utility PKG_SECTION:= app/debug PKG_NEEDS:= c++ diff --git a/package/gdbserver/patches/patch-gdb_nat_linux-ptrace_c b/package/gdbserver/patches/patch-gdb_nat_linux-ptrace_c deleted file mode 100644 index 0721dd86c..000000000 --- a/package/gdbserver/patches/patch-gdb_nat_linux-ptrace_c +++ /dev/null @@ -1,11 +0,0 @@ ---- gdb-8.0.orig/gdb/nat/linux-ptrace.c 2017-06-04 17:51:27.000000000 +0200 -+++ gdb-8.0/gdb/nat/linux-ptrace.c 2017-08-05 03:34:56.803914716 +0200 -@@ -272,7 +272,7 @@ linux_fork_to_function (gdb_byte *child_ - #define STACK_SIZE 4096 - - if (child_stack == NULL) -- child_stack = xmalloc (STACK_SIZE * 4); -+ child_stack = (gdb_byte*) xmalloc (STACK_SIZE * 4); - - /* Use CLONE_VM instead of fork, to support uClinux (no MMU). */ - #ifdef __ia64__ diff --git a/target/config/Config.in.gdb b/target/config/Config.in.gdb index b40499fac..bdc7c462e 100644 --- a/target/config/Config.in.gdb +++ b/target/config/Config.in.gdb @@ -21,7 +21,7 @@ choice prompt "GNU debugger version" depends on ADK_TOOLCHAIN_WITH_GDB default ADK_TOOLCHAIN_GDB_H8300_GIT if ADK_TARGET_ARCH_H8300 -default ADK_TOOLCHAIN_GDB_8_0_1 +default ADK_TOOLCHAIN_GDB_8_1 config ADK_TOOLCHAIN_GDB_GIT bool "git" @@ -33,8 +33,8 @@ config ADK_TOOLCHAIN_GDB_H8300_GIT bool "h8300-git" depends on ADK_TARGET_ARCH_H8300 -config ADK_TOOLCHAIN_GDB_8_0_1 - bool "8.0.1" +config ADK_TOOLCHAIN_GDB_8_1 + bool "8.1" depends on !ADK_TARGET_ARCH_AVR32 depends on !ADK_TARGET_ARCH_H8300 depends on !ADK_TARGET_ARCH_NDS32 diff --git a/toolchain/gdb/Makefile.inc b/toolchain/gdb/Makefile.inc index 5ccc6d0de..7fc31eea2 100644 --- a/toolchain/gdb/Makefile.inc +++ b/toolchain/gdb/Makefile.inc @@ -2,10 +2,10 @@ # material, please see the LICENCE file in the top-level directory. PKG_NAME:= gdb -ifeq ($(ADK_TOOLCHAIN_GDB_8_0_1),y) -PKG_VERSION:= 8.0.1 +ifeq ($(ADK_TOOLCHAIN_GDB_8_1),y) +PKG_VERSION:= 8.1 PKG_RELEASE:= 1 -PKG_HASH:= 3dbd5f93e36ba2815ad0efab030dcd0c7b211d7b353a40a53f4c02d7d56295e3 +PKG_HASH:= af61a0263858e69c5dce51eab26662ff3d2ad9aa68da9583e8143b5426be4b34 PKG_SITES:= ${MASTER_SITE_GNU:=gdb/} DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz endif -- cgit v1.2.3