From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9336 invoked by alias); 24 Jan 2010 04:33:14 -0000 Received: (qmail 9174 invoked by uid 22791); 24 Jan 2010 04:33:11 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 24 Jan 2010 04:33:04 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0O4X15Z018378 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 23 Jan 2010 23:33:01 -0500 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0O4Wxc9023235 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 23 Jan 2010 23:33:01 -0500 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id o0O4WwcO017935; Sun, 24 Jan 2010 05:32:58 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.3/Submit) id o0O4Ww6v017934; Sun, 24 Jan 2010 05:32:58 +0100 Date: Sun, 24 Jan 2010 04:33:00 -0000 From: Jan Kratochvil To: gdb-patches@sourceware.org Cc: Paul Pluzhnikov Subject: [obv] testsuite: Fix gdb.arch/i386-bp_permanent.exp regression Message-ID: <20100124043257.GA17793@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-08-17) 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: 2010-01/txt/msg00554.txt.bz2 Hi, fixed Running ./gdb.arch/i386-bp_permanent.exp ... -FAIL: gdb.arch/i386-bp_permanent.exp: Disassemble function 'standard' -FAIL: gdb.arch/i386-bp_permanent.exp: Disassemble failed, skipping entire test. +PASS: gdb.arch/i386-bp_permanent.exp: Stop at the 'standard' start breakpoint (fetching esp). +PASS: gdb.arch/i386-bp_permanent.exp: Stop at permanent breakpoint. +PASS: gdb.arch/i386-bp_permanent.exp: Single stepping past permanent breakpoint. +PASS: gdb.arch/i386-bp_permanent.exp: ESP value does not match - step_permanent_breakpoint wrong. due to [patch] Omit function name when disassembling one function [Was: Re: [RFC][patch] Allow to disassemble line.] http://sourceware.org/ml/gdb-patches/2009-10/msg00505.html http://sourceware.org/ml/gdb-cvs/2009-10/msg00161.html according to the approved adjustment there: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.asm/asm-source.exp.diff?cvsroot=src&r1=1.74&r2=1.75 Regards, Jan http://sourceware.org/ml/gdb-cvs/2010-01/msg00203.html --- src/gdb/testsuite/ChangeLog 2010/01/22 17:06:49 1.2099 +++ src/gdb/testsuite/ChangeLog 2010/01/24 04:29:32 1.2100 @@ -1,3 +1,8 @@ +2010-01-24 Jan Kratochvil + + * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'): + Adjust it for DISASSEMBLY_OMIT_FNAME. + 2010-01-22 Jan Kratochvil PR symtab/11199: --- src/gdb/testsuite/gdb.arch/i386-bp_permanent.exp 2010/01/01 07:32:00 1.3 +++ src/gdb/testsuite/gdb.arch/i386-bp_permanent.exp 2010/01/24 04:29:32 1.4 @@ -62,7 +62,7 @@ set function standard set retcode [gdb_test_multiple "disassemble $function" "Disassemble function '$function'" { - -re ".*($hex) <$function\\+0>.*($hex) <$function\\+4>.*($hex) <$function\\+5>.*($hex) <$function\\+6>.*$gdb_prompt $" { + -re ".*($hex) <\\+0>.*($hex) <\\+4>.*($hex) <\\+5>.*($hex) <\\+6>.*$gdb_prompt $" { set function_start $expect_out(1,string); set address $expect_out(2,string); set address1 $expect_out(3,string);