aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-spu.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/solib-spu.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/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 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;