1
0
forked from ports/opt

gdb: 12.1 -> 13.1

This commit is contained in:
Tim Biermann 2023-02-20 11:19:28 +01:00
parent 527dc2dd72
commit 5f4a5b2c1d
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
4 changed files with 11 additions and 33 deletions

View File

@ -20,6 +20,8 @@ drwxr-xr-x root/root usr/share/gdb/python/gdb/__pycache__/
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/FrameIterator.cpython-310.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/__init__.cpython-310.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/__init__.cpython-310.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/disassembler.cpython-310.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/disassembler.cpython-310.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/frames.cpython-310.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/frames.cpython-310.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/printing.cpython-310.opt-1.pyc
@ -60,6 +62,7 @@ drwxr-xr-x root/root usr/share/gdb/python/gdb/command/__pycache__/
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/type_printers.py
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/unwinders.py
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/xmethods.py
-rw-r--r-- root/root usr/share/gdb/python/gdb/disassembler.py
-rw-r--r-- root/root usr/share/gdb/python/gdb/frames.py
drwxr-xr-x root/root usr/share/gdb/python/gdb/function/
-rw-r--r-- root/root usr/share/gdb/python/gdb/function/__init__.py

View File

@ -1,6 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/VKGNV3AZPTiDye++ISHhQ8v6nATVXMjSm4fSkCqpDDbJmvVJc/mlvgxyZaPZbqgTwESyax8gMXrsakE3L7vkwU=
SHA256 (Pkgfile) = 03971c96455bd0442075b695f01a7dbe445f0d9d4116d4c66d4580784e5bf9cc
SHA256 (.footprint) = 7f045620d2cffd0f1709f2ec113db3cf3c173feaf6a15ccee5bd94bb6a51a4ea
SHA256 (gdb-12.1.tar.xz) = 0e1793bf8f2b54d53f46dea84ccfd446f48f81b297b28c4f7fc017b818d69fed
SHA256 (readline.patch) = 4725945b007a5d9ce87da2af5572673b90096a2ffb90f81dec39122223dcb83d
RWSE3ohX2g5d/dbQmIialMQq6kfipFC2O/asJhQe+NGTZBr9Z3PP6ylo+kdyoY2WMf2ntSTGUy0HZsYfdiTj7zmY4kca4L/GpQw=
SHA256 (Pkgfile) = 95fd6bf875bdb211c1ca25538560869a68e03d2baeca90419fc72b15f984512a
SHA256 (.footprint) = 8e8170c5ee6c0a8b4c1805ef5d7815787ebb3c96eaec7a47443edf60c873492d
SHA256 (gdb-13.1.tar.xz) = 115ad5c18d69a6be2ab15882d365dda2a2211c14f480b3502c6eba576e2e95a0

View File

@ -4,22 +4,20 @@
# Depends on: expat libmpfr readline texinfo xz zlib
name=gdb
version=12.1
version=13.1
release=1
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz
readline.patch)
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
build() {
cd $name-$version
patch -Np1 -i $SRC/readline.patch
sed '/^SUBDIRS/s/doc//' -i gdb/Makefile.in
mkdir build && cd build
../configure \
--prefix=/usr \
--enable-lto \
--with-pkgversion="$(crux | awk '{ print $1 " " $3 }')" \
--with-bugurl="https://crux.nu/bugs" \
--with-system-{readline,zlib} \
@ -27,7 +25,7 @@ build() {
--enable-tui \
--enable-64-bit-bfd \
--without-zlib \
--disable-readline \
--disable-{binutils,etc,gas,gold,gprof,ld,readline} \
--disable-werror \
--disable-nls
make

View File

@ -1,22 +0,0 @@
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 *