public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] gdb-17.2-rebase-f44: Fix false gcc6 compilation warning for: bfd/elf64-s390.c
Date: Sat, 27 Jun 2026 23:57:27 GMT [thread overview]
Message-ID: <178260464713.1.4470422658392422967.rpms-gdb-4f2557176f95@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : 4f2557176f95992ee57e735b879331488c612f57
Author : Jan Kratochvil <jan.kratochvil@redhat.com>
Date : 2016-01-31T19:00:51+01:00
Stats : +36/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/gdb/c/4f2557176f95992ee57e735b879331488c612f57?branch=gdb-17.2-rebase-f44
Log:
Fix false gcc6 compilation warning for: bfd/elf64-s390.c
---
diff --git a/gdb-bfd-s390-indent-warning.patch b/gdb-bfd-s390-indent-warning.patch
new file mode 100644
index 0000000..bba28d9
--- /dev/null
+++ b/gdb-bfd-s390-indent-warning.patch
@@ -0,0 +1,28 @@
+https://kojipkgs.fedoraproject.org//work/tasks/8536/12758536/build.log
+../../bfd/elf64-s390.c: In function 'elf_s390_reloc_name_lookup':
+../../bfd/elf64-s390.c:340:5: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation]
+ if (strcasecmp (elf64_s390_vtinherit_howto.name, r_name) == 0)
+ ^~
+../../bfd/elf64-s390.c:333:3: note: ...this 'for' clause, but it is not
+ for (i = 0;
+ ^~~
+
+diff --git a/bfd/elf64-s390.c b/bfd/elf64-s390.c
+index 3887e8d..1261044 100644
+--- a/bfd/elf64-s390.c
++++ b/bfd/elf64-s390.c
+@@ -337,10 +337,10 @@ elf_s390_reloc_name_lookup (bfd *abfd ATTRIBUTE_UNUSED,
+ && strcasecmp (elf_howto_table[i].name, r_name) == 0)
+ return &elf_howto_table[i];
+
+- if (strcasecmp (elf64_s390_vtinherit_howto.name, r_name) == 0)
+- return &elf64_s390_vtinherit_howto;
+- if (strcasecmp (elf64_s390_vtentry_howto.name, r_name) == 0)
+- return &elf64_s390_vtentry_howto;
++ if (strcasecmp (elf64_s390_vtinherit_howto.name, r_name) == 0)
++ return &elf64_s390_vtinherit_howto;
++ if (strcasecmp (elf64_s390_vtentry_howto.name, r_name) == 0)
++ return &elf64_s390_vtentry_howto;
+
+ return NULL;
+ }
diff --git a/gdb.spec b/gdb.spec
index 0c49f96..af1ed05 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -27,7 +27,7 @@ Version: 7.10.50.%{snapsrc}
# 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: 47%{?dist}
+Release: 48%{?dist}
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and BSD and Public Domain and GFDL
Group: Development/Debuggers
@@ -558,6 +558,9 @@ Patch1074: gdb-testsuite-guile.patch
# [testsuite] Fix false selftest.exp FAIL from system readline-6.3+ (Patrick Palka).
Patch1075: gdb-testsuite-readline63-sigint.patch
+# Fix false gcc6 compilation warning for: bfd/elf64-s390.c
+Patch1076: gdb-bfd-s390-indent-warning.patch
+
%if 0%{!?rhel:1} || 0%{?rhel} > 6
# RL_STATE_FEDORA_GDB would not be found for:
# Patch642: gdb-readline62-ask-more-rh.patch
@@ -872,6 +875,7 @@ find -name "*.info*"|xargs rm -f
%patch331 -p1
%patch1075 -p1
%patch1074 -p1
+%patch1076 -p1
%if 0%{?rhel:1} && 0%{?rhel} <= 7
%patch1044 -p1
@@ -1389,6 +1393,9 @@ then
fi
%changelog
+* Sun Jan 31 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20160121-48.fc24
+- Fix false gcc6 compilation warning for: bfd/elf64-s390.c
+
* Sun Jan 31 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20160121-47.fc24
- [testsuite] Fix false selftest.exp FAIL from system readline-6.3+ (Patrick Palka).
reply other threads:[~2026-06-27 23:57 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=178260464713.1.4470422658392422967.rpms-gdb-4f2557176f95@fedoraproject.org \
--to=jan.kratochvil@redhat.com \
--cc=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