summaryrefslogtreecommitdiff
path: root/gdb/solib-spu.c
diff options
context:
space:
mode:
authorPierre Muller <muller@ics.u-strasbg.fr>2010-04-05 22:18:52 +0000
committerPierre Muller <muller@ics.u-strasbg.fr>2010-04-05 22:18:52 +0000
commita568c9181a1f54fa3d8fec88fe72202c852ae23c (patch)
treec3d4ba11f423a511be9fd735d92738cfac63ebd9 /gdb/solib-spu.c
parent7bebc910a083e8ec400f894fe5df4f37c29ce2b2 (diff)
downloadgdb-a568c9181a1f54fa3d8fec88fe72202c852ae23c.tar.gz
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/solib-spu.c')
-rw-r--r--gdb/solib-spu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/solib-spu.c b/gdb/solib-spu.c
index fb17d2c775d..342a02208f9 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;