From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22178 invoked by alias); 26 Jan 2007 14:31:37 -0000 Received: (qmail 22169 invoked by uid 22791); 26 Jan 2007 14:31:36 -0000 X-Spam-Check-By: sourceware.org Received: from cantor.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 26 Jan 2007 14:31:27 +0000 Received: from Relay1.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 mx1.suse.de (Postfix) with ESMTP id 39F301236A for ; Fri, 26 Jan 2007 15:31:25 +0100 (CET) From: Andreas Schwab To: gdb-patches@sourceware.org Subject: Fix spurious testsuite failure "up in corefile.exp (reinit)" X-Yow: I decided to be JOHN TRAVOLTA instead!! Date: Fri, 26 Jan 2007 14:31: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/msg00536.txt.bz2 This fixes a spurious testsuite failure on ia64. The full backtrace is this: #0 0xa000000000010620 in __kernel_syscall_via_break () #1 0x20000000001a3d40 in *__GI_raise (sig=) at ../nptl/sysdeps/unix/sysv/linux/raise.c:67 #2 0x20000000001a6450 in *__GI_abort () at abort.c:88 #3 0x4000000000001020 in func2 () at /cvs/gdb/gdb/testsuite/gdb.base/coremaker.c:127 #4 0x4000000000001060 in func1 () at /cvs/gdb/gdb/testsuite/gdb.base/coremaker.c:133 #5 0x40000000000010e0 in main () at /cvs/gdb/gdb/testsuite/gdb.base/coremaker.c:139 Thus "up" gets you to __GI_raise. The first "up" test already allows a non-empty arg list. Andreas. 2007-01-26 Andreas Schwab * gdb.base/corefile.exp: Allow non-empty argument list in reinit test. --- gdb/testsuite/gdb.base/corefile.exp.~1.11.~ 2007-01-10 11:18:57.000000000 +0100 +++ gdb/testsuite/gdb.base/corefile.exp 2007-01-26 15:24:24.000000000 +0100 @@ -239,6 +239,6 @@ gdb_test_multiple "x/8bd buf2" "$test" { # test reinit_frame_cache gdb_load ${binfile} -gdb_test "up" "#\[0-9\]* *\[0-9xa-fH'\]* in .* \\(\\).*" "up in corefile.exp (reinit)" +gdb_test "up" "#\[0-9\]* *\[0-9xa-fH'\]* in .* \\(.*\\).*" "up in corefile.exp (reinit)" gdb_test "core" "No core file now." -- 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."