[COMMITTED PATCH] cp-namespace.c (cp_lookup_symbol_nonlocal): Fix comment.

Doug Evans xdje42@gmail.com
Sat Nov 22 18:49:00 GMT 2014


Hi.

Just a fix to a function comment.
The SYMTAB argument no longer exists.

2014-11-22  Doug Evans  <xdje42@gmail.com>

	* cp-namespace.c (cp_lookup_symbol_nonlocal): Fix comment.

diff --git a/gdb/cp-namespace.c b/gdb/cp-namespace.c
index 31075fe..fcfd17b 100644
--- a/gdb/cp-namespace.c
+++ b/gdb/cp-namespace.c
@@ -218,9 +218,7 @@ cp_is_anonymous (const char *namespace)
    names.  This makes sure that names get looked for in all namespaces
    that are in scope.  NAME is the natural name of the symbol that
    we're looking for, BLOCK is the block that we're searching within,
-   DOMAIN says what kind of symbols we're looking for, and if SYMTAB
-   is non-NULL, we should store the symtab where we found the symbol
-   in it.  */
+   DOMAIN says what kind of symbols we're looking for.  */
 
 struct symbol *
 cp_lookup_symbol_nonlocal (const char *name,



More information about the Gdb-patches mailing list