[packages/gdb] Up to 18.1.
arekm
arekm at pld-linux.org
Mon Oct 12 21:15:52 CEST 2026
commit 8af04dd5b7b639c8de71f7dec71b0d2dab98c74b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Oct 12 21:14:10 2026 +0200
Up to 18.1.
gdb-gstack.man | 48 ------------------------------------------------
gdb-info.patch | 29 ++---------------------------
gdb-passflags.patch | 9 ++++-----
gdb.spec | 14 ++++----------
4 files changed, 10 insertions(+), 90 deletions(-)
---
diff --git a/gdb.spec b/gdb.spec
index 0017eb5..1b947e4 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -20,15 +20,14 @@ Summary(uk.UTF-8): Символьний відладчик для С та інш
Summary(zh_CN.UTF-8): [开发]C和其他语言的调试器
Summary(zh_TW.UTF-8): [.-A開發]C和.$)B其.-A他語.$)B言的調試器
Name: gdb
-Version: 16.3
+Version: 18.1
Release: 1
License: GPL v3+
Group: Development/Debuggers
Source0: https://ftp.gnu.org/gnu/gdb/%{name}-%{version}.tar.xz
-# Source0-md5: f7a7e2d0a6d28622ac69a3623b23876b
+# Source0-md5: 2a34dcf033be0be3093a249d64354f51
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
# Source1-md5: 2e8a48939ae282c12bbacdd54e398247
-Source3: %{name}-gstack.man
# patch 100 from Fedora
Patch100: gdb-add-rpm-suggestion-script.patch
Patch1000: %{name}-readline.patch
@@ -39,7 +38,6 @@ Patch1006: buildid-locate-rpm-pld.patch
URL: http://www.gnu.org/software/gdb/
BuildRequires: autoconf >= 2.69
BuildRequires: automake
-BuildRequires: babeltrace-devel >= 1.1.0
BuildRequires: bison
BuildRequires: elfutils-debuginfod-devel >= 0.188
BuildRequires: expat-devel
@@ -47,7 +45,7 @@ BuildRequires: flex >= 2.6.4
BuildRequires: gettext-tools >= 0.12.1
BuildRequires: gmp-devel >= 4.3.2
%if %{with guile}
-BuildRequires: guile-devel >= 5:2.0
+BuildRequires: guile-devel >= 5:2.2
BuildRequires: guile-devel < 5:3.2
%endif
%ifarch %{ix86} %{x8664}
@@ -80,7 +78,7 @@ Obsoletes: python-gdb < 7.3
Requires: python3-modules >= 1:3.2
%endif
Requires: elfutils-debuginfod-libs >= 0.188
-%{?with_guile:Requires: guile >= 2.0.12}
+%{?with_guile:Requires: guile >= 2.2}
Requires: zstd >= 1.4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -216,7 +214,6 @@ EOF
%{__sed} -i -e '1s,/usr/bin/env bash,/bin/bash,' \
gdb/contrib/cc-with-tweaks.sh \
- gdb/gcore.in \
gdb/gstack-1.in \
src-release.sh
@@ -311,8 +308,6 @@ done
%py3_comp $RPM_BUILD_ROOT%{py3_sitescriptdir}
%endif
-cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/man1/gstack.1
-
cp -p build/libdecnumber/libdecnumber.a $RPM_BUILD_ROOT%{_libdir}
# Remove the files that are part of a gdb build but that are owned and provided by other packages.
@@ -368,7 +363,6 @@ rm -rf $RPM_BUILD_ROOT
%lang(pl) %{_mandir}/pl/man1/*
%{_infodir}/annotate.info*
%{_infodir}/gdb.info*
-%{_infodir}/stabs.info*
%files gdbserver
%defattr(644,root,root,755)
diff --git a/gdb-gstack.man b/gdb-gstack.man
deleted file mode 100644
index 1f4e406..0000000
--- a/gdb-gstack.man
+++ /dev/null
@@ -1,48 +0,0 @@
-.\"
-.\" gstack manual page.
-.\" Copyright (c) 1999 Ross Thompson
-.\" Copyright (c) 2001, 2002, 2004, 2008 Red Hat, Inc.
-.\"
-.\" Original author: Ross Thompson <ross at whatsis.com>
-.\"
-.\" This program is free software; you can redistribute it and/or modify
-.\" it under the terms of the GNU General Public License as published by
-.\" the Free Software Foundation; either version 2, or (at your option)
-.\" any later version.
-.\"
-.\" This program is distributed in the hope that it will be useful,
-.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
-.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-.\" GNU General Public License for more details.
-.\"
-.\" You should have received a copy of the GNU General Public License
-.\" along with this program; see the file COPYING. If not, write to
-.\" the Free Software Foundation, 59 Temple Place - Suite 330,
-.\" Boston, MA 02111-1307, USA.
-.\"
-.TH GSTACK 1 "Feb 15 2008" "Red Hat Linux" "Linux Programmer's Manual"
-
-.SH NAME
-gstack \- print a stack trace of a running process
-
-.SH SYNOPSIS
-.B gstack
-pid
-
-.SH DESCRIPTION
-
-\f3gstack\f1 attaches to the active process named by the \f3pid\f1 on
-the command line, and prints out an execution stack trace. If ELF
-symbols exist in the binary (usually the case unless you have run
-strip(1)), then symbolic addresses are printed as well.
-
-If the process is part of a thread group, then \f3gstack\f1 will print
-out a stack trace for each of the threads in the group.
-
-.SH SEE ALSO
-nm(1), ptrace(2), gdb(1)
-
-.SH AUTHORS
-Ross Thompson <ross at whatsis.com>
-
-Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
diff --git a/gdb-info.patch b/gdb-info.patch
index fb63b20..d2ffe7d 100644
--- a/gdb-info.patch
+++ b/gdb-info.patch
@@ -1,16 +1,5 @@
-diff -urN gdb-5.0.org/gdb/Makefile.in gdb-5.0/gdb/Makefile.in
---- gdb-5.0.org/gdb/Makefile.in Tue Sep 5 21:41:32 2000
-+++ gdb-5.0/gdb/Makefile.in Tue Sep 5 21:42:55 2000
-@@ -354,6 +354,7 @@
-
- FLAGS_TO_PASS = \
- "prefix=$(prefix)" \
-+ "infodir=$(infodir)" \
- "exec_prefix=$(exec_prefix)" \
- "infodir=$(infodir)" \
- "datarootdir=$(datarootdir)" \
---- gdb-7.7.1/gdb/doc/gdb.texinfo.orig 2014-06-05 12:01:44.942170134 +0200
-+++ gdb-7.7.1/gdb/doc/gdb.texinfo 2014-06-05 12:11:48.614397269 +0200
+--- gdb-18.1/gdb/doc/gdb.texinfo.orig
++++ gdb-18.1/gdb/doc/gdb.texinfo
@@ -42,10 +42,10 @@
@c This is a dir.info fragment to support semi-automated addition of
@@ -24,18 +13,4 @@ diff -urN gdb-5.0.org/gdb/Makefile.in gdb-5.0/gdb/Makefile.in
+* gdbserver: (gdb) Server. The GNU debugging server.
@end direntry
- @copying
---- gdb-6.1.1/gdb/doc/stabs.texinfo.orig 2004-06-15 00:25:31.000000000 +0200
-+++ gdb-6.1.1/gdb/doc/stabs.texinfo 2004-06-22 23:38:51.279532352 +0200
-@@ -5,9 +5,9 @@
-
- @c This is a dir.info fragment to support semi-automated addition of
- @c manuals to an info tree.
-- at dircategory Software development
-+ at dircategory Programming tools:
- @direntry
--* Stabs: (stabs). The "stabs" debugging information format.
-+* Stabs: (stabs). The "stabs" debugging information format
- @end direntry
-
@copying
diff --git a/gdb-passflags.patch b/gdb-passflags.patch
index a8e4a56..081b60c 100644
--- a/gdb-passflags.patch
+++ b/gdb-passflags.patch
@@ -1,11 +1,10 @@
---- gdb-5.2/gdb/Makefile.in.orig Thu May 23 19:37:49 2002
-+++ gdb-5.2/gdb/Makefile.in Thu May 23 20:00:03 2002
-@@ -410,6 +410,8 @@
+--- gdb-18.1/gdb/Makefile.in.orig
++++ gdb-18.1/gdb/Makefile.in
+@@ -933,6 +933,7 @@
FLAGS_TO_PASS = \
"prefix=$(prefix)" \
+ "bindir=$(bindir)" \
-+ "mandir=$(mandir)" \
- "infodir=$(infodir)" \
"exec_prefix=$(exec_prefix)" \
"infodir=$(infodir)" \
+ "datarootdir=$(datarootdir)" \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gdb.git/commitdiff/8af04dd5b7b639c8de71f7dec71b0d2dab98c74b
More information about the pld-cvs-commit
mailing list