From patchwork Wed Feb 14 10:49:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Brobecker X-Patchwork-Id: 25933 Received: (qmail 4523 invoked by alias); 14 Feb 2018 10:50:05 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 4480 invoked by uid 89); 14 Feb 2018 10:50:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 14 Feb 2018 10:50:00 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 4739156048 for ; Wed, 14 Feb 2018 05:49:59 -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 L4Q7H1rmAxsI for ; Wed, 14 Feb 2018 05:49:59 -0500 (EST) Received: from tron.gnat.com (tron.gnat.com [IPv6:2620:20:4000:0:46a8:42ff:fe0e:e294]) by rock.gnat.com (Postfix) with ESMTP id 38D0056023 for ; Wed, 14 Feb 2018 05:49:59 -0500 (EST) Received: by tron.gnat.com (Postfix, from userid 4233) id 35216517; Wed, 14 Feb 2018 05:49:59 -0500 (EST) From: Joel Brobecker To: gdb-patches@sourceware.org Subject: [pushed/Ada] Remove references to ada_name_for_lookup (deleted) Date: Wed, 14 Feb 2018 05:49:57 -0500 Message-Id: <1518605397-125364-1-git-send-email-brobecker@adacore.com> Hello, This function was deleted on 2017-11-08, but its declaration and a reference to it in a comment was left behind. This patch just removes those. gdb/ChangeLog: * ada-lang.c (name_match_type_from_name): Remove reference to ada_name_for_lookup in function's documentation. * ada-lang.h (ada_name_for_lookup): Delete declaration. Tested by rebuilding GDB and pushed to master. Thanks, diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a09935f..fd7682c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2018-02-14 Joel Brobecker + + * ada-lang.c (name_match_type_from_name): Remove reference to + ada_name_for_lookup in function's documentation. + * ada-lang.h (ada_name_for_lookup): Delete declaration. + 2018-02-13 Simon Marchi * defs.h (enum openp_flags): New enum. diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 0da58d9..d07da42 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -4766,7 +4766,7 @@ cache_symbol (const char *name, domain_enum domain, struct symbol *sym, searching for all symbols matching LOOKUP_NAME. LOOKUP_NAME is expected to be a symbol name after transformation - for Ada lookups (see ada_name_for_lookup). */ + for Ada lookups. */ static symbol_name_match_type name_match_type_from_name (const char *lookup_name) diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h index 1f6ea77..09e7b40 100644 --- a/gdb/ada-lang.h +++ b/gdb/ada-lang.h @@ -375,8 +375,6 @@ extern char *ada_breakpoint_rewrite (char *, int *); extern char *ada_main_name (void); -extern std::string ada_name_for_lookup (const char *name); - extern void create_ada_exception_catchpoint (struct gdbarch *gdbarch, enum ada_exception_catchpoint_kind ex_kind, char *excep_string, const std::string &cond_string, int tempflag,