From: Joel Brobecker Date: Wed, 14 Feb 2018 10:45:24 +0000 (-0500) Subject: Remove references to ada_name_for_lookup (deleted) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f98b2e334fcca666afaee3c6546b9fc91a4963d4;p=binutils-gdb.git Remove references to ada_name_for_lookup (deleted) 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a09935f97e4..fd7682c2530 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 0da58d94275..d07da422bf5 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 1f6ea77dafe..09e7b403f2a 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,