aboutsummaryrefslogtreecommitdiff
path: root/sim/arm/maverick.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2018-01-02 17:15:16 +0000
committerNick Clifton <nickc@redhat.com>2018-01-02 17:15:16 +0000
commit43724d16bebb38fe6794f6a3741352a7698038de (patch)
tree7ff8a8a8956b1441d81113e95ee140076c973047 /sim/arm/maverick.c
parent806ab1c045c4cbb5c906f79bcb2e0c3058f4c6fd (diff)
downloadgdb-43724d16bebb38fe6794f6a3741352a7698038de.zip
gdb-43724d16bebb38fe6794f6a3741352a7698038de.tar.gz
gdb-43724d16bebb38fe6794f6a3741352a7698038de.tar.bz2
Fix compile time warning (in the ARM simulator) about a print statement with insufficient arguments.
PR 22663 * maverick.c (DSPCDP4): Add missing parameter to debug print statement.
Diffstat (limited to 'sim/arm/maverick.c')
-rw-r--r--sim/arm/maverick.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/arm/maverick.c b/sim/arm/maverick.c
index 3660c3d..d8be20c 100644
--- a/sim/arm/maverick.c
+++ b/sim/arm/maverick.c
@@ -880,7 +880,7 @@ DSPCDP4 (ARMul_State * state,
mv_setRegDouble (DEST_REG,
-mv_getRegDouble (SRC1_REG));
printfdbg ("cfnegd mvd%d = -mvd%d = %g\n",
- DEST_REG,
+ DEST_REG, DEST_REG,
mv_getRegDouble (DEST_REG));
break;