|
From: <sv...@va...> - 2006-10-19 17:31:41
|
Author: sewardj
Date: 2006-10-19 18:31:37 +0100 (Thu, 19 Oct 2006)
New Revision: 6324
Log:
Move a couple of functions out of tool view.
Modified:
trunk/coregrind/pub_core_options.h
trunk/include/pub_tool_options.h
Modified: trunk/coregrind/pub_core_options.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/pub_core_options.h 2006-10-19 13:23:59 UTC (rev 6323)
+++ trunk/coregrind/pub_core_options.h 2006-10-19 17:31:37 UTC (rev 6324)
@@ -174,6 +174,17 @@
so they can be properly handled by m_syswrap. */
extern HChar* VG_(clo_kernel_variant);
=20
+/* --------- Functions --------- */
+
+/* Call this if the executable is missing. This function prints an
+ error message, then shuts down the entire system. */
+extern void VG_(err_missing_prog) ( void );
+
+/* Similarly - complain and stop if there is some kind of config
+ error. */
+extern void VG_(err_config_error) ( Char* msg );
+
+
#endif // __PUB_CORE_OPTIONS_H
=20
/*--------------------------------------------------------------------*/
Modified: trunk/include/pub_tool_options.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/include/pub_tool_options.h 2006-10-19 13:23:59 UTC (rev 6323)
+++ trunk/include/pub_tool_options.h 2006-10-19 17:31:37 UTC (rev 6324)
@@ -86,13 +86,7 @@
entire system. */
extern void VG_(err_bad_option) ( Char* opt );
=20
-/* Similarly - complain that the executable is missing, then stop. */
-extern void VG_(err_missing_prog) ( void );
=20
-/* Similarly - complain about some config error. */
-extern void VG_(err_config_error) ( Char* msg );
-
-
#endif // __PUB_TOOL_OPTIONS_H
=20
/*--------------------------------------------------------------------*/
|