|
From: <sv...@va...> - 2005-11-12 18:21:42
|
Author: njn
Date: 2005-11-12 18:21:40 +0000 (Sat, 12 Nov 2005)
New Revision: 5099
Log:
Rename --simulation-hints as --sim-hints for brevity.
Modified:
trunk/coregrind/m_main.c
trunk/coregrind/m_options.c
trunk/coregrind/m_syswrap/syswrap-generic.c
trunk/coregrind/pub_core_options.h
trunk/docs/valgrind.1
trunk/docs/xml/manual-core.xml
trunk/none/tests/cmdline1.stdout.exp
trunk/none/tests/cmdline2.stdout.exp
Modified: trunk/coregrind/m_main.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_main.c 2005-11-12 16:08:09 UTC (rev 5098)
+++ trunk/coregrind/m_main.c 2005-11-12 18:21:40 UTC (rev 5099)
@@ -879,7 +879,7 @@
"\n"
" uncommon user options for all Valgrind tools:\n"
" --run-libc-freeres=3Dno|yes free up glibc memory at exit? [yes]\n"
-" --simulation-hints=3Dhint1,hint2,... known hints:\n"
+" --sim-hints=3Dhint1,hint2,... known hints:\n"
" lax-ioctls, enable-outer [none]\n"
" --show-emwarns=3Dno|yes show warnings about emulation limits? [=
no]\n"
" --smc-check=3Dnone|stack|all checks for self-modifying code: none,=
\n"
@@ -1109,7 +1109,7 @@
else VG_BOOL_CLO(arg, "--model-pthreads", VG_(clo_model_pthreads=
))
=20
else VG_STR_CLO (arg, "--db-command", VG_(clo_db_command))
- else VG_STR_CLO (arg, "--simulation-hints", VG_(clo_simulation_hin=
ts))
+ else VG_STR_CLO (arg, "--sim-hints", VG_(clo_sim_hints))
=20
else VG_NUM_CLO (arg, "--dump-error", VG_(clo_dump_error))
else VG_NUM_CLO (arg, "--input-fd", VG_(clo_input_fd))
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 2005-11-12 16:08:09 UTC (rev 5098)
+++ trunk/coregrind/m_options.c 2005-11-12 18:21:40 UTC (rev 5099)
@@ -67,7 +67,7 @@
Bool VG_(clo_trace_pthreads) =3D False;
Int VG_(clo_dump_error) =3D 0;
Int VG_(clo_backtrace_size) =3D 12;
-Char* VG_(clo_simulation_hints) =3D NULL;
+Char* VG_(clo_sim_hints) =3D NULL;
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/m_syswrap/syswrap-generic.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_syswrap/syswrap-generic.c 2005-11-12 16:08:09 UTC (=
rev 5098)
+++ trunk/coregrind/m_syswrap/syswrap-generic.c 2005-11-12 18:21:40 UTC (=
rev 5099)
@@ -3857,7 +3857,7 @@
default: {
UInt dir =3D _VKI_IOC_DIR(ARG2);
UInt size =3D _VKI_IOC_SIZE(ARG2);
- if (VG_(strstr)(VG_(clo_simulation_hints), "lax-ioctls") !=3D NULL=
) {
+ if (VG_(strstr)(VG_(clo_sim_hints), "lax-ioctls") !=3D NULL) {
/*=20
* Be very lax about ioctl handling; the only
* assumption is that the size is correct. Doesn't
@@ -4763,10 +4763,10 @@
PRE_REG_READ3(ssize_t, "write",
unsigned int, fd, const char *, buf, vki_size_t, count)=
;
/* check to see if it is allowed. If not, try for an exemption from
- --simulation-hints=3Denable-outer (used for self hosting). */
+ --sim-hints=3Denable-outer (used for self hosting). */
ok =3D ML_(fd_allowed)(ARG1, "write", tid, False);
if (!ok && ARG1 =3D=3D 2/*stderr*/=20
- && VG_(strstr)(VG_(clo_simulation_hints),"enable-outer"))
+ && VG_(strstr)(VG_(clo_sim_hints),"enable-outer"))
ok =3D True;
if (!ok)
SET_STATUS_Failure( VKI_EBADF );
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 2005-11-12 16:08:09 UTC (rev 5098)
+++ trunk/coregrind/pub_core_options.h 2005-11-12 18:21:40 UTC (rev 5099)
@@ -122,7 +122,7 @@
/* 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_simulation_hints);
+extern Char* VG_(clo_sim_hints);
=20
/* Track open file descriptors? */
extern Bool VG_(clo_track_fds);
Modified: trunk/docs/valgrind.1
=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/docs/valgrind.1 2005-11-12 16:08:09 UTC (rev 5098)
+++ trunk/docs/valgrind.1 2005-11-12 18:21:40 UTC (rev 5099)
@@ -513,7 +513,7 @@
=20
.TP
.B
---simulation-hints=3Dhint1,hint2,\.\.\.
+--sim-hints=3Dhint1,hint2,\.\.\.
Pass miscellaneous hints to \fBvalgrind\fP which slightly modify the
simulated behaviour in nonstandard or dangerous ways, possibly to help
the simulation of strange features. By default no hints are enabled. Use
Modified: trunk/docs/xml/manual-core.xml
=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/docs/xml/manual-core.xml 2005-11-12 16:08:09 UTC (rev 5098)
+++ trunk/docs/xml/manual-core.xml 2005-11-12 18:21:40 UTC (rev 5099)
@@ -1012,7 +1012,7 @@
</listitem>
=20
<listitem id=3D"simulation_hints">
- <para><computeroutput>--simulation-hints=3Dhint1,hint2,...</computer=
output></para>
+ <para><computeroutput>--sim-hints=3Dhint1,hint2,...</computeroutput>=
</para>
<para>Pass miscellaneous hints to Valgrind which slightly
modify the simulated behaviour in nonstandard or dangerous
ways, possibly to help the simulation of strange features.
Modified: trunk/none/tests/cmdline1.stdout.exp
=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/none/tests/cmdline1.stdout.exp 2005-11-12 16:08:09 UTC (rev 509=
8)
+++ trunk/none/tests/cmdline1.stdout.exp 2005-11-12 18:21:40 UTC (rev 509=
9)
@@ -18,7 +18,7 @@
=20
uncommon user options for all Valgrind tools:
--run-libc-freeres=3Dno|yes free up glibc memory at exit? [yes]
- --simulation-hints=3Dhint1,hint2,... known hints:
+ --sim-hints=3Dhint1,hint2,... known hints:
lax-ioctls, enable-outer [none]
--show-emwarns=3Dno|yes show warnings about emulation limits? [n=
o]
--smc-check=3Dnone|stack|all checks for self-modifying code: none,
Modified: trunk/none/tests/cmdline2.stdout.exp
=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/none/tests/cmdline2.stdout.exp 2005-11-12 16:08:09 UTC (rev 509=
8)
+++ trunk/none/tests/cmdline2.stdout.exp 2005-11-12 18:21:40 UTC (rev 509=
9)
@@ -18,7 +18,7 @@
=20
uncommon user options for all Valgrind tools:
--run-libc-freeres=3Dno|yes free up glibc memory at exit? [yes]
- --simulation-hints=3Dhint1,hint2,... known hints:
+ --sim-hints=3Dhint1,hint2,... known hints:
lax-ioctls, enable-outer [none]
--show-emwarns=3Dno|yes show warnings about emulation limits? [n=
o]
--smc-check=3Dnone|stack|all checks for self-modifying code: none,
|