This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[COMMITTED PATCH] cp-namespace.c (cp_lookup_symbol_nonlocal): Fix comment.
- From: Doug Evans <xdje42 at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Sat, 22 Nov 2014 10:48:54 -0800
- Subject: [COMMITTED PATCH] cp-namespace.c (cp_lookup_symbol_nonlocal): Fix comment.
- Authentication-results: sourceware.org; auth=none
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,