|
From: <sv...@va...> - 2006-10-17 01:35:02
|
Author: sewardj Date: 2006-10-17 02:34:57 +0100 (Tue, 17 Oct 2006) New Revision: 6263 Log: Merge r6126: New option --sym-offsets=3Dyes|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.] Modified: trunk/coregrind/m_options.c trunk/coregrind/pub_core_options.h Modified: trunk/coregrind/m_options.c =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/m_options.c 2006-10-17 01:32:48 UTC (rev 6262) +++ trunk/coregrind/m_options.c 2006-10-17 01:34:57 UTC (rev 6263) @@ -70,6 +70,7 @@ Int VG_(clo_dump_error) =3D 0; Int VG_(clo_backtrace_size) =3D 12; Char* VG_(clo_sim_hints) =3D NULL; +Bool VG_(clo_sym_offsets) =3D False; Bool VG_(clo_run_libc_freeres) =3D True; Bool VG_(clo_track_fds) =3D False; Bool VG_(clo_show_below_main)=3D False; 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-17 01:32:48 UTC (rev 6262) +++ trunk/coregrind/pub_core_options.h 2006-10-17 01:34:57 UTC (rev 6263) @@ -127,6 +127,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 */ +extern Bool VG_(clo_sym_offsets); =20 /* Track open file descriptors? */ extern Bool VG_(clo_track_fds); |