From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27338 invoked by alias); 3 Mar 2012 07:01:29 -0000 Received: (qmail 27329 invoked by uid 22791); 3 Mar 2012 07:01:27 -0000 X-SWARE-Spam-Status: No, hits=-6.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD 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; Sat, 03 Mar 2012 07:01:10 +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.14.4/8.14.4) with ESMTP id q2371AnZ000998 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 3 Mar 2012 02:01:10 -0500 Received: from host2.jankratochvil.net (ovpn-116-19.ams2.redhat.com [10.36.116.19]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q237164R011700 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 3 Mar 2012 02:01:08 -0500 Date: Sat, 03 Mar 2012 07:01:00 -0000 From: Jan Kratochvil To: gdb-patches@sourceware.org Subject: [obv] testsuite: disp-step-syscall.exp: Setup KFAIL for PR server/13796 Message-ID: <20120303070105.GA13581@host2.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) 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: 2012-03/txt/msg00109.txt.bz2 Hi, [patch] Fix disp-step-syscall.exp on some i386 targets http://sourceware.org/ml/gdb-patches/2012-02/msg00635.html just fixed a testcase which revealed existing IMO gdbserver Bug, therefore just KFAILed it. stepi Program terminated with signal SIGILL, Illegal instruction. The program no longer exists. (gdb) PASS: gdb.base/disp-step-syscall.exp: vfork: single step over vfork Child terminated with signal = 0x4 (SIGILL) GDBserver exiting print /x $pc No registers. (gdb) FAIL: gdb.base/disp-step-syscall.exp: vfork: get hexadecimal valueof "$pc" (timeout) -> http://sourceware.org/bugzilla/show_bug.cgi?id=13796 Regards, Jan http://sourceware.org/ml/gdb-cvs/2012-03/msg00073.html --- src/gdb/testsuite/ChangeLog 2012/03/02 20:36:39 1.3115 +++ src/gdb/testsuite/ChangeLog 2012/03/03 06:58:16 1.3116 @@ -1,3 +1,8 @@ +2012-03-03 Jan Kratochvil + + Setup KFAIL for PR server/13796. + * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL. + 2012-03-02 Joel Brobecker * gdb.ada/operator_bp: New testcase. --- src/gdb/testsuite/gdb.base/disp-step-syscall.exp 2012/02/29 14:59:41 1.6 +++ src/gdb/testsuite/gdb.base/disp-step-syscall.exp 2012/03/03 06:58:16 1.7 @@ -118,7 +118,20 @@ gdb_test_no_output "set displaced-stepping on" # Check the address of next instruction of syscall. - gdb_test "stepi" ".*" "single step over $syscall" + if {$syscall == "vfork" && [is_remote target]} { + setup_kfail server/13796 "*-*-*" + } + set test "single step over $syscall" + gdb_test_multiple "stepi" $test { + -re "Program terminated with signal SIGILL,.*\r\n$gdb_prompt $" { + fail $test + return + } + -re "\r\n$gdb_prompt $" { + pass $test + } + } + set syscall_insn_next_addr_found [get_hexadecimal_valueof "\$pc" "0"] set test "single step over $syscall final pc"