Prints a msg and aborts. */
extern void VG_(unimplemented) ( Char* msg )
__attribute__((__noreturn__));
-extern void VG_(nvidia_moan) ( void );
/* The stack on which Valgrind runs. We can't use the same stack as the
simulatee -- that's an important design decision. */
}
-void VG_(nvidia_moan) ( void)
-{
- VG_(message)(Vg_UserMsg,
- "The following failure _might_ be caused by linking to NVidia's\n "
- "libGL.so, so avoiding it, if you can, _might_ help you. For example,\n "
- "re-build any Qt libraries you are using without OpenGL support.");
-}
-
-
/* ---------------------------------------------------------------------
Sanity check machinery (permanently engaged).
------------------------------------------------------------------ */
default:
VG_(printf)("disInstr: unhandled opcode 0x%x then 0x%x\n",
(UInt)opc, (UInt)getUChar(eip));
- if (opc == 0x8C)
- VG_(nvidia_moan)();
VG_(panic)("unhandled x86 opcode");
}