From: Julian Seward Date: Tue, 17 Oct 2006 01:34:57 +0000 (+0000) Subject: Merge r6126: X-Git-Tag: svn/VALGRIND_3_3_0~613 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d416221e3cede0c16a1ae6f880774fce96c0415c;p=thirdparty%2Fvalgrind.git Merge r6126: New option --sym-offsets=yes|no [no], which causes all symbols to be shown in the form 'name+offset'. Mostly useful for debugging Valgrind itself. Also move command-line-error functions from m_main into m_options. [Will move them back shortly.] git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6263 --- diff --git a/coregrind/m_options.c b/coregrind/m_options.c index dd3033c2f0..ece214155e 100644 --- a/coregrind/m_options.c +++ b/coregrind/m_options.c @@ -70,6 +70,7 @@ Bool VG_(clo_trace_pthreads) = False; Int VG_(clo_dump_error) = 0; Int VG_(clo_backtrace_size) = 12; Char* VG_(clo_sim_hints) = NULL; +Bool VG_(clo_sym_offsets) = False; Bool VG_(clo_run_libc_freeres) = True; Bool VG_(clo_track_fds) = False; Bool VG_(clo_show_below_main)= False; diff --git a/coregrind/pub_core_options.h b/coregrind/pub_core_options.h index 8223b65874..532a73d9ee 100644 --- a/coregrind/pub_core_options.h +++ b/coregrind/pub_core_options.h @@ -127,6 +127,8 @@ extern Int VG_(clo_dump_error); 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 */ +extern Bool VG_(clo_sym_offsets); /* Track open file descriptors? */ extern Bool VG_(clo_track_fds);