|
From: Nicholas N. <nj...@ca...> - 2004-09-05 20:40:10
|
CVS commit by nethercote: Move env variables out of core_asm.h into core.h, where they should be. M +25 -0 core.h 1.10 M +0 -23 core_asm.h 1.3 --- valgrind/coregrind/core.h #1.9:1.10 @@ -182,4 +182,29 @@ #define PGROUNDUP(p) ROUNDUP(p, VKI_BYTES_PER_PAGE) +/* --------------------------------------------------------------------- + Environment variables + ------------------------------------------------------------------ */ + +/* The directory we look for all our auxillary files in */ +#define VALGRINDLIB "VALGRINDLIB" + +/* Additional command-line arguments; they are overridden by actual + command-line option. Each argument is separated by spaces. There + is no quoting mechanism. + */ +#define VALGRINDOPTS "VALGRIND_OPTS" + +/* If this variable is present in the environment, then valgrind will + not parse the command line for options at all; all options come + from this variable. Arguments are terminated by ^A (\001). There + is no quoting mechanism. + + This variable is not expected to be set by anything other than + Valgrind itself, as part of its handling of execve with + --trace-children=yes. This variable should not be present in the + client environment. + */ +#define VALGRINDCLO "_VALGRIND_CLO" + /* --------------------------------------------------------------------- --- valgrind/coregrind/core_asm.h #1.2:1.3 @@ -153,27 +153,4 @@ #define VG_AMD_FEAT_3DNOW (VG_AMD_FEAT*32 + 31) -/* Various environment variables we pay attention to */ - -/* The directory we look for all our auxillary files in */ -#define VALGRINDLIB "VALGRINDLIB" - -/* Additional command-line arguments; they are overridden by actual - command-line option. Each argument is separated by spaces. There - is no quoting mechanism. - */ -#define VALGRINDOPTS "VALGRIND_OPTS" - -/* If this variable is present in the environment, then valgrind will - not parse the command line for options at all; all options come - from this variable. Arguments are terminated by ^A (\001). There - is no quoting mechanism. - - This variable is not expected to be set by anything other than - Valgrind itself, as part of its handling of execve with - --trace-children=yes. This variable should not be present in the - client environment. - */ -#define VALGRINDCLO "_VALGRIND_CLO" - #endif /* ndef __CORE_ASM_H */ |