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 "Unknown error 512" on x32 (H.J. Lu, BZ 956883).
Date: Sat, 27 Jun 2026 23:56:11 GMT	[thread overview]
Message-ID: <178260457175.1.3276287111467856588.rpms-gdb-3344b6ba4807@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : 3344b6ba4807f3ece82f1a28132b33c3520a39f5
Author : Jan Kratochvil <jan.kratochvil@redhat.com>
Date   : 2013-04-27T18:40:38+02:00
Stats  : +5/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/3344b6ba4807f3ece82f1a28132b33c3520a39f5?branch=gdb-17.2-rebase-f44

Log:
Fix false "Unknown error 512" on x32 (H.J. Lu, BZ 956883).

---
diff --git a/gdb-x86_64-i386-syscall-restart.patch b/gdb-x86_64-i386-syscall-restart.patch
index d5d6b10..af3cccd 100644
--- a/gdb-x86_64-i386-syscall-restart.patch
+++ b/gdb-x86_64-i386-syscall-restart.patch
@@ -102,7 +102,7 @@ gdb/
  	}
      }
 +
-+  if (gdbarch_ptr_bit (gdbarch) == 32)
++  if (gdbarch_bfd_arch_info (gdbarch)->bits_per_word == 32)
 +    {
 +      /* Sign-extend %eax as during return from a syscall it is being checked
 +	 for -ERESTART* values -512 being above 0xfffffffffffffe00; tested by

diff --git a/gdb.spec b/gdb.spec
index 48e152d..0762d8b 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -36,7 +36,7 @@ Version: 7.6
 
 # 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: 24%{?dist}
+Release: 25%{?dist}
 
 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and BSD and Public Domain
 Group: Development/Debuggers
@@ -1390,6 +1390,9 @@ fi
 %endif # 0%{!?el5:1} || "%{_target_cpu}" == "noarch"
 
 %changelog
+* Sat Apr 27 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6-25.fc19
+- Fix false "Unknown error 512" on x32 (H.J. Lu, BZ 956883).
+
 * Fri Apr 26 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6-24.fc19
 - Rebase to FSF GDB 7.6.
 

                 reply	other threads:[~2026-06-27 23:56 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=178260457175.1.3276287111467856588.rpms-gdb-3344b6ba4807@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