aboutsummaryrefslogtreecommitdiff
path: root/gdb/nto-procfs.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2010-04-05 22:18:53 +0000
committerPierre Muller <muller@sourceware.org>2010-04-05 22:18:53 +0000
commit2244ba2e4ab60c3d509b78893ade3a7efb6618cc (patch)
tree3a2ec5d88b3dac66237f00fd5c59c0087584631b /gdb/nto-procfs.c
parentfce3c1f0f17879e1c60d1acb277a232f37255aab (diff)
downloadgdb-2244ba2e4ab60c3d509b78893ade3a7efb6618cc.zip
gdb-2244ba2e4ab60c3d509b78893ade3a7efb6618cc.tar.gz
gdb-2244ba2e4ab60c3d509b78893ade3a7efb6618cc.tar.bz2
Remove remaining "%ll" uses.
* go32-nat.c (go32_pte_for_address): Replace "0x%llx" using hex_string call. * rs6000-nat.c (rs6000_ptrace64): Idem. * solib-pa64.c (pa64_current_sos): Idem. * solib-spu.c (spu_current_sos): Idem. * linux-nat.c (linux_nat_find_memory_regions): Replace "%lld" using plongest call. * nto-procfs.c (procfs_meminfo): Replace "0x%016llx" using phex (VAR, 8) call. * sh64-tdep.c (sh64_show_media_regs): Idem.
Diffstat (limited to 'gdb/nto-procfs.c')
-rw-r--r--gdb/nto-procfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/nto-procfs.c b/gdb/nto-procfs.c
index 3d62ff8..2741ecf 100644
--- a/gdb/nto-procfs.c
+++ b/gdb/nto-procfs.c
@@ -577,14 +577,14 @@ procfs_meminfo (char *args, int from_tty)
printme.text.addr);
printf_filtered ("\t\tflags=%08x\n", printme.text.flags);
printf_filtered ("\t\tdebug=%08x\n", printme.text.debug_vaddr);
- printf_filtered ("\t\toffset=%016llx\n", printme.text.offset);
+ printf_filtered ("\t\toffset=%s\n", phex (printme.text.offset, 8));
if (printme.data.size)
{
printf_filtered ("\tdata=%08x bytes @ 0x%08x\n", printme.data.size,
printme.data.addr);
printf_filtered ("\t\tflags=%08x\n", printme.data.flags);
printf_filtered ("\t\tdebug=%08x\n", printme.data.debug_vaddr);
- printf_filtered ("\t\toffset=%016llx\n", printme.data.offset);
+ printf_filtered ("\t\toffset=%s\n", phex (printme.data.offset, 8));
}
printf_filtered ("\tdev=0x%x\n", printme.dev);
printf_filtered ("\tino=0x%x\n", (unsigned int) printme.ino);