From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22873 invoked by alias); 20 Apr 2010 19:25:28 -0000 Received: (qmail 22858 invoked by uid 22791); 20 Apr 2010 19:25:27 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 20 Apr 2010 19:25:22 +0000 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3KJPLol001711 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 20 Apr 2010 15:25:21 -0400 Received: from qcore.mollernet.net (vpn-9-39.rdu.redhat.com [10.11.9.39]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3KJPFdd002799; Tue, 20 Apr 2010 15:25:21 -0400 Message-ID: <4BCDFF9B.2000303@redhat.com> Date: Tue, 20 Apr 2010 19:25:00 -0000 From: Chris Moller User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Thunderbird/3.0b2 MIME-Version: 1.0 To: Michael Snyder CC: "gdb-patches@sourceware.org" Subject: Re: PR10179, Add support to set a breakpoint at every function in a file References: <4BCDFEA5.9090501@redhat.com> <4BCDFF35.8040401@vmware.com> In-Reply-To: <4BCDFF35.8040401@vmware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2010-04/txt/msg00632.txt.bz2 On 04/20/10 15:23, Michael Snyder wrote: > Chris Moller wrote: >> Allows the argument to rbreak to specify a file to which to limit the >> regex search for function names. This allows, e.g., >> >> rbr file.c : .* >> >> which sets bps in every function in the specified file. > > I like the idea very much, but I don't quite understand > the extra white space? > > The whitespace is optional, included just for clarity. All the WS is stripped from both the filename and the regex before they're passed to the search.