From: Julian Seward Date: Tue, 27 Feb 2007 18:38:33 +0000 (+0000) Subject: Barf more elegantly. X-Git-Tag: svn/VALGRIND_3_3_0~343 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=046ec22beb060f41c3e5fed209785568715862e5;p=thirdparty%2Fvalgrind.git Barf more elegantly. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6623 --- diff --git a/coregrind/m_debuginfo/readdwarf.c b/coregrind/m_debuginfo/readdwarf.c index ac2498fa8c..800d01eeb5 100644 --- a/coregrind/m_debuginfo/readdwarf.c +++ b/coregrind/m_debuginfo/readdwarf.c @@ -2680,9 +2680,8 @@ static Int dwarfexpr_to_dag ( UnwindContext* ctx, 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; }