From f55179cbcda1f767ecb7678e581f738a7d35acb5 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 12 May 1994 18:02:27 +0000 Subject: * hppa-tdep.c (read_unwind_info): Make sure elf_unwind_size and elf_unwind_entries are always initialized. --- gdb/ChangeLog | 3 +++ gdb/hppa-tdep.c | 5 +++++ 2 files changed, 8 insertions(+) (limited to 'gdb') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index be7922f..fd362cf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ Thu May 12 10:46:27 1994 Jeff Law (law@snake.cs.utah.edu) + * hppa-tdep.c (read_unwind_info): Make sure elf_unwind_size and + elf_unwind_entries are always initialized. + * hppa-tdep.c (skip_trampoline_code): Handle argument relocation stubs which return directly to the caller rather than to the stub itself. diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index b999384..55f01e8 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -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) { -- cgit v1.1