From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17802 invoked by alias); 31 Jan 2007 12:33:39 -0000 Received: (qmail 17794 invoked by uid 22791); 31 Jan 2007 12:33:39 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 31 Jan 2007 12:33:29 +0000 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 0A2002162B for ; Wed, 31 Jan 2007 13:33:27 +0100 (CET) From: Andreas Schwab To: gdb-patches@sourceware.org Subject: Testsuite failures in gdb.base/callfuncs.exp X-Yow: I want DUSTIN HOFFMAN!! .. I want LIBERACE!! YOW!! Date: Wed, 31 Jan 2007 12:33:00 -0000 Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00602.txt.bz2 This fixes these testsuite failures on ia64: FAIL: gdb.base/callfuncs.exp: gdb function calls preserve register contents FAIL: gdb.base/callfuncs.exp: continue after stop in call dummy preserves register contents FAIL: gdb.base/callfuncs.exp: return after stop in call dummy preserves register contents The problem is that the bspstore register is specially tied with the bsp register, and this can't be controlled by gdb. Andreas. 2007-01-31 Andreas Schwab * gdb.base/callfuncs.exp (do_get_all_registers): Filter out bspstore register on ia64. --- gdb/testsuite/gdb.base/callfuncs.exp.~1.18.~ 2007-01-10 11:18:57.000000000 +0100 +++ gdb/testsuite/gdb.base/callfuncs.exp 2007-01-31 13:28:38.000000000 +0100 @@ -248,6 +248,11 @@ proc do_get_all_registers { } { gdb_expect { -re "info all-registers\r\n(.*)$gdb_prompt $" { set all_registers_content $expect_out(1,string) + if [istarget "ia64-*-*"] { + # Filter out bspstore which is specially tied to bsp, + # giving spurious differences. + regsub {\nbspstore[^\n]*\n} $all_registers_content "\n" all_registers_content + } } default {} } -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."