diff options
author | Nick Clifton <nickc@redhat.com> | 2012-07-24 12:56:47 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2012-07-24 12:56:47 +0000 |
commit | b77f726f6d056b827c408ff5660c296b777ad6b2 (patch) | |
tree | a29b2287f9fed70ada83b4d20cea29f5293982da /include/dis-asm.h | |
parent | 23c77880a5ba598190f48054d867575c4d0540e8 (diff) | |
download | gdb-b77f726f6d056b827c408ff5660c296b777ad6b2.tar.gz |
PR binutils/13135
* arm-dis.c: Add necessary casts for printing integer values.
Use %s when printing string values.
* hppa-dis.c: Likewise.
* m68k-dis.c: Likewise.
* microblaze-dis.c: Likewise.
* mips-dis.c: Likewise.
* ppc-dis.c: Likewise.
* sparc-dis.c: Likewise.
* dis-asm.h (fprintf_ftype): Add ATTRIBUTE_FPTR_PRINTF_2.
Diffstat (limited to 'include/dis-asm.h')
-rw-r--r-- | include/dis-asm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dis-asm.h b/include/dis-asm.h index f9c8ae9d3ca..661e7cf5893 100644 --- a/include/dis-asm.h +++ b/include/dis-asm.h @@ -35,7 +35,7 @@ extern "C" { #include <stdio.h> #include "bfd.h" - typedef int (*fprintf_ftype) (void *, const char*, ...) /*ATTRIBUTE_FPTR_PRINTF_2*/; + typedef int (*fprintf_ftype) (void *, const char*, ...) ATTRIBUTE_FPTR_PRINTF_2; enum dis_insn_type { |