From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13722 invoked by alias); 4 Jul 2009 21:11:57 -0000 Received: (qmail 13713 invoked by uid 22791); 4 Jul 2009 21:11:56 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 04 Jul 2009 21:11:49 +0000 Received: (qmail 15750 invoked from network); 4 Jul 2009 21:11:47 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 4 Jul 2009 21:11:47 -0000 From: Pedro Alves To: gdb@sourceware.org Subject: Re: annota1.exp Date: Sat, 04 Jul 2009 21:11:00 -0000 User-Agent: KMail/1.9.10 Cc: Mark Kettenis References: <200907042030.n64KUxnJ025659@brahms.sibelius.xs4all.nl> In-Reply-To: <200907042030.n64KUxnJ025659@brahms.sibelius.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907042212.23474.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-07/txt/msg00024.txt.bz2 On Saturday 04 July 2009 21:30:59, Mark Kettenis wrote: > Hi folks, > > I'm seeing new failures in annota1.exp (on OpenBSD/i386 at least): > > FAIL: gdb.base/annota1.exp: send SIGUSR1 Hmmm, sounds suspiciously related, or does it look like you have a new issue masking that other one? http://sourceware.org/ml/gdb/2009-02/msg00080.html There's now a reinit_frame_cache call in regcache_write_pc. Did you revert Daniel's patch in your tree perhaps? That would account for the extra "frames-invalid" output, I guess. > The problem seems to be that with a freshly built GDB I get: > > > signal SIGUSR1 > > ^Z^Zpost-prompt > Continuing with signal SIGUSR1. > > ^Z^Zframes-invalid Looks like there's a registers_changed or reinit_frame_cache call somewhere between > > ^Z^Zstarting > > > but the expect pattern checks for the "frames-invalid" and "starting" > lines in reverse order: > > > -re "\r\n\032\032post-prompt\r\nContinuing with signal SIGUSR1.\r\n\r\n\032\032starting\(\r\n\r\n\032\032frames-invalid\)+ > > > Are people seeing the same thing on other platforms? Here's what I get on x86_64-linux: signal SIGUSR1 ^Z^Zpost-prompt Continuing with signal SIGUSR1. ^Z^Zstarting ^Z^Zframes-invalid ^Z^Zframes-invalid ^Z^Zbreakpoint 2 Breakpoint 2, ^Z^Zframe-begin 0 0x40052f > FAIL: gdb.base/annota1.exp: signal sent Here's what I get: PASS: gdb.base/annota1.exp: breakpoint ignore count signal SIGTRAP ^Z^Zpost-prompt Continuing with signal SIGTRAP. ^Z^Zstarting ^Z^Zframes-invalid ^Z^Zsignalled Program terminated with signal ^Z^Zsignal-name SIGTRAP ^Z^Zsignal-name-end , ^Z^Zsignal-string Trace/breakpoint trap ^Z^Zsignal-string-end . The program no longer exists. ^Z^Zstopped ^Z^Zpre-prompt (gdb) ^Z^Zprompt PASS: gdb.base/annota1.exp: signal sent -- Pedro Alves