From: Julian Seward Date: Sat, 10 Sep 2011 11:21:59 +0000 (+0000) Subject: ML_(read_elf_debug_info): debug printing of program header entries: print file X-Git-Tag: svn/VALGRIND_3_7_0~213 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7368cfb7d3da6fadbcf7a94479b36f9bf537d910;p=thirdparty%2Fvalgrind.git ML_(read_elf_debug_info): debug printing of program header entries: print file offsets consistently in base 10, not 16. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12024 --- diff --git a/coregrind/m_debuginfo/readelf.c b/coregrind/m_debuginfo/readelf.c index 3338fe43e8..f84b05234b 100644 --- a/coregrind/m_debuginfo/readelf.c +++ b/coregrind/m_debuginfo/readelf.c @@ -1383,7 +1383,7 @@ Bool ML_(read_elf_debug_info) ( struct _DebugInfo* di ) 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' : '-',