From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30413 invoked by alias); 20 Apr 2010 19:35:04 -0000 Received: (qmail 30385 invoked by uid 22791); 20 Apr 2010 19:35:02 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-outbound-1.vmware.com (HELO smtp-outbound-1.vmware.com) (65.115.85.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 20 Apr 2010 19:34:57 +0000 Received: from mailhost2.vmware.com (mailhost2.vmware.com [10.16.67.167]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 5F68912009; Tue, 20 Apr 2010 12:34:56 -0700 (PDT) Received: from msnyder-server.eng.vmware.com (promd-2s-dhcp138.eng.vmware.com [10.20.124.138]) by mailhost2.vmware.com (Postfix) with ESMTP id 5342B8E6BA; Tue, 20 Apr 2010 12:34:56 -0700 (PDT) Message-ID: <4BCE01E0.8020401@vmware.com> Date: Tue, 20 Apr 2010 19:35:00 -0000 From: Michael Snyder User-Agent: Thunderbird 2.0.0.22 (X11/20090609) MIME-Version: 1.0 To: Chris Moller 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> <4BCDFF9B.2000303@redhat.com> <4BCE0019.60806@vmware.com> <4BCE00EC.9050300@redhat.com> In-Reply-To: <4BCE00EC.9050300@redhat.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/msg00637.txt.bz2 Chris Moller wrote: > 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 As far as the code goes, I don't think we allow single-line blocks, and I personally don't care much for such short variable names that don't convey much about what they are for...