Fix compile time warning (in the ARM simulator) about a print statement with insuffic...
authorNick Clifton <nickc@redhat.com>
Tue, 2 Jan 2018 17:15:16 +0000 (17:15 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 2 Jan 2018 17:15:16 +0000 (17:15 +0000)
PR 22663
* maverick.c (DSPCDP4): Add missing parameter to debug print
statement.

sim/arm/ChangeLog
sim/arm/maverick.c

index db530b7153629e979740f56df9f6e344cba2a068..71097d5ac1a3ccf34f7c574378299682f96d74ec 100644 (file)
@@ -1,3 +1,9 @@
+2018-01-02  Nick Clifton  <nickc@redhat.com>
+
+       PR 22663
+       * maverick.c (DSPCDP4): Add missing parameter to debug print
+       statement.
+
 2017-09-21  Yao Qi  <yao.qi@linaro.org>
 
        * wrapper.c (print_insn): Use disassembler instead of
index 3660c3d299ee5060ed11f9ede85b239e32d158fc..d8be20cbd51b32c59cbd3fb7802e761eb13285a8 100644 (file)
@@ -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;