public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: Add x86_64-redhat-linux-gnu to --enable-targets= in gdb.spec.
@ 2026-06-28  0:01 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-06-28  0:01 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/gdb
            Branch : gdb-17.2-rebase-f44
            Commit : 692cc832db8de7e853c449c80deba7de464c6236
            Author : Alexandra Hájková <ahajkova@redhat.com>
            Date   : 2024-09-09T12:07:47+02:00
            Stats  : +7/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gdb/c/692cc832db8de7e853c449c80deba7de464c6236?branch=gdb-17.2-rebase-f44

            Log:
            Add x86_64-redhat-linux-gnu to --enable-targets= in gdb.spec.

This enables to connect to gdbserver running on x86 using the x86 binary
running GDB from a different architecture. (RHBZ 2308522)

---
diff --git a/gdb.spec b/gdb.spec
index 47cb802..15fd8e6 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -45,7 +45,7 @@ Version: 15.1
 
 # The release always contains a leading reserved number, start it at 1.
 # `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 License: GPL-3.0-or-later AND BSD-3-Clause AND FSFAP AND LGPL-2.1-or-later AND GPL-2.0-or-later AND LGPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain AND GFDL-1.3-or-later AND LGPL-2.0-or-later WITH GCC-exception-2.0 AND GPL-3.0-or-later WITH GCC-exception-3.1 AND GPL-2.0-or-later WITH GNU-compiler-exception
 # Do not provide URL for snapshots as the file lasts there only for 2 days.
@@ -488,7 +488,7 @@ CXXFLAGS="$CXXFLAGS %{?_with_asan:-fsanitize=address}"
 %endif
         --with-auto-load-dir='$debugdir:$datadir/auto-load%{?scl::%{_root_datadir}/gdb/auto-load}'      \
         --with-auto-load-safe-path='$debugdir:$datadir/auto-load%{?scl::%{_root_datadir}/gdb/auto-load}'        \
-        --enable-targets=s390-linux-gnu,powerpc-linux-gnu,arm-linux-gnu,aarch64-linux-gnu,riscv64-linux-gnu     \
+        --enable-targets=s390-linux-gnu,powerpc-linux-gnu,arm-linux-gnu,aarch64-linux-gnu,riscv64-linux-gnu,x86_64-redhat-linux-gnu     \
         %{_target_platform}
 
 # Prepare gdb/config.h first.
@@ -926,6 +926,11 @@ fi
 # endif scl
 
 %changelog
+* Wed Aug 21 2024 Alexandra Hájková <ahajkova@redhat.com> - 15.1-22
+- Add x86_64-redhat-linux-gnu to --enable-targets= in gdb.spec.
+  This enables to connect to gdbserver running on x86 using the x86 binary
+  running GDB from a different architecture. (RHBZ 2308522)
+
 * Wed Aug 21 2024 Alexandra Hájková <ahajkova@redhat.com>
 - Remove gdb-6.6-bz229517-gcore-without-terminal.patch
     This test was upstreamed.

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-28  0:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-28  0:01 [rpms/gdb] gdb-17.2-rebase-f44: Add x86_64-redhat-linux-gnu to --enable-targets= in gdb.spec 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox