From: Julian Seward Date: Wed, 9 Jan 2008 18:37:41 +0000 (+0000) Subject: Move VG_(clo_backtrace_size) to a tool-visible header file. X-Git-Tag: svn/VALGRIND_3_4_0~1106 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=443b85bdeedfa5798979a97c5750969de1885130;p=thirdparty%2Fvalgrind.git Move VG_(clo_backtrace_size) to a tool-visible header file. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7331 --- diff --git a/coregrind/pub_core_options.h b/coregrind/pub_core_options.h index 4c53df6c37..83d581b686 100644 --- a/coregrind/pub_core_options.h +++ b/coregrind/pub_core_options.h @@ -131,8 +131,6 @@ extern Bool VG_(clo_trace_pthreads); /* 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 */ diff --git a/include/pub_tool_options.h b/include/pub_tool_options.h index ed5c37ea4a..abea320085 100644 --- a/include/pub_tool_options.h +++ b/include/pub_tool_options.h @@ -116,6 +116,9 @@ extern HChar* VG_(clo_xml_user_comment); 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