From 7368cfb7d3da6fadbcf7a94479b36f9bf537d910 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Sat, 10 Sep 2011 11:21:59 +0000 Subject: [PATCH] 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 --- coregrind/m_debuginfo/readelf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' : '-', -- 2.47.3