From: David Carlton Date: Thu, 13 Nov 2003 19:34:02 +0000 (+0000) Subject: 2003-11-13 David Carlton X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3882f37a75cbc394ce02bb6ac1b2fd3fa7508fb7;p=binutils-gdb.git 2003-11-13 David Carlton * cp-namespace.c (lookup_namespace_scope): Fix typo in comment. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5097bec2d27..2adbcd24470 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2003-11-13 David Carlton + + * cp-namespace.c (lookup_namespace_scope): Fix typo in comment. + 2003-11-13 Andrew Cagney * arch-utils.h (selected_architecture_name): Declare. diff --git a/gdb/cp-namespace.c b/gdb/cp-namespace.c index 652791a9a3b..044b4737d50 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