* language.h (struct language_defn) <la_iterate_over_symbols>: Fix
authorTom Tromey <tromey@redhat.com>
Tue, 31 Jan 2012 18:26:47 +0000 (18:26 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 31 Jan 2012 18:26:47 +0000 (18:26 +0000)
comment.

gdb/ChangeLog
gdb/language.h

index 67f7598..daf970c 100644 (file)
@@ -1,3 +1,8 @@
+2012-01-31  Tom Tromey  <tromey@redhat.com>
+
+       * language.h (struct language_defn) <la_iterate_over_symbols>: Fix
+       comment.
+
 2012-01-31  Doug Evans  <dje@google.com>
 
        * symtab.h: Remove outdated comment.
index 7a1bcb7..c275083 100644 (file)
@@ -348,9 +348,9 @@ struct language_defn
        argument.  If CALLBACK returns zero, the iteration ends at that
        point.
 
-       This field can be NULL, meaning that this language doesn't need
-       any special code aside from ordinary searches of the symbol
-       table.  */
+       This field may not be NULL.  If the language does not need any
+       special processing here, 'iterate_over_symbols' should be
+       used as the definition.  */
     void (*la_iterate_over_symbols) (const struct block *block,
                                     const char *name,
                                     domain_enum domain,