|
From: <sv...@va...> - 2008-01-09 18:37:39
|
Author: sewardj
Date: 2008-01-09 18:37:41 +0000 (Wed, 09 Jan 2008)
New Revision: 7331
Log:
Move VG_(clo_backtrace_size) to a tool-visible header file.
Modified:
trunk/coregrind/pub_core_options.h
trunk/include/pub_tool_options.h
Modified: trunk/coregrind/pub_core_options.h
===================================================================
--- trunk/coregrind/pub_core_options.h 2008-01-09 17:51:55 UTC (rev 7330)
+++ trunk/coregrind/pub_core_options.h 2008-01-09 18:37:41 UTC (rev 7331)
@@ -131,8 +131,6 @@
/* Display gory details for the k'th most popular error. default:
Infinity. */
extern Int VG_(clo_dump_error);
-/* Number of parents of a backtrace. Default: 8. */
-extern Int VG_(clo_backtrace_size);
/* Engage miscellaneous weird hacks needed for some progs. */
extern Char* VG_(clo_sim_hints);
/* Show symbols in the form 'name+offset' ? Default: NO */
Modified: trunk/include/pub_tool_options.h
===================================================================
--- trunk/include/pub_tool_options.h 2008-01-09 17:51:55 UTC (rev 7330)
+++ trunk/include/pub_tool_options.h 2008-01-09 18:37:41 UTC (rev 7331)
@@ -116,6 +116,9 @@
less aggressively if that is needed (callgrind needs this). */
extern VexControl VG_(clo_vex_control);
+/* Number of parents of a backtrace. Default: 8. */
+extern Int VG_(clo_backtrace_size);
+
/* Call this if a recognised option was bad for some reason. Note:
don't use it just because an option was unrecognised -- return
'False' from VG_(tdict).tool_process_cmd_line_option) to indicate
|