public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-tromey-ambiguous-linespec: fix some comments
@ 2011-11-09 17:54 tromey
  0 siblings, 0 replies; only message in thread
From: tromey @ 2011-11-09 17:54 UTC (permalink / raw)
  To: archer-commits

The branch, archer-tromey-ambiguous-linespec has been updated
       via  11f4cc55bc0b94755222815d73afcef9f67862e3 (commit)
      from  6aac6a6515490e86f0792d324be8da7e500eebb9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 11f4cc55bc0b94755222815d73afcef9f67862e3
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Nov 9 10:54:23 2011 -0700

    fix some comments

-----------------------------------------------------------------------

Summary of changes:
 gdb/linespec.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

First 500 lines of diff:
diff --git a/gdb/linespec.c b/gdb/linespec.c
index 2c11198..3397c5a 100644
--- a/gdb/linespec.c
+++ b/gdb/linespec.c
@@ -1575,8 +1575,7 @@ decode_compound (struct linespec_state *self,
      2) AAA::inA isn't the name of a class.  In that case, either the
         user made a typo, AAA::inA is the name of a namespace, or it is
         the name of a minimal symbol.
-        We just look up AAA::inA::fun with lookup_symbol.  If that fails,
-        try lookup_minimal_symbol.
+	In this case we just delegate to decode_variable.
 
      Thus, our first task is to find everything before the last set of
      double-colons and figure out if it's the name of a class.  So we
@@ -1823,7 +1822,7 @@ collect_one_symbol (struct symbol *sym, void *d)
    at P, allowing whitespace.  Also, advance *ARGPTR past the symbol
    name in question, the compound object separator ("::" or "."), and
    whitespace.  Note that *ARGPTR is changed whether or not the
-   lookup_symbol call finds anything (i.e we return NULL).  As an
+   this call finds anything (i.e we return NULL).  As an
    example, say ARGPTR is "AAA::inA::fun" and P is "::inA::fun".  */
 
 static VEC (symbolp) *
@@ -1992,7 +1991,7 @@ find_method (struct linespec_state *self, char *saved_arg,
   char *name_iter;
 
   /* NAME is typed by the user: it needs to be canonicalized before
-     passing to lookup_symbol.  */
+     searching the symbol tables.  */
   canon = cp_canonicalize_string_no_typedefs (copy);
   if (canon != NULL)
     {


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-09 17:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-09 17:54 [SCM] archer-tromey-ambiguous-linespec: fix some comments tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).