diff options
author | Doug Evans <xdje42@gmail.com> | 2014-10-26 12:26:20 -0700 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2014-10-26 12:26:20 -0700 |
commit | a023a30fb494294f739b3414a28d11da8c298d3f (patch) | |
tree | 4ef533ddb8790f408cc6b9c87b0678108004486b /gdb | |
parent | 4c35218eab6ed3b4c5ddd454809820f09030480f (diff) | |
download | gdb-a023a30fb494294f739b3414a28d11da8c298d3f.zip gdb-a023a30fb494294f739b3414a28d11da8c298d3f.tar.gz gdb-a023a30fb494294f739b3414a28d11da8c298d3f.tar.bz2 |
* block.h (ALL_BLOCK_SYMBOLS): Fix comment.
gdb/ChangeLog:
* block.h (ALL_BLOCK_SYMBOLS): Fix comment.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/block.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 16c9ec8..50727c1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2014-10-26 Doug Evans <xdje42@gmail.com> + * block.h (ALL_BLOCK_SYMBOLS): Fix comment. + +2014-10-26 Doug Evans <xdje42@gmail.com> + * block.c (allocate_block): Use OBSTACK_ZALLOC instead of obstack_alloc. diff --git a/gdb/block.h b/gdb/block.h index 0e5d0be..30aaf98 100644 --- a/gdb/block.h +++ b/gdb/block.h @@ -271,8 +271,8 @@ extern struct symbol *block_iter_match_next (const char *name, symbol_compare_ftype *compare, struct block_iterator *iterator); -/* Macro to loop through all symbols in a block BL, in no particular - order. ITER helps keep track of the iteration, and should be a +/* Macro to loop through all symbols in BLOCK, in no particular + order. ITER helps keep track of the iteration, and must be a struct block_iterator. SYM points to the current symbol. */ #define ALL_BLOCK_SYMBOLS(block, iter, sym) \ |