aboutsummaryrefslogtreecommitdiff
path: root/sim/arm
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2020-10-22 12:00:10 +0100
committerNick Clifton <nickc@redhat.com>2020-10-22 12:00:10 +0100
commit777cd7ab3febadcdad52e3231e960af86e8742da (patch)
tree1108766883d3eaaf421508f8e63222d9643730a8 /sim/arm
parent6b4c676cc7f48f656cf235dd0507c41ab11d7cb5 (diff)
downloadgdb-777cd7ab3febadcdad52e3231e960af86e8742da.zip
gdb-777cd7ab3febadcdad52e3231e960af86e8742da.tar.gz
gdb-777cd7ab3febadcdad52e3231e960af86e8742da.tar.bz2
Fix printf formatting errors where "0x" is used as a prefix for a decimal number.
bfd * po/es.po: Fix printf format binutils * windmc.c: Fix printf format gas * config/tc-arc.c: Fix printf format opcodes * po/es.po: Fix printf format sim * arm/armos.c: Fix printf format * ppc/emul_netbsd.c: Fix printf format -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
Diffstat (limited to 'sim/arm')
-rw-r--r--sim/arm/armos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/arm/armos.c b/sim/arm/armos.c
index 76c449b..2ce7051 100644
--- a/sim/arm/armos.c
+++ b/sim/arm/armos.c
@@ -293,8 +293,8 @@ SWIread (ARMul_State * state, ARMword f, ARMword ptr, ARMword len)
{
sim_callback->printf_filtered
(sim_callback,
- "sim: Unable to read 0x%ulx bytes - out of memory\n",
- len);
+ "sim: Unable to read 0x%lx bytes - out of memory\n",
+ (long)len);
return;
}