From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19837 invoked by alias); 17 Dec 2003 19:48:21 -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 19801 invoked from network); 17 Dec 2003 19:48:20 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 17 Dec 2003 19:48:20 -0000 Received: by localhost.redhat.com (Postfix, from userid 469) id C912B1A42DB; Wed, 17 Dec 2003 14:48:19 -0500 (EST) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16352.45827.598227.492906@localhost.redhat.com> Date: Wed, 17 Dec 2003 19:48:00 -0000 To: "J. Johnston" Cc: David Carlton , gdb-patches@sources.redhat.com Subject: Re: [RFA]: add reason code and silent flag to decode_line_1 In-Reply-To: <3FD63D92.40808@redhat.com> References: <3FD4F5D8.4000207@redhat.com> <3FD5000E.4000009@redhat.com> <3FD63D92.40808@redhat.com> X-SW-Source: 2003-12/txt/msg00413.txt.bz2 J. Johnston writes: > David, here is the updated patch based on your suggestion. It is definitely > cleaner in the short-term. > > 2003-12-09 Jeff Johnston > > * linespec.h (decode_line_1): Add new not_found_ptr parameter. > * linespec.c (decode_line_1): Add new parameter. Pass on > new parameter to decode_variable and symtab_from_filename > functions. > (decode_variable): Add new not_found_ptr parameter. Throw exception > rather than failing if the not_found_ptr is non-null and the > function is not found. > (symtab_from_filename): Add new not_found_ptr parametr. Throw exception > rather than failing if the not_found_ptr is non-null and the > source file is not found. > * breakpoint.c: Change all callers of decode_line_1 to add default > extra parameter for decode_line_1 calls. > * tracepoint.c: Ditto. > * cli/cli-cmds.c: Ditto. The linespec.c/.h part is approved.