2005-01-05 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (display_debug_loc): Display base address specifiers. Always output <End of list>.
This commit is contained in:
parent
0ea390ed3c
commit
e54b12b779
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-01-05 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* readelf.c (display_debug_loc): Display base address
|
||||||
|
specifiers. Always output <End of list>.
|
||||||
|
|
||||||
2005-01-05 H.J. Lu <hongjiu.lu@intel.com>
|
2005-01-05 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* readelf.c (have_frame_base): New.
|
* readelf.c (have_frame_base): New.
|
||||||
|
|
|
@ -9550,6 +9550,8 @@ display_debug_loc (Elf_Internal_Shdr *section,
|
||||||
if (begin == -1UL && end != -1UL)
|
if (begin == -1UL && end != -1UL)
|
||||||
{
|
{
|
||||||
base_address = end;
|
base_address = end;
|
||||||
|
printf (" %8.8lx %8.8lx %8.8lx (base address)\n",
|
||||||
|
offset, begin, end);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9577,9 +9579,7 @@ display_debug_loc (Elf_Internal_Shdr *section,
|
||||||
start += length;
|
start += length;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (j < debug_information [i].num_loc_offsets -1)
|
fputs (_(" <End of list>\n"), stdout);
|
||||||
printf (_(" <End of list>"));
|
|
||||||
printf ("\n");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in a new issue