public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [COMMITTED PATCH] cp-namespace.c (cp_lookup_symbol_nonlocal): Fix comment.
@ 2014-11-22 18:49 Doug Evans
  0 siblings, 0 replies; only message in thread
From: Doug Evans @ 2014-11-22 18:49 UTC (permalink / raw)
  To: gdb-patches

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,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-11-22 18:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-22 18:49 [COMMITTED PATCH] cp-namespace.c (cp_lookup_symbol_nonlocal): Fix comment Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).