]> Git Repo - qemu.git/blobdiff - target-cris/translate_v10.c
trace: add "-trace enable=..."
[qemu.git] / target-cris / translate_v10.c
index 3ab1c398e0283a1bc9a22c95b3853a74cffb2251..1335517883393071c5be51cad03b3cd08d084399 100644 (file)
@@ -18,6 +18,7 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "qemu/osdep.h"
 #include "crisv10-decode.h"
 
 static const char *regnames_v10[] =
@@ -58,7 +59,7 @@ static inline int dec10_size(unsigned int size)
 
 static inline void cris_illegal_insn(DisasContext *dc)
 {
-    qemu_log("illegal insn at pc=%x\n", dc->pc);
+    qemu_log_mask(LOG_GUEST_ERROR, "illegal insn at pc=%x\n", dc->pc);
     t_gen_raise_exception(EXCP_BREAK);
 }
 
This page took 0.024683 seconds and 4 git commands to generate.