From: Tom Tromey <tromey@redhat.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb-patches@sourceware.org, Sami Wagiaalla <swagiaal@redhat.com>
Subject: Re: [patch 1/2] Search typedefs in namespaces also in other files
Date: Mon, 28 Jun 2010 17:53:00 -0000 [thread overview]
Message-ID: <m3wrtjxcw1.fsf@fleche.redhat.com> (raw)
In-Reply-To: <20100626080641.GA30093@host0.dyn.jankratochvil.net> (Jan Kratochvil's message of "Sat, 26 Jun 2010 10:06:41 +0200")
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan> * cp-namespace.c (cp_lookup_nested_type): New variable
Jan> concatenated_name. Turn the current return condition into a reverse
Jan> one. Call also lookup_static_symbol_aux on the constructed qualified
Jan> name.
Jan> * symtab.c (lookup_symbol_aux): Move variable objfile and searching in
Jan> other files into a called ...
Jan> (lookup_static_symbol_aux): ... new function here.
Jan> * symtab.h (lookup_static_symbol_aux): New prototype.
Jan> * valops.c (value_maybe_namespace_elt): Call also
Jan> lookup_static_symbol_aux if we failed otherwise.
Jan> 2010-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan> * gdb.cp/namespace.exp (whatis C::cOtherFileType)
Jan> (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
Jan> (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
Jan> (print ::C::cOtherFileVar)
Jan> (whatis C::OtherFileClass::cOtherFileClassType)
Jan> (whatis ::C::OtherFileClass::cOtherFileClassType)
Jan> (print C::OtherFileClass::cOtherFileClassVar)
Jan> (print ::cOtherFileClassVar)
Jan> (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
Jan> (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
Jan> trailing content.
Jan> * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
Jan> (C::OtherFileClass::cOtherFileClassVar)
Jan> (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
Jan> (C::cOtherFileVar, C::cOtherFileVar_use): New.
This is ok. Thanks.
Tom
next prev parent reply other threads:[~2010-06-28 17:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-14 15:59 Jan Kratochvil
2010-06-16 21:30 ` Tom Tromey
2010-06-25 21:29 ` Jan Kratochvil
2010-06-25 21:53 ` Jan Kratochvil
2010-06-26 8:06 ` Jan Kratochvil
2010-06-28 17:53 ` Tom Tromey [this message]
2010-06-28 17:52 ` Tom Tromey
2010-06-28 20:41 ` Jan Kratochvil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3wrtjxcw1.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.com \
--cc=swagiaal@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox