Complain about NVidia's libGL.so also when an 0x8C opcode is encountered.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@235 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/vg_main.c b/vg_main.c
index 8397698..06b6498 100644
--- a/vg_main.c
+++ b/vg_main.c
@@ -1204,7 +1204,7 @@
/* Print some helpful-ish text about unimplemented things, and give
up. */
-extern void VG_(unimplemented) ( Char* msg )
+void VG_(unimplemented) ( Char* msg )
{
VG_(message)(Vg_UserMsg, "");
VG_(message)(Vg_UserMsg,
@@ -1231,6 +1231,15 @@
}
+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.");
+}
+
+
/*--------------------------------------------------------------------*/
/*--- end vg_main.c ---*/
/*--------------------------------------------------------------------*/