diff options
author | Alan Modra <amodra@gmail.com> | 2012-08-01 00:41:35 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2012-08-01 00:41:35 +0000 |
commit | 488916061e57e6b83b8229475789a78b8f7b5fb1 (patch) | |
tree | e8301eef615a026bb5a56f653774953e6272890b /opcodes/i960-dis.c | |
parent | 3a3617baaa1c87366cd73d970524b17adb262b57 (diff) | |
download | gdb-488916061e57e6b83b8229475789a78b8f7b5fb1.zip gdb-488916061e57e6b83b8229475789a78b8f7b5fb1.tar.gz gdb-488916061e57e6b83b8229475789a78b8f7b5fb1.tar.bz2 |
* h8300-dis.c: Fix printf arg warnings.
* i960-dis.c: Likewise.
* mips-dis.c: Likewise.
* pdp11-dis.c: Likewise.
* sh-dis.c: Likewise.
* v850-dis.c: Likewise.
* configure.in: Formatting.
* configure: Regenerate.
* rl78-decode.c: Regenerate.
* po/POTFILES.in: Regenerate.
Diffstat (limited to 'opcodes/i960-dis.c')
-rw-r--r-- | opcodes/i960-dis.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/opcodes/i960-dis.c b/opcodes/i960-dis.c index 53d723c..737aae8 100644 --- a/opcodes/i960-dis.c +++ b/opcodes/i960-dis.c @@ -204,7 +204,7 @@ ctrl (bfd_vma memaddr, unsigned long word1, unsigned long word2 ATTRIBUTE_UNUSED return; } - (*info->fprintf_func) (stream, ctrl_tab[i].name); + (*info->fprintf_func) (stream, "%s", ctrl_tab[i].name); if (word1 & 2) /* Predicts branch not taken. */ (*info->fprintf_func) (stream, ".f"); @@ -276,7 +276,7 @@ cobr (bfd_vma memaddr, unsigned long word1, unsigned long word2 ATTRIBUTE_UNUSED return; } - (*info->fprintf_func) (stream, cobr_tab[i].name); + (*info->fprintf_func) (stream, "%s", cobr_tab[i].name); /* Predicts branch not taken. */ if (word1 & 2) @@ -291,7 +291,7 @@ cobr (bfd_vma memaddr, unsigned long word1, unsigned long word2 ATTRIBUTE_UNUSED /* M1 is 1 */ (*info->fprintf_func) (stream, "%d", src1); else - (*info->fprintf_func) (stream, reg_names[src1]); + (*info->fprintf_func) (stream, "%s", reg_names[src1]); if (cobr_tab[i].numops > 1) { @@ -717,7 +717,7 @@ reg (unsigned long word1) fp = 0; } - (*info->fprintf_func) (stream, mnemp); + (*info->fprintf_func) (stream, "%s", mnemp); s1 = (word1 >> 5) & 1; s2 = (word1 >> 6) & 1; @@ -853,7 +853,7 @@ regop (int mode, int spec, int fp_reg, int fp) else { /* Non-FP register. */ - (*info->fprintf_func) (stream, reg_names[fp_reg]); + (*info->fprintf_func) (stream, "%s", reg_names[fp_reg]); } } else @@ -868,7 +868,7 @@ regop (int mode, int spec, int fp_reg, int fp) { /* Register. */ if (spec == 0) - (*info->fprintf_func) (stream, reg_names[fp_reg]); + (*info->fprintf_func) (stream, "%s", reg_names[fp_reg]); else (*info->fprintf_func) (stream, "sf%d", fp_reg); } |