mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 17:40:49 +00:00
import gdb-1999-09-08 snapshot
This commit is contained in:
@@ -343,9 +343,7 @@ vmap_symtab (vp)
|
||||
objfile = symfile_objfile;
|
||||
}
|
||||
|
||||
new_offsets = alloca
|
||||
(sizeof (struct section_offsets)
|
||||
+ sizeof (new_offsets->offsets) * objfile->num_sections);
|
||||
new_offsets = (struct section_offsets *) alloca (SIZEOF_SECTION_OFFSETS);
|
||||
|
||||
for (i = 0; i < objfile->num_sections; ++i)
|
||||
ANOFFSET (new_offsets, i) = ANOFFSET (objfile->section_offsets, i);
|
||||
|
||||
Reference in New Issue
Block a user