]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
gdb: Update to 13.2
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 22 Jun 2023 15:57:36 +0000 (15:57 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Sat, 24 Jun 2023 06:34:18 +0000 (06:34 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
config/rootfiles/common/gdb
lfs/gdb
src/patches/gdb-readline8.2.patch [deleted file]

index e1f87549edff8d98eb0a9d956260f0a053de2c7e..6a366ac7d148c376e775816bffa2384ddbe73aaa 100644 (file)
@@ -2,10 +2,14 @@
 #usr/bin/gdb
 #usr/bin/gdb-add-index
 #usr/bin/gdbserver
+#usr/bin/run
 #usr/include/gdb
 #usr/include/gdb/jit-reader.h
+#usr/include/sim
+#usr/include/sim/callback.h
+#usr/include/sim/sim.h
 #usr/lib/libinproctrace.so
-#usr/share/gdb
+#usr/lib/libsim.a
 #usr/share/gdb/python
 #usr/share/gdb/python/gdb
 #usr/share/gdb/python/gdb/FrameDecorator.py
@@ -20,6 +24,7 @@
 #usr/share/gdb/python/gdb/command/type_printers.py
 #usr/share/gdb/python/gdb/command/unwinders.py
 #usr/share/gdb/python/gdb/command/xmethods.py
+#usr/share/gdb/python/gdb/disassembler.py
 #usr/share/gdb/python/gdb/frames.py
 #usr/share/gdb/python/gdb/function
 #usr/share/gdb/python/gdb/function/__init__.py
@@ -56,7 +61,6 @@
 #usr/share/gdb/system-gdbinit/elinos.py
 #usr/share/gdb/system-gdbinit/wrs-linux.py
 #usr/share/info/annotate.info
-#usr/share/info/ctf-spec.info
 #usr/share/info/gdb.info
 #usr/share/info/gdb.info-1
 #usr/share/info/gdb.info-2
diff --git a/lfs/gdb b/lfs/gdb
index bd5a57f2930f8d980532b1ee4d11aa5965f0716f..f534774e0641d5715812c855abeac1cf4a309169 100644 (file)
--- a/lfs/gdb
+++ b/lfs/gdb
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 12.1
+VER        = 13.2
 
 THISAPP    = gdb-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 7f6f853d1640908cf2c79932cdc1ba02549a07721c005d9c7ce2946a715761719cc164a4e68235a18664ec8a029afe3a2a0cfb57e1635f280076d6bed91317fd
+$(DL_FILE)_BLAKE2 = bf5216ba2286448a46f9e0a405367c5a678e6d7540204722d355b618018b7b75a2ebc5b51353304c5ded02a3979223a81781d305f5afa5be82516cdc2863d49f
 
 install : $(TARGET)
 
@@ -70,7 +70,6 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/gdb-readline8.2.patch
        cd $(DIR_APP) && mkdir -pv build
        cd $(DIR_APP)/build && \
                ../configure \
diff --git a/src/patches/gdb-readline8.2.patch b/src/patches/gdb-readline8.2.patch
deleted file mode 100644 (file)
index 93724b1..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-From 1add37b567a7dee39d99f37b37802034c3fce9c4 Mon Sep 17 00:00:00 2001
-From: Andreas Schwab <schwab@linux-m68k.org>
-Date: Sun, 20 Mar 2022 14:01:54 +0100
-Subject: [PATCH] Add support for readline 8.2
-
-In readline 8.2 the type of rl_completer_word_break_characters changed to
-include const.
----
- gdb/completer.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/gdb/completer.c b/gdb/completer.c
-index d3900ae2014..a51c16ac7f8 100644
---- a/gdb/completer.c
-+++ b/gdb/completer.c
-@@ -36,7 +36,7 @@
-    calling a hook instead so we eliminate the CLI dependency.  */
- #include "gdbcmd.h"
--/* Needed for rl_completer_word_break_characters() and for
-+/* Needed for rl_completer_word_break_characters and for
-    rl_filename_completion_function.  */
- #include "readline/readline.h"
-@@ -2011,7 +2011,7 @@ gdb_completion_word_break_characters_throw ()
-       rl_basic_quote_characters = NULL;
-     }
--  return rl_completer_word_break_characters;
-+  return (char *) rl_completer_word_break_characters;
- }
- char *
--- 
-2.31.1