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: Test clflushopt instruction decode (for RH BZ 1262471).
Date: Sat, 27 Jun 2026 23:57:24 GMT	[thread overview]
Message-ID: <178260464474.1.10336255811606762293.rpms-gdb-65adaa87b174@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : 65adaa87b1747efd23e9a5f0b30acd698febe7bb
Author : Jan Kratochvil <jan.kratochvil@redhat.com>
Date   : 2016-01-16T22:57:23+01:00
Stats  : +58/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/65adaa87b1747efd23e9a5f0b30acd698febe7bb?branch=gdb-17.2-rebase-f44

Log:
Test clflushopt instruction decode (for RH BZ 1262471).

---
diff --git a/gdb-opcodes-clflushopt-test.patch b/gdb-opcodes-clflushopt-test.patch
new file mode 100644
index 0000000..63c3031
--- /dev/null
+++ b/gdb-opcodes-clflushopt-test.patch
@@ -0,0 +1,50 @@
+--- /dev/null	2016-01-16 21:50:55.732812229 +0100
++++ gdb-7.6.1/gdb/testsuite/gdb.arch/amd64-clflushopt.exp	2016-01-16 22:49:19.950683918 +0100
+@@ -0,0 +1,25 @@
++# Copyright 2016 Free Software Foundation, Inc.
++
++# 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 3 of the License, 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.  If not, see <http://www.gnu.org/licenses/>.
++
++if { ![istarget "x86_64-*-*"] && ![istarget "i?86-*-*"] } then {
++    verbose "Skipping amd64 clflushopt test."
++    return
++}
++
++if [prepare_for_testing amd64-clflushopt.exp amd64-clflushopt amd64-clflushopt.S [list debug "additional_flags=-nostdlib"]] {
++    return -1
++}
++
++gdb_test "disas _start" "Dump of assembler code for function _start:\r\n *0x\[0-9a-f\]+ <\[+\]0>:\tclflushopt \\(%edi\\)\r\nEnd of assembler dump\\." "clflushopt"
+--- /dev/null	2016-01-16 21:50:55.732812229 +0100
++++ gdb-7.6.1/gdb/testsuite/gdb.arch/amd64-clflushopt.S	2016-01-16 22:49:26.398725209 +0100
+@@ -0,0 +1,19 @@
++/* Copyright 2016 Free Software Foundation, Inc.
++
++   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 3 of the License, 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.  If not, see <http://www.gnu.org/licenses/>.
++
++   This file is part of the gdb testsuite.  */
++
++_start:	.globl	_start
++	clflushopt (%edi)

diff --git a/gdb.spec b/gdb.spec
index af99b61..8a3952b 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: 42%{?dist}
+Release: 43%{?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
@@ -564,6 +564,9 @@ Patch1067: gdb-fork-plus-threads-ascending-revert.patch
 # Fix false FAILs on too long base directory.
 Patch1070: gdb-testsuite-longdirname.patch
 
+# Test clflushopt instruction decode (for RH BZ 1262471).
+Patch1073: gdb-opcodes-clflushopt-test.patch
+
 %if 0%{!?rhel:1} || 0%{?rhel} > 6
 # RL_STATE_FEDORA_GDB would not be found for:
 # Patch642: gdb-readline62-ask-more-rh.patch
@@ -875,6 +878,7 @@ find -name "*.info*"|xargs rm -f
 %patch1066 -p1
 %patch1067 -p1
 %patch1070 -p1
+%patch1073 -p1
 %patch848 -p1
 %patch833 -p1
 %patch642 -p1
@@ -1397,6 +1401,9 @@ then
 fi
 
 %changelog
+* Sat Jan 16 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20160106-43.fc24
+- Test clflushopt instruction decode (for RH BZ 1262471).
+
 * Sat Jan  9 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20160106-42.fc24
 - Simplify .spec: Remove conditional revert of: gdb-pahole-python2.patch
 

                 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=178260464474.1.10336255811606762293.rpms-gdb-65adaa87b174@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