binutils-gdb/sim
Andrew Burgess 182421c9d2 sim/ppc: fixes for arguments to printf style functions
After the recent series of fixes to mark more functions in the
simulator with ATTRIBUTE_PRINTF, there were some build failures in the
ppc sim due, in some cases, to bugs with the arguments being passed,
and in other cases, the issues were (maybe) less serious, with
arguments being the wrong size, or type, for the printf format being
used.

This commit fixes all of the issues that I ran into.

In each case I selected the easiest solution to the problem, which is
usually just casting the argument to the correct type.  If anyone
later on thinks the print format should change, please feel free to do
that.  What we have here should keep the simulator basically working
as it does currently, which is my goal with this commit.
2022-10-12 10:37:00 +01:00
..
aarch64 sim/aarch64: Fix aarch64_get_CPSR_bits() declaration 2022-08-25 18:35:59 +02:00
arm sim: fixes for libopcodes styled disassembler 2022-04-04 22:41:24 +01:00
avr Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
bfin sim: remove use of PTR 2022-05-13 14:32:54 +09:30
bpf sim: gdbinit: hoist setup to common code 2022-02-21 13:57:33 -05:00
common sim: Initialize pbb_br_* by default 2022-10-11 15:18:15 +01:00
cr16 Don't use BFD_VMA_FMT in gdb and sim 2022-08-06 08:03:16 +09:30
cris sim/cris: Add ATTRIBUTE_PRINTF 2022-10-11 15:18:14 +01:00
d10v Don't use BFD_VMA_FMT in gdb and sim 2022-08-06 08:03:16 +09:30
erc32 sim/erc32: Add ATTRIBUTE_PRINTF 2022-10-11 15:18:14 +01:00
example-synacor sim: synacor: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
frv sim: remove use of PTR 2022-05-13 14:32:54 +09:30
ft32 Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
h8300 Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
igen sim: igen: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
iq2000 sim: iq2000: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
lm32 Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
m4 sim: Link ZSTD_LIBS 2022-09-27 11:42:32 -07:00
m32c sim/m32c: Add ATTRIBUTE_PRINTF 2022-10-11 15:18:14 +01:00
m32r sim: remove use of PTR 2022-05-13 14:32:54 +09:30
m68hc11 sim/m68hc11: Add ATTRIBUTE_PRINTF 2022-10-11 15:18:14 +01:00
mcore Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
microblaze Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
mips sim: remove use of PTR 2022-05-13 14:32:54 +09:30
mn10300 sim: gdbinit: hoist setup to common code 2022-02-21 13:57:33 -05:00
moxie sim/moxie: add custom directory stamp rule 2022-10-11 11:22:14 +01:00
msp430 sim: msp430: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
or1k sim: gdbinit: hoist setup to common code 2022-02-21 13:57:33 -05:00
ppc sim/ppc: fixes for arguments to printf style functions 2022-10-12 10:37:00 +01:00
pru Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
riscv sim/riscv: fix multiply instructions on simulator 2022-10-11 12:38:36 +01:00
rl78 sim/rl78: Add ATTRIBUTE_PRINTF 2022-10-11 15:18:14 +01:00
rx Don't use BFD_VMA_FMT in gdb and sim 2022-08-06 08:03:16 +09:30
sh Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
testsuite sim/riscv: fix multiply instructions on simulator 2022-10-11 12:38:36 +01:00
v850 Fix for v850e divq instruction 2022-04-06 11:10:40 -04:00
.gitignore sim: drop unused gentmap & nltvals.def logic 2021-11-28 13:24:00 -05:00
aclocal.m4 sim: Link ZSTD_LIBS 2022-09-27 11:42:32 -07:00
arch-subdir.mk.in sim: Link ZSTD_LIBS 2022-09-27 11:42:32 -07:00
ChangeLog-2021 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
config.h.in sim: Check known getopt definition existence 2022-10-11 15:18:14 +01:00
configure sim: Check known getopt definition existence 2022-10-11 15:18:14 +01:00
configure.ac sim: Check known getopt definition existence 2022-10-11 15:18:14 +01:00
COPYING sim: clarify license text via COPYING file 2021-11-06 01:44:06 -04:00
gdbinit.in sim: gdbinit: hoist setup to common code 2022-02-21 13:57:33 -05:00
MAINTAINERS sim: Update mailing list address 2022-09-01 10:15:09 -04:00
Makefile.am Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
Makefile.in sim/moxie: add custom directory stamp rule 2022-10-11 11:22:14 +01:00
README-HACKING sim: nltvals: pull target syscalls out into a dedicated source file 2021-11-28 13:23:57 -05:00