Skip to content

Commit

Permalink
Fix compile time warning (in the ARM simulator) about a print stateme…
Browse files Browse the repository at this point in the history
…nt with insufficient arguments.

	PR 22663
	* maverick.c (DSPCDP4): Add missing parameter to debug print
	statement.
  • Loading branch information
nickclifton committed Jan 2, 2018
1 parent 806ab1c commit 43724d1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions sim/arm/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2018-01-02 Nick Clifton <[email protected]>

PR 22663
* maverick.c (DSPCDP4): Add missing parameter to debug print
statement.

2017-09-21 Yao Qi <[email protected]>

* wrapper.c (print_insn): Use disassembler instead of
Expand Down
2 changes: 1 addition & 1 deletion sim/arm/maverick.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 43724d1

Please sign in to comment.