mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
gdb: introduce blockvector_up
Change-Id: Id43c5982969f85b5931ba8a32d208a7326ed3492 Approved-By: Tom Tromey <tom@tromey.com>
This commit is contained in:
@@ -830,7 +830,6 @@ buildsym_compunit::end_compunit_symtab_from_static_block
|
||||
(struct block *static_block, bool expandable)
|
||||
{
|
||||
struct compunit_symtab *cu = m_compunit_symtab;
|
||||
std::unique_ptr<blockvector> blockvector;
|
||||
struct subfile *subfile;
|
||||
CORE_ADDR end_addr;
|
||||
|
||||
@@ -856,7 +855,7 @@ buildsym_compunit::end_compunit_symtab_from_static_block
|
||||
finish_block_internal (NULL, get_global_symbols (), NULL, NULL,
|
||||
m_last_source_start_addr, end_addr,
|
||||
true, expandable);
|
||||
blockvector = make_blockvector ();
|
||||
blockvector_up blockvector = make_blockvector ();
|
||||
|
||||
/* Read the line table if it has to be read separately.
|
||||
This is only used by xcoffread.c. */
|
||||
|
||||
Reference in New Issue
Block a user