* dwarf2read.c (dwarf2_ranges_read, read_partial_die): Initialize

locals.
This commit is contained in:
Daniel Jacobowitz 2008-05-04 20:04:48 +00:00
parent 9dd789d040
commit e7030f1508
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2008-05-04 Daniel Jacobowitz <dan@codesourcery.com>
* dwarf2read.c (dwarf2_ranges_read, read_partial_die): Initialize
locals.
2008-05-04 Pedro Alves <pedro@codesourcery.com>
* breakpoint.c (update_breakpoints_after_exec): Delete bp_longjmp

View File

@ -3226,8 +3226,7 @@ dwarf2_ranges_read (unsigned offset, CORE_ADDR *low_return,
low_set = 0;
if (ranges_pst != NULL)
baseaddr = ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile));
baseaddr = ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile));
while (1)
{
@ -5858,7 +5857,7 @@ read_partial_die (struct partial_die_info *part_die,
struct attribute attr;
int has_low_pc_attr = 0;
int has_high_pc_attr = 0;
CORE_ADDR base_address;
CORE_ADDR base_address = 0;
enum
{
base_address_none,