From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19451 invoked by alias); 8 Mar 2012 22:24:33 -0000 Received: (qmail 19442 invoked by uid 22791); 8 Mar 2012 22:24:32 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 08 Mar 2012 22:24:20 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id BDB491C61C5; Thu, 8 Mar 2012 17:24:19 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id TmAJsgHgkyyF; Thu, 8 Mar 2012 17:24:19 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 804B71C61A3; Thu, 8 Mar 2012 17:24:19 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 80B94145615; Thu, 8 Mar 2012 14:24:12 -0800 (PST) Date: Thu, 08 Mar 2012 22:24:00 -0000 From: Joel Brobecker To: Tom Tromey Cc: Keith Seitz , "gdb-patches@sourceware.org ml" Subject: Re: [RFA] gdb_get_line_number on unknown tags Message-ID: <20120308222412.GU2853@adacore.com> References: <4F592C48.7000500@redhat.com> <8762een3u2.fsf@fleche.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8762een3u2.fsf@fleche.redhat.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2012-03/txt/msg00298.txt.bz2 > >>>>> "Keith" == Keith Seitz writes: > > Keith> This is occurring because the two tests which do it are using > Keith> gdb_get_line_number on a tag which is not defined in the source > Keith> file. > > I wonder whether this should be an error. Seems like a good idea... > Keith> 2012-03-08 Keith Seitz > > Keith> * gdb.ada/array_bounds.exp: Get breakpoint for line > Keith> with "START", not "STOP". > Keith> * gdb.python/py-infthread.exp: Do not continue to > Keith> line marked "Break here.", which is undefined. Thanks, Keith. -- Joel