public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] gdb-17.2-rebase-f44: Add x86_64-redhat-linux-gnu to --enable-targets= in gdb.spec.
Date: Sun, 28 Jun 2026 00:01:50 GMT	[thread overview]
Message-ID: <178260491017.1.12106499078448928187.rpms-gdb-692cc832db8d@fedoraproject.org> (raw)

            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.

                 reply	other threads:[~2026-06-28  0:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=178260491017.1.12106499078448928187.rpms-gdb-692cc832db8d@fedoraproject.org \
    --to=git-commits@fedoraproject.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