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 | a1632d59e5e2ffcf2f9f1f60f4ace5cc0bc6e5a5 (patch) | |
tree | a9b770815cc98ce4b7b563b655cf8af6c4552d93 /gdb/mdebugread.c | |
parent | 6f18ad7010ddc535b3bc91838147a193aa303364 (diff) | |
download | gdb-a1632d59e5e2ffcf2f9f1f60f4ace5cc0bc6e5a5.zip gdb-a1632d59e5e2ffcf2f9f1f60f4ace5cc0bc6e5a5.tar.gz gdb-a1632d59e5e2ffcf2f9f1f60f4ace5cc0bc6e5a5.tar.bz2 |
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 1bb1e05..453b983 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) |