From 2244ba2e4ab60c3d509b78893ade3a7efb6618cc Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Mon, 5 Apr 2010 22:18:53 +0000 Subject: 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. --- gdb/solib-spu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/solib-spu.c') diff --git a/gdb/solib-spu.c b/gdb/solib-spu.c index fb17d2c..342a022 100644 --- a/gdb/solib-spu.c +++ b/gdb/solib-spu.c @@ -161,7 +161,8 @@ spu_current_sos (void) /* Encode FD and object ID in path name. Choose the name so as not to conflict with any (normal) SVR4 library path name. */ - xsnprintf (new->so_name, sizeof new->so_name, "@0x%llx <%d>", addr, fd); + xsnprintf (new->so_name, sizeof new->so_name, "@%s <%d>", + hex_string (addr), fd); strcpy (new->so_original_name, new->so_name); *link_ptr = new; -- cgit v1.1