From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31904 invoked by alias); 13 Jul 2011 05:36:34 -0000 Received: (qmail 31651 invoked by uid 22791); 13 Jul 2011 05:36:32 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 13 Jul 2011 05:36:00 +0000 Received: (qmail 20881 invoked from network); 13 Jul 2011 05:35:58 -0000 Received: from unknown (HELO ?192.168.0.101?) (yao@127.0.0.2) by mail.codesourcery.com with ESMTPA; 13 Jul 2011 05:35:58 -0000 Message-ID: <4E1D2EB9.3090909@codesourcery.com> Date: Wed, 13 Jul 2011 07:09:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: gdb-patches@sourceware.org Subject: [patch] Skip async-shell.exp if displaced stepping is not supported Content-Type: multipart/mixed; boundary="------------020800020406080009010409" 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: 2011-07/txt/msg00337.txt.bz2 This is a multi-part message in MIME format. --------------020800020406080009010409 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-length: 131 non-stop mode needs displaced stepping. Skip this test on the target which displaced stepping is not supported. -- Yao (齐尧) --------------020800020406080009010409 Content-Type: text/x-patch; name="0012-skip-async-shell-if-disp-step-is-not-supported.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0012-skip-async-shell-if-disp-step-is-not-supported.patch" Content-length: 782 2011-07-13 Yao Qi gdb/testsuite/ * gdb.base/async-shell.exp: Skip test if displaced stepping is not supported. --- gdb/testsuite/gdb.base/async-shell.exp | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/gdb/testsuite/gdb.base/async-shell.exp b/gdb/testsuite/gdb.base/async-shell.exp index b5ccd1f..a1eb314 100644 --- a/gdb/testsuite/gdb.base/async-shell.exp +++ b/gdb/testsuite/gdb.base/async-shell.exp @@ -14,6 +14,12 @@ # along with this program. If not, see . set testfile async-shell + +if { ![support_displaced_stepping] } { + unsupported "displaced stepping" + return -1 +} + if { [prepare_for_testing ${testfile}.exp ${testfile}] } { return -1 } -- 1.7.0.4 --------------020800020406080009010409--