From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23586 invoked by alias); 29 Oct 2015 19:32:21 -0000 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 Received: (qmail 23572 invoked by uid 89); 29 Oct 2015 19:32:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: xyzzy.0x04.net Received: from xyzzy.0x04.net (HELO xyzzy.0x04.net) (109.74.193.254) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 29 Oct 2015 19:32:17 +0000 Received: from hogfather.0x04.net (89-65-84-110.dynamic.chello.pl [89.65.84.110]) by xyzzy.0x04.net (Postfix) with ESMTPS id 0FFD53FEBA; Thu, 29 Oct 2015 20:32:32 +0100 (CET) Received: from [192.168.43.80] (public-gprs363520.centertel.pl [37.47.51.65]) by hogfather.0x04.net (Postfix) with ESMTPSA id 30C375800AC; Thu, 29 Oct 2015 20:32:13 +0100 (CET) Subject: Re: [PATCH v2 01/13] gdb/linux-record: Add testcases for a few syscalls. To: Pedro Alves , qiyaoltc@gmail.com References: <5628E5D6.5020706@0x04.net> <1445521166-14492-1-git-send-email-koriakin@0x04.net> <5632035E.30809@redhat.com> Cc: gdb-patches@sourceware.org From: =?UTF-8?Q?Marcin_Ko=c5=9bcielnicki?= Message-ID: <56327421.6090203@0x04.net> Date: Fri, 30 Oct 2015 10:36:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <5632035E.30809@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2015-10/txt/msg00741.txt.bz2 >> + >> +gdb_test "break marker1" \ >> + "Breakpoint $decimal at $hex: file .*$srcfile, line $decimal.*" \ >> + "set breakpoint at marker1" >> + >> +gdb_test "break marker2" \ >> + "Breakpoint $decimal at $hex: file .*$srcfile, line $decimal.*" \ >> + "set breakpoint at marker2" >> + >> +gdb_continue_to_breakpoint "marker1" ".*$srcfile:.*" >> + >> +gdb_continue_to_breakpoint "marker2" ".*$srcfile:.*" > > Most (all?) these tests run to marker1 and then immediately to > marker2. Can't they just continue to marker2 directly? > Huh. I've done that and, funnily enough, the waitpid testcase magically started to pass. For the record, I've reported the bug here: https://sourceware.org/bugzilla/show_bug.cgi?id=19187 I guess there won't be a KFAIL after all.