(display_debug_lines, case DW_LNS_const_add_pc): Multiply adv by info.li_min_insn_length.
This commit is contained in:
parent
9458945f8f
commit
2366453a56
@ -1,3 +1,8 @@
|
||||
1999-08-27 Jim Wilson <wilson@cygnus.com>
|
||||
|
||||
* readelf.c (display_debug_lines, case DW_LNS_const_add_pc): Multiply
|
||||
adv by info.li_min_insn_length.
|
||||
|
||||
1999-08-26 Jakub Jelinek <jj@ultra.linux.cz>
|
||||
|
||||
* readelf.c (get_sparc64_dynamic_type): New function.
|
||||
|
@ -4381,7 +4381,8 @@ display_debug_lines (section, start, file)
|
||||
break;
|
||||
|
||||
case DW_LNS_const_add_pc:
|
||||
adv = (255 - info.li_opcode_base) / info.li_line_range;
|
||||
adv = (((255 - info.li_opcode_base) / info.li_line_range)
|
||||
* info.li_min_insn_length);
|
||||
state_machine_regs.address += adv;
|
||||
printf (_(" Advance PC by constant %d to 0x%lx\n"), adv,
|
||||
state_machine_regs.address);
|
||||
|
Loading…
x
Reference in New Issue
Block a user