From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH 3/3] gdb: Update to 13.2
Date: Thu, 22 Jun 2023 15:57:36 +0000 [thread overview]
Message-ID: <20230622155736.2208-3-michael.tremer@ipfire.org> (raw)
In-Reply-To: <20230622155736.2208-1-michael.tremer@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 3844 bytes --]
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
---
config/rootfiles/common/gdb | 8 +++++--
lfs/gdb | 5 ++---
src/patches/gdb-readline8.2.patch | 35 -------------------------------
3 files changed, 8 insertions(+), 40 deletions(-)
delete mode 100644 src/patches/gdb-readline8.2.patch
diff --git a/config/rootfiles/common/gdb b/config/rootfiles/common/gdb
index e1f87549e..6a366ac7d 100644
--- a/config/rootfiles/common/gdb
+++ b/config/rootfiles/common/gdb
@@ -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 bd5a57f29..f534774e0 100644
--- 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
index 93724b109..000000000
--- a/src/patches/gdb-readline8.2.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 1add37b567a7dee39d99f37b37802034c3fce9c4 Mon Sep 17 00:00:00 2001
-From: Andreas Schwab <schwab(a)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
--
2.39.2
next prev parent reply other threads:[~2023-06-22 15:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-22 15:57 [PATCH 1/3] make.sh: Bump toolchain version Michael Tremer
2023-06-22 15:57 ` [PATCH 2/3] gcc: Update to 13.1.0 Michael Tremer
2023-06-24 6:33 ` Peter Müller
2023-06-22 15:57 ` Michael Tremer [this message]
2023-06-24 6:33 ` [PATCH 3/3] gdb: Update to 13.2 Peter Müller
2023-06-24 6:33 ` [PATCH 1/3] make.sh: Bump toolchain version Peter Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230622155736.2208-3-michael.tremer@ipfire.org \
--to=michael.tremer@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox