diff options
author | Michael Snyder <msnyder@specifix.com> | 2011-02-26 02:07:06 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2011-02-26 02:07:06 +0000 |
commit | e95a0a9bf0afe088816b1e49b66d952e9835c543 (patch) | |
tree | 71b74f05c52e567cfca88a9ebd4075dd051d1234 /gdb/cp-namespace.c | |
parent | 62daee5c00c23719d0a44763cdff443dca513724 (diff) | |
download | gdb-e95a0a9bf0afe088816b1e49b66d952e9835c543.tar.gz |
2011-02-25 Michael Snyder <msnyder@vmware.com>
* arm-tdep.c: Fix typos in comments.
* bsd-uthread.c: Ditto.
* completer.c: Ditto.
* corelow.c: Ditto.
* cp-namespace.c: Ditto.
* cp-support.c: Ditto.
* cris-tdep.c: Ditto.
* dbxread.c: Ditto.
* dwarf2read.c: Ditto.
* frame.h: Ditto.
* gdbtypes.h: Ditto.
* inferior.h: Ditto.
* mdebugread.c: Ditto.
* mips-tdep.c: Ditto.
* ppc-linux-nat.c: Ditto.
* ppc-linux-tdep.c: Ditto.
* printcmd.c: Ditto.
* sol-thread.c: Ditto.
* solib-frv.c: Ditto.
* solist.h: Ditto.
* sparc64-tdep.c: Ditto.
* spu-tdep.c: Ditto.
* stabsread.c: Ditto.
* symfile.c: Ditto.
* valops.c: Ditto.
* varobj.c: Ditto.
* vax-nat.c: Ditto.
* python/py-block.c: Ditto.
* python/py-symbol.c: Ditto.
* python/py-symtab.c: Ditto.
* python/py-value.c: Ditto.
* tui/tui-win.c: Ditto.
Diffstat (limited to 'gdb/cp-namespace.c')
-rw-r--r-- | gdb/cp-namespace.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gdb/cp-namespace.c b/gdb/cp-namespace.c index 27a76316127..bdbc215a744 100644 --- a/gdb/cp-namespace.c +++ b/gdb/cp-namespace.c @@ -719,7 +719,7 @@ cp_lookup_nested_type (struct type *parent_type, /* FIXME: carlton/2004-01-16: The problem that this is trying to address is that, unfortunately, sometimes NAME is wrong: it may not include the name of namespaces enclosing the type in question. - lookup_transparent_type gets called when the the type in question + lookup_transparent_type gets called when the type in question is a declaration, and we're trying to find its definition; but, for declarations, our type name deduction mechanism doesn't work. There's nothing we can do to fix this in general, I think, in the @@ -752,10 +752,9 @@ cp_lookup_transparent_type (const char *name) return cp_lookup_transparent_type_loop (name, scope, 0); } -/* Lookup the the type definition associated to NAME in - namespaces/classes containing SCOPE whose name is strictly longer - than LENGTH. LENGTH must be the index of the start of a component - of SCOPE. */ +/* Lookup the type definition associated to NAME in namespaces/classes + containing SCOPE whose name is strictly longer than LENGTH. LENGTH + must be the index of the start of a component of SCOPE. */ static struct type * cp_lookup_transparent_type_loop (const char *name, |