From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 107976 invoked by alias); 10 Apr 2015 15:56:09 -0000 Mailing-List: contact gdb-testers-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-testers-owner@sourceware.org Received: (qmail 107965 invoked by uid 89); 10 Apr 2015 15:56:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: kwanyin.sergiodj.net Received: from kwanyin.sergiodj.net (HELO kwanyin.sergiodj.net) (176.31.208.32) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 10 Apr 2015 15:56:07 +0000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [binutils-gdb] Test step-over-{lands-on-breakpoint|trips-on-watchpoint}.exp with displaced stepping From: sergiodj+buildbot@redhat.com To: gdb-testers@sourceware.org Message-Id: Date: Fri, 10 Apr 2015 15:56:00 -0000 X-SW-Source: 2015-q2/txt/msg01472.txt.bz2 *** TEST RESULTS FOR COMMIT c79d856c88fbc58584d811c04b4812618aa6ac7b *** Author: Pedro Alves Branch: master Commit: c79d856c88fbc58584d811c04b4812618aa6ac7b Test step-over-{lands-on-breakpoint|trips-on-watchpoint}.exp with displaced stepping These tests exercise the infrun.c:proceed code that needs to know to start new step overs (along with switch_back_to_stepped_thread, etc.). That code is tricky to get right in the multitude of possible combinations (at least): (native | remote) X (all-stop | all-stop-but-target-always-in-non-stop) X (displaced-stepping | in-line step-over). The first two above are properties of the target, but the different step-over-breakpoint methods should work with any target that supports them. This patch makes sure we always test both methods on all targets. Tested on x86-64 Fedora 20. gdb/testsuite/ChangeLog: 2015-04-10 Pedro Alves * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New procedure, factored out from ... (top level): ... here. Add "set displaced-stepping" testing axis. * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New parameter "displaced". Use it. (top level): Use foreach and add "set displaced-stepping" testing axis.