diff options
author | Tom Tromey <tromey@redhat.com> | 2012-01-31 18:26:47 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-01-31 18:26:47 +0000 |
commit | 72e1143f57174d860db5aaafef74169792cf2e07 (patch) | |
tree | 5a06e9612f3cb55cc84e4784529c00780cd935ae | |
parent | e9111bf715b0c5b59f1ac73e0a07eae5b4ae1562 (diff) | |
download | gdb-72e1143f57174d860db5aaafef74169792cf2e07.zip gdb-72e1143f57174d860db5aaafef74169792cf2e07.tar.gz gdb-72e1143f57174d860db5aaafef74169792cf2e07.tar.bz2 |
* language.h (struct language_defn) <la_iterate_over_symbols>: Fix
comment.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/language.h | 6 |
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, |