diff options
author | Michael Snyder <msnyder@vmware.com> | 2011-02-26 02:07:10 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2011-02-26 02:07:10 +0000 |
commit | b021a2216627b2a56696125ff8a28985aae605e3 (patch) | |
tree | b92fc609e8c9fd438b095e35eaf94416ddb85cb8 /gdb/cp-namespace.c | |
parent | 80549d04a2090e1c1a6a693485f577f9e45dcacc (diff) | |
download | gdb-b021a2216627b2a56696125ff8a28985aae605e3.zip gdb-b021a2216627b2a56696125ff8a28985aae605e3.tar.gz gdb-b021a2216627b2a56696125ff8a28985aae605e3.tar.bz2 |
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 27a7631..bdbc215 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, |