From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 42719 invoked by alias); 30 Oct 2015 10:37:36 -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 42708 invoked by uid 89); 30 Oct 2015 10:37:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 30 Oct 2015 10:37:34 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id C0B8FC0AEE57; Fri, 30 Oct 2015 10:37:33 +0000 (UTC) Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t9UAbWJL021961; Fri, 30 Oct 2015 06:37:32 -0400 Message-ID: <5633486B.40502@redhat.com> Date: Fri, 30 Oct 2015 15:05:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: =?UTF-8?B?TWFyY2luIEtvxZtjaWVsbmlja2k=?= , qiyaoltc@gmail.com CC: gdb-patches@sourceware.org Subject: Re: [PATCH v2 01/13] gdb/linux-record: Add testcases for a few syscalls. References: <5628E5D6.5020706@0x04.net> <1445521166-14492-1-git-send-email-koriakin@0x04.net> <5632035E.30809@redhat.com> <56327421.6090203@0x04.net> In-Reply-To: <56327421.6090203@0x04.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2015-10/txt/msg00753.txt.bz2 On 10/29/2015 07:31 PM, Marcin Kościelnicki wrote: >>> + >>> +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. Eh. > For the record, I've reported the bug here: > https://sourceware.org/bugzilla/show_bug.cgi?id=19187 Thanks. > I guess there won't be a KFAIL after all. > OK. I'll take a look at the new version. Thanks, Pedro Alves