diff options
author | Pierre Muller <muller@sourceware.org> | 2010-04-05 22:18:53 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2010-04-05 22:18:53 +0000 |
commit | 2244ba2e4ab60c3d509b78893ade3a7efb6618cc (patch) | |
tree | 3a2ec5d88b3dac66237f00fd5c59c0087584631b /gdb/sh64-tdep.c | |
parent | fce3c1f0f17879e1c60d1acb277a232f37255aab (diff) | |
download | gdb-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/sh64-tdep.c')
-rw-r--r-- | gdb/sh64-tdep.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/gdb/sh64-tdep.c b/gdb/sh64-tdep.c index 5b70732..8d7782a 100644 --- a/gdb/sh64-tdep.c +++ b/gdb/sh64-tdep.c @@ -1330,27 +1330,27 @@ sh64_show_media_regs (struct frame_info *frame) int i; printf_filtered - ("PC=%s SR=%016llx \n", + ("PC=%s SR=%s \n", phex (get_frame_register_unsigned (frame, gdbarch_pc_regnum (gdbarch)), 8), - (long long) get_frame_register_unsigned (frame, SR_REGNUM)); + phex (get_frame_register_unsigned (frame, SR_REGNUM), 8)); printf_filtered - ("SSR=%016llx SPC=%016llx \n", - (long long) get_frame_register_unsigned (frame, SSR_REGNUM), - (long long) get_frame_register_unsigned (frame, SPC_REGNUM)); + ("SSR=%s SPC=%s \n", + phex (get_frame_register_unsigned (frame, SSR_REGNUM), 8), + phex (get_frame_register_unsigned (frame, SPC_REGNUM), 8)); printf_filtered - ("FPSCR=%016lx\n ", - (long) get_frame_register_unsigned (frame, FPSCR_REGNUM)); + ("FPSCR=%s\n ", + phex (get_frame_register_unsigned (frame, FPSCR_REGNUM), 8)); for (i = 0; i < 64; i = i + 4) printf_filtered - ("\nR%d-R%d %016llx %016llx %016llx %016llx\n", + ("\nR%d-R%d %s %s %s %s\n", i, i + 3, - (long long) get_frame_register_unsigned (frame, i + 0), - (long long) get_frame_register_unsigned (frame, i + 1), - (long long) get_frame_register_unsigned (frame, i + 2), - (long long) get_frame_register_unsigned (frame, i + 3)); + phex (get_frame_register_unsigned (frame, i + 0), 8), + phex (get_frame_register_unsigned (frame, i + 1), 8), + phex (get_frame_register_unsigned (frame, i + 2), 8), + phex (get_frame_register_unsigned (frame, i + 3), 8)); printf_filtered ("\n"); |