From 755bb6f90b071f6575d19a6c81f588535389e5f5 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Sun, 24 Jan 2010 03:56:31 +0000 Subject: [PATCH] - Update gdb.arch/powerpc-power7.exp for current binutils HEAD. --- gdb-ppc-power7-test.patch | 17 ++++++++++++----- gdb.spec | 5 ++++- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/gdb-ppc-power7-test.patch b/gdb-ppc-power7-test.patch index c694730..4d4772a 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-power7.exp -@@ -0,0 +1,175 @@ +@@ -0,0 +1,182 @@ +# Copyright 2009 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify @@ -73,13 +73,20 @@ +} + +func_check 0x0 "lxvd2x vs3,r4,r5" -+func_check 0x4 "lxvd2ux vs3,r4,r5" ++# [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 0x8 "lxvd2x vs43,r4,r5" -+func_check 0xc "lxvd2ux vs43,r4,r5" ++# lxvd2ux vs43,r4,r5 ++func_check 0xc ".long 0x7d642ed9" +func_check 0x10 "stxvd2x vs3,r4,r5" -+func_check 0x14 "stxvd2ux vs3,r4,r5" ++# stxvd2ux vs3,r4,r5 ++func_check 0x14 ".long 0x7c642fd8" +func_check 0x18 "stxvd2x vs43,r4,r5" -+func_check 0x1c "stxvd2ux vs43,r4,r5" ++# stxvd2ux vs43,r4,r5 ++func_check 0x1c ".long 0x7d642fd9" +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 28cb185..fe74527 100644 --- a/gdb.spec +++ b/gdb.spec @@ -36,7 +36,7 @@ Version: 7.0.50.20100121 # 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: 6%{?_with_upstream:.upstream}%{dist} +Release: 7%{?_with_upstream:.upstream}%{dist} License: GPLv3+ Group: Development/Debuggers @@ -1018,6 +1018,9 @@ fi %endif %changelog +* Sun Jan 24 2010 Jan Kratochvil - 7.0.50.20100121-7.fc13 +- Update gdb.arch/powerpc-power7.exp for current binutils HEAD. + * Fri Jan 22 2010 Jan Kratochvil - 7.0.50.20100121-6.fc13 - Disable addon (finish) due to inline-cmds.exp: up from outer_inline2 assert. - Fix gdb.arch/powerpc-power7.exp compatibility.