diff options
author | Jim Blandy <jimb@codesourcery.com> | 2003-11-13 17:28:38 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2003-11-13 17:28:38 +0000 |
commit | a22286a98f9b38e20bf96ff7f0487bf90e253476 (patch) | |
tree | d182076db6a10be1be8bb36eeb3e308fdae63d1e | |
parent | e99158355d6f5097f9505dda44741f48d1b4e671 (diff) | |
download | gdb-a22286a98f9b38e20bf96ff7f0487bf90e253476.zip gdb-a22286a98f9b38e20bf96ff7f0487bf90e253476.tar.gz gdb-a22286a98f9b38e20bf96ff7f0487bf90e253476.tar.bz2 |
* cp-namespace.c: Doc fix.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/cp-namespace.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9c76708..bdeaa3d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2003-11-13 Jim Blandy <jimb@redhat.com> + + * cp-namespace.c: Doc fix. + 2003-11-12 Michael Snyder <msnyder@redhat.com> * sh64_tdep.c: Regularize some names. diff --git a/gdb/cp-namespace.c b/gdb/cp-namespace.c index 75104ac..652791a 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 f, this will get called with NAME = "f", SCOPE = "A::B", and + symbol x, this will get called with NAME = "f", 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 |