From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24743 invoked by alias); 2 Mar 2016 23:20:11 -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 24728 invoked by uid 89); 2 Mar 2016 23:20:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-pf0-f202.google.com Received: from mail-pf0-f202.google.com (HELO mail-pf0-f202.google.com) (209.85.192.202) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 02 Mar 2016 23:20:09 +0000 Received: by mail-pf0-f202.google.com with SMTP id q129so480024pfb.1 for ; Wed, 02 Mar 2016 15:20:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:message-id:date:subject:from:to:cc; bh=gYtr52kGvUicCWn6q/W8l/IWfhltl9HHj5FuslI52lg=; b=k0dt9Tv1oVrD0z7yMqX9x4kGa5p7+Fj8w4DwlDNGPn96HubexAnRslL3nwInFUKVru F6rN6IzoZ9Q0zOH40gBm+QuN1+ry3tl1rxFljLcRpTearuWalLzwVuqVucJjYdljECXG AYaRK5cfgNr+c/DM9klRKGGkixnrOprNBl1P7u1nOEN9s1ZJy74ETPjqc9+P1xbm4KrV ezdGr5euasZ43QPniiVlM+q2NsOATrn66Sf/bPFMlPBoTXNCGRoOVc6ZblPEnrJKjyFo FmWkmXMmolPHV5l4pEb4/btHHdn0PXA2VzpXnWhjEpMCVpplGHl4kpK1wmyzMs2vUv0C OQ0A== X-Gm-Message-State: AD7BkJKKYYZqqexExv2Y1qOvyz/9b49xny1lIPP++qUoIa8ZncFJ/Wk57rOIa2m9Ub72QpQjzA== MIME-Version: 1.0 X-Received: by 10.98.1.81 with SMTP id 78mr963317pfb.1.1456960807371; Wed, 02 Mar 2016 15:20:07 -0800 (PST) Message-ID: <001a1145617e604203052d191f01@google.com> Date: Wed, 02 Mar 2016 23:20:00 -0000 Subject: Re: [PATCH, doc RFA] Add "skip regexp" From: Doug Evans To: Simon Marchi Cc: Pedro Alves , , Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes X-IsSubscribed: yes X-SW-Source: 2016-03/txt/msg00040.txt.bz2 Simon Marchi writes: > On 16-02-16 08:07 PM, Doug Evans wrote: > > +# Test -fi + -fu. > > + > > +if ![runto_main] { > > + fail "Can't run to main" > > + return > > +} > > + > > +set test "step using -fi + -fu" > > +gdb_test_no_output "skip delete" > > +gdb_test "skip -fi skip1.c -fu test_skip" \ > > + "Function test_skip in file skip1.c will be skipped when stepping\." > > +gdb_breakpoint "test_skip_file_and_function" > > +gdb_breakpoint "end_test_skip_file_and_function" > > +gdb_test "call test_skip_file_and_function ()" "silently stop." > > Hi Doug, > > I just saw a failure of this test on a target that doesn't have inferior calls. It > seems to me like the function call isn't fundamental to the test and it could be > avoided by organizing things differently. What do you think? > > Otherwise, we would need to add a > > if [target_info exists gdb,cannot_call_functions] { Bleah, righto. Fix forthcoming. I need to cleanup skip.exp first.