Barf more elegantly.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6623 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/m_debuginfo/readdwarf.c b/coregrind/m_debuginfo/readdwarf.c
index ac2498f..800d01e 100644
--- a/coregrind/m_debuginfo/readdwarf.c
+++ b/coregrind/m_debuginfo/readdwarf.c
@@ -2680,9 +2680,8 @@
break;
default:
- if (ddump_frames /* || trace_cfi*/)
- VG_(printf)("XXX unhandled dwarf expr opcode 0x%x\n",
- (Int)opcode );
+ VG_(message)(Vg_DebugMsg, "DWARF2 CFI reader: unhandled DW_OP_ "
+ "opcode 0x%x", (Int)opcode);
return -1;
}