* 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 67f7598a1f46690af9bd1b48f8ac27231aee20e9..daf970c067df5e834ef72b98b9d5edd74f40db99 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 7a1bcb799254da6b52dc8bc305d114f5ccf18e9d..c27508394c168ec8b78a07b3755c328679eabb00 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,