+2007-10-10 Jim Blandy <jimb@codesourcery.com>
+
+ * dwarf.c (display_debug_lines): Print the offset of each line
+ number program header.
+
2007-10-09 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/4476
unsigned char *standard_opcodes;
unsigned char *end_of_sequence;
unsigned char *hdrptr;
+ unsigned long hdroff;
int initial_length_size;
int offset_size;
int i;
hdrptr = data;
+ hdroff = hdrptr - start;
/* Check the length of the block. */
info.li_length = byte_get (hdrptr, 4);
info.li_line_base <<= 24;
info.li_line_base >>= 24;
+ printf (_(" Offset: 0x%lx\n"), hdroff);
printf (_(" Length: %ld\n"), info.li_length);
printf (_(" DWARF Version: %d\n"), info.li_version);
printf (_(" Prologue Length: %d\n"), info.li_prologue_length);