From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18633 invoked by alias); 11 Apr 2003 19:55:47 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 18582 invoked from network); 11 Apr 2003 19:55:46 -0000 Received: from unknown (HELO jackfruit.Stanford.EDU) (171.64.38.136) by sources.redhat.com with SMTP; 11 Apr 2003 19:55:46 -0000 Received: (from carlton@localhost) by jackfruit.Stanford.EDU (8.11.6/8.11.6) id h3BJtaG23657; Fri, 11 Apr 2003 12:55:36 -0700 X-Authentication-Warning: jackfruit.Stanford.EDU: carlton set sender to carlton@math.stanford.edu using -f To: Jim Blandy Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: match source code, not line numbers References: From: David Carlton Date: Fri, 11 Apr 2003 19:55:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-04/txt/msg00241.txt.bz2 On 11 Apr 2003 14:39:52 -0500, Jim Blandy said: > David Carlton writes: >> How about you add a comment like "// done-with-marker1" at the end >> of both lines in question (in each test), and then put >> 'done-with-marker1' in your regexp instead of the matches for the >> bodies of the two lines? That would satisfy my concerns, avoid the >> need for gdb_get_line_number, and make the regexp a little simpler. > I think that's a great idea. How's this: Lovely. David Carlton carlton@math.stanford.edu