toolchain: gdb: Update to version 10.1
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 24 Oct 2020 18:20:54 +0000 (20:20 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 1 Nov 2020 19:54:37 +0000 (20:54 +0100)
gdb 10.1 adds many new features for example gdbserver support for
  - ARC GNU/Linux
  - RISC-V GNU/Linux

Removed this patch, because similar changes are now integrated upstream:
toolchain/gdb/patches/100-no_extern_inline.patch

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
toolchain/gdb/Makefile
toolchain/gdb/patches/100-no_extern_inline.patch [deleted file]
toolchain/gdb/patches/110-no_testsuite.patch
toolchain/gdb/patches/120-fix-compile-flag-mismatch.patch

index 3452ac4dc7e9cb19063f8effd3cd5d671a410819..0b4af1164b614cb7ce2f0013fbbcd1eb8c2e84a6 100644 (file)
@@ -7,12 +7,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=gdb
-PKG_VERSION:=8.3.1
+PKG_VERSION:=10.1
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNU/gdb
-PKG_HASH:=1e55b4d7cdca7b34be12f4ceae651623aa73b2fd640152313f9f66a7149757c4
+PKG_HASH:=f82f1eceeec14a3afa2de8d9b0d3c91d5a3820e23e0a01bbb70ef9f0276b62c0
 GDB_DIR:=$(PKG_NAME)-$(PKG_VERSION)
 
 HOST_BUILD_DIR:=$(BUILD_DIR_TOOLCHAIN)/$(GDB_DIR)
diff --git a/toolchain/gdb/patches/100-no_extern_inline.patch b/toolchain/gdb/patches/100-no_extern_inline.patch
deleted file mode 100644 (file)
index 4036f70..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
---- a/sim/common/sim-arange.c
-+++ b/sim/common/sim-arange.c
-@@ -277,9 +277,7 @@ sim_addr_range_delete (ADDR_RANGE *ar, a
-   build_search_tree (ar);
- }
--#else /* SIM_ARANGE_C_INCLUDED */
--
--SIM_ARANGE_INLINE int
-+int
- sim_addr_range_hit_p (ADDR_RANGE *ar, address_word addr)
- {
-   ADDR_RANGE_TREE *t = ar->range_tree;
---- a/sim/common/sim-arange.h
-+++ b/sim/common/sim-arange.h
-@@ -73,7 +73,7 @@ extern void sim_addr_range_delete (ADDR_
- /* Return non-zero if ADDR is in range AR, traversing the entire tree.
-    If no range is specified, that is defined to mean "everything".  */
--SIM_ARANGE_INLINE int
-+extern int
- sim_addr_range_hit_p (ADDR_RANGE * /*ar*/, address_word /*addr*/);
- #define ADDR_RANGE_HIT_P(ar, addr) \
-   ((ar)->range_tree == NULL || sim_addr_range_hit_p ((ar), (addr)))
index f4a2cde5c87259d06e403c0f5d995fc4f1023c2b..90a2574cafb778f32ef36d1f8a6a77c69f45172b 100644 (file)
@@ -1,16 +1,16 @@
 --- a/gdb/configure
 +++ b/gdb/configure
-@@ -918,8 +918,7 @@ MAKEINFOFLAGS
+@@ -952,8 +952,7 @@ DEBUGINFOD_LIBS
  YACC
  YFLAGS
  XMKMF'
 -ac_subdirs_all='testsuite
--gdbtk
-+ac_subdirs_all='gdbtk
- gdbserver'
+-gdbtk'
++ac_subdirs_all='gdbtk'
  
  # Initialize some variables set by options.
-@@ -6628,7 +6627,7 @@ $as_echo "$with_auto_load_safe_path" >&6
+ ac_init_help=
+@@ -6668,7 +6667,7 @@ $as_echo "$with_auto_load_safe_path" >&6
  
  
  
index 2b6610673ce3ba68534e9f73d98f225c6972fcd2..99c91a0304ed346cb1f98cb3a5ca5e58672dfdd3 100644 (file)
@@ -1,6 +1,6 @@
---- a/gdb/gdbserver/configure
-+++ b/gdb/gdbserver/configure
-@@ -2511,7 +2511,7 @@ $as_echo "$as_me: error: \`$ac_var' was
+--- a/gdbserver/configure
++++ b/gdbserver/configure
+@@ -2661,7 +2661,7 @@ $as_echo "$as_me: error: \`$ac_var' was
        ac_cache_corrupted=: ;;
      ,);;
      *)