diff options
author | David Carlton <carlton@bactrian.org> | 2003-09-11 23:43:56 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2003-09-11 23:43:56 +0000 |
commit | 9ebce2e7c63a3564cfda19a4420a540c43f12ef4 (patch) | |
tree | 177ed69b745fe0152ff125153da867192cb1133d /gdb/mdebugread.c | |
parent | fbf0a3138d5877d46fd79db1219287ae54ca5352 (diff) | |
download | gdb-9ebce2e7c63a3564cfda19a4420a540c43f12ef4.tar.gz |
2003-09-11 David Carlton <carlton@kealia.com>
* buildsym.c (finish_block): Use allocate_block to allocate the
block.
* mdebugread.c (new_block): Add FIXME.
Diffstat (limited to 'gdb/mdebugread.c')
-rw-r--r-- | gdb/mdebugread.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index 1bb1e057009..453b983c66d 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -4696,6 +4696,9 @@ new_bvect (int nblocks) static struct block * new_block (enum block_type type) { + /* FIXME: carlton/2003-09-11: This should use allocate_block to + allocate the block. Which, in turn, suggests that the block + should be allocated on an obstack. */ struct block *retval = xzalloc (sizeof (struct block)); if (type == FUNCTION_BLOCK) |