forked from Imagelibrary/binutils-gdb
* hppa-tdep.c (read_unwind_info): Make sure elf_unwind_size and
elf_unwind_entries are always initialized.
This commit is contained in:
@@ -379,6 +379,11 @@ read_unwind_info (objfile)
|
||||
elf_unwind_size = bfd_section_size (objfile->obfd, elf_unwind_sec);
|
||||
elf_unwind_entries = elf_unwind_size / UNWIND_ENTRY_SIZE;
|
||||
}
|
||||
else
|
||||
{
|
||||
elf_unwind_size = 0;
|
||||
elf_unwind_entries = 0;
|
||||
}
|
||||
|
||||
if (stub_unwind_sec)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user