From ee50e95c1167cb11d7fcd681c9109e3d85041a0c Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: May 02 2017 21:05:38 +0000 Subject: [ppc*] Fix gdb.arch/powerpc-power7.exp testcase regression (RH BZ 1440044). --- diff --git a/gdb-ppc-power7-test.patch b/gdb-ppc-power7-test.patch index a575aa8..1808c1c 100644 --- a/gdb-ppc-power7-test.patch +++ b/gdb-ppc-power7-test.patch @@ -1,6 +1,6 @@ --- /dev/null +++ b/gdb/testsuite/gdb.arch/powerpc-power7rh.exp -@@ -0,0 +1,182 @@ +@@ -0,0 +1,178 @@ +# Copyright 2009 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify @@ -76,17 +76,13 @@ +# [PATCH] Remove support for POWER7 VSX load/store with update instructions +# http://sourceware.org/ml/binutils/2009-09/msg00680.html +# http://sourceware.org/ml/binutils-cvs/2009-09/msg00331.html -+# lxvd2ux vs3,r4,r5 -+func_check 0x4 ".long 0x7c642ed8" ++func_check 0x4 "lxvb16x vs3,r4,r5" +func_check 0x8 "lxvd2x vs43,r4,r5" -+# lxvd2ux vs43,r4,r5 -+func_check 0xc ".long 0x7d642ed9" ++func_check 0xc "lxvb16x vs43,r4,r5" +func_check 0x10 "stxvd2x vs3,r4,r5" -+# stxvd2ux vs3,r4,r5 -+func_check 0x14 ".long 0x7c642fd8" ++func_check 0x14 "stxvb16x vs3,r4,r5" +func_check 0x18 "stxvd2x vs43,r4,r5" -+# stxvd2ux vs43,r4,r5 -+func_check 0x1c ".long 0x7d642fd9" ++func_check 0x1c "stxvb16x vs43,r4,r5" +func_check 0x20 "xxmrghd vs3,vs4,vs5" +func_check 0x24 "xxmrghd vs43,vs44,vs45" +func_check 0x28 "xxmrgld vs3,vs4,vs5" diff --git a/gdb.spec b/gdb.spec index 5aecc86..d5727ad 100644 --- a/gdb.spec +++ b/gdb.spec @@ -26,7 +26,7 @@ Version: 7.99.90.%{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: 8%{?dist} +Release: 9%{?dist} License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL Group: Development/Debuggers @@ -1580,6 +1580,9 @@ then fi %changelog +* Fri Apr 21 2017 Jan Kratochvil - 7.99.90.20170420-9.fc26 +- [ppc*] Fix gdb.arch/powerpc-power7.exp testcase regression (RH BZ 1440044). + * Fri Apr 21 2017 Jan Kratochvil - 7.99.90.20170420-8.fc26 - Rebase to FSF GDB 7.99.90.20170420 (pre-8.0 stable branch).