aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-namespace.c
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2003-11-13 19:34:02 +0000
committerDavid Carlton <carlton@bactrian.org>2003-11-13 19:34:02 +0000
commit3882f37a75cbc394ce02bb6ac1b2fd3fa7508fb7 (patch)
treebe8bbc065ee3ad756b0a74694391a14b7eab7292 /gdb/cp-namespace.c
parenta8cf2722eab033c833d822db6892038f570303ad (diff)
downloadgdb-3882f37a75cbc394ce02bb6ac1b2fd3fa7508fb7.zip
gdb-3882f37a75cbc394ce02bb6ac1b2fd3fa7508fb7.tar.gz
gdb-3882f37a75cbc394ce02bb6ac1b2fd3fa7508fb7.tar.bz2
2003-11-13 David Carlton <carlton@kealia.com>
* cp-namespace.c (lookup_namespace_scope): Fix typo in comment.
Diffstat (limited to 'gdb/cp-namespace.c')
-rw-r--r--gdb/cp-namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cp-namespace.c b/gdb/cp-namespace.c
index 652791a..044b473 100644
--- a/gdb/cp-namespace.c
+++ b/gdb/cp-namespace.c
@@ -340,7 +340,7 @@ cp_lookup_symbol_nonlocal (const char *name,
cp_lookup_symbol_nonlocal.
For example, if we're within a function A::B::f and looking for a
- symbol x, this will get called with NAME = "f", SCOPE = "A::B", and
+ symbol x, this will get called with NAME = "x", SCOPE = "A::B", and
SCOPE_LEN = 0. It then calls itself with NAME and SCOPE the same,
but with SCOPE_LEN = 1. And then it calls itself with NAME and
SCOPE the same, but with SCOPE_LEN = 4. This third call looks for