|
From: <sv...@va...> - 2011-09-10 11:26:46
|
Author: sewardj
Date: 2011-09-10 12:21:59 +0100 (Sat, 10 Sep 2011)
New Revision: 12024
Log:
ML_(read_elf_debug_info): debug printing of program header entries: print file
offsets consistently in base 10, not 16.
Modified:
trunk/coregrind/m_debuginfo/readelf.c
Modified: trunk/coregrind/m_debuginfo/readelf.c
===================================================================
--- trunk/coregrind/m_debuginfo/readelf.c 2011-09-10 11:20:26 UTC (rev 12023)
+++ trunk/coregrind/m_debuginfo/readelf.c 2011-09-10 11:21:59 UTC (rev 12024)
@@ -1383,7 +1383,7 @@
if (phdr->p_type == PT_LOAD) {
TRACE_SYMTAB("PT_LOAD[%ld]: p_vaddr %#lx (prev %#lx)\n",
i, (UWord)phdr->p_vaddr, (UWord)prev_svma);
- TRACE_SYMTAB("PT_LOAD[%ld]: p_offset %#lx, p_filesz %lu,"
+ TRACE_SYMTAB("PT_LOAD[%ld]: p_offset %lu, p_filesz %lu,"
" perms %c%c%c\n",
i, (UWord)phdr->p_offset, (UWord)phdr->p_filesz,
phdr->p_flags & PF_R ? 'r' : '-',
|