[pushed/Ada] Remove references to ada_name_for_lookup (deleted)

Message ID 1518605397-125364-1-git-send-email-brobecker@adacore.com
State New
Headers show
Series
  • [pushed/Ada] Remove references to ada_name_for_lookup (deleted)
Related show

Commit Message

Joel Brobecker Feb. 14, 2018, 10:49 a.m.
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,
-- 
Joel

---
 gdb/ChangeLog  | 6 ++++++
 gdb/ada-lang.c | 2 +-
 gdb/ada-lang.h | 2 --
 3 files changed, 7 insertions(+), 3 deletions(-)

-- 
2.1.4

Patch

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  <brobecker@adacore.com>
+
+	* 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  <simon.marchi@polymtl.ca>
 
 	* 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,