aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-11-22 10:46:52 -0800
committerDoug Evans <xdje42@gmail.com>2014-11-22 10:46:52 -0800
commit07a1c2c3c7be5942a20ccc45ccf695ce3cb08112 (patch)
tree0e5cd458f66d6ba174b8ba237054c3cef533aaa4
parent35a14c6b54b63adc6b6ef28a4e4403bb271b9bdd (diff)
downloadgdb-07a1c2c3c7be5942a20ccc45ccf695ce3cb08112.zip
gdb-07a1c2c3c7be5942a20ccc45ccf695ce3cb08112.tar.gz
gdb-07a1c2c3c7be5942a20ccc45ccf695ce3cb08112.tar.bz2
cp-namespace.c (cp_lookup_symbol_nonlocal): Fix comment.
gdb/ChangeLog: * cp-namespace.c (cp_lookup_symbol_nonlocal): Fix comment.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/cp-namespace.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ece7069..037c454 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2014-11-22 Doug Evans <xdje42@gmail.com>
+
+ * cp-namespace.c (cp_lookup_symbol_nonlocal): Fix comment.
+
2014-11-21 Doug Evans <dje@google.com>
* psymtab.c (psymtab_search_name): Fix whitespace.
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,