* jv-lang.c (get_java_class_symtab): Use allocate_global_block,
authorTom Tromey <tromey@redhat.com>
Thu, 10 May 2012 19:59:12 +0000 (19:59 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 10 May 2012 19:59:12 +0000 (19:59 +0000)
commit84a146c9d3fdfcd4a45b12f88735bd77d4f8d729
tree1af7348130cfb4bd51a0f2f3cf6955c4de6688fe
parent9439a077bef75279f4881cabc3adbe61cf057504
* jv-lang.c (get_java_class_symtab): Use allocate_global_block,
set_block_symtab.
* jit.c (finalize_symtab): Use allocate_global_block,
set_block_symtab.
* buildsym.c (finish_block_internal): New function, from old
finish_block.
(finish_block): Rewrite.
(end_symtab): Use finish_block_internal, set_block_symtab.
* block.h (struct global_block): New.
(allocate_global_block, set_block_symtab): Declare.
* block.c (allocate_global_block, set_block_symtab): New
functions.
gdb/ChangeLog
gdb/block.c
gdb/block.h
gdb/buildsym.c
gdb/jit.c
gdb/jv-lang.c