From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27539 invoked by alias); 20 Apr 2010 19:30:59 -0000 Received: (qmail 27528 invoked by uid 22791); 20 Apr 2010 19:30:58 -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:30:54 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3KJUrtO001845 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 20 Apr 2010 15:30:53 -0400 Received: from qcore.mollernet.net (vpn-9-39.rdu.redhat.com [10.11.9.39]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3KJUqsR027274 for ; Tue, 20 Apr 2010 15:30:52 -0400 Message-ID: <4BCE00EC.9050300@redhat.com> Date: Tue, 20 Apr 2010 19:30: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: 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> <4BCDFF9B.2000303@redhat.com> <4BCE0019.60806@vmware.com> In-Reply-To: <4BCE0019.60806@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/msg00636.txt.bz2 On 04/20/10 15:27, Michael Snyder wrote: > Chris Moller wrote: >> 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. > > Thanks. > > Worth a doco mention? Sure, if that's what folks want, I'll add some words to gdb.texinfo and refcard.tex