aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/language.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 67f7598..daf970c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/language.h b/gdb/language.h
index 7a1bcb7..c275083 100644
--- a/gdb/language.h
+++ b/gdb/language.h
@@ -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,