From ec2d618c07c7b990203da304a69d618732161a65 Mon Sep 17 00:00:00 2001 From: Ivan Leo Murray-Smith Date: Tue, 20 Apr 2004 20:16:54 +0000 Subject: [PATCH] Replace --debugmsg with WINEDEBUG. --- documentation/configuring.sgml | 16 ++++++++-------- documentation/debugging.sgml | 20 ++++++++++---------- documentation/implementation.sgml | 2 +- documentation/opengl.sgml | 2 +- documentation/winelib-bindlls.sgml | 4 ++-- 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/documentation/configuring.sgml b/documentation/configuring.sgml index c957f21f65b..4f695290afd 100644 --- a/documentation/configuring.sgml +++ b/documentation/configuring.sgml @@ -662,8 +662,8 @@ are all optional and you probably don't need to add or remove anything in this section to your config. (In extreme cases you may want to use these options to manage the amount - of information generated by the --debugmsg +relay - option.) + of information generated by WINEDEBUG=+relay + ) "File" = "/blanco" @@ -683,13 +683,13 @@ "RelayInclude" = "user32.CreateWindowA;comctl32.*" Include only the listed functions in a - --debugmsg +relay trace. This entry is + WINEDEBUG=+relay trace. This entry is ignored if there is a RelayExclude entry. "RelayExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection" Exclude the listed functions in a - --debugmsg +relay trace. This entry + WINEDEBUG=+relay trace. This entry overrides any settings in a RelayInclude entry. If neither entry is present then the trace includes everything. @@ -1277,8 +1277,8 @@ And here is a setup for Drive A, a generic floppy drive: - Run the program with --debugmsg - +loaddll to find out which files are + Run the program with WINEDEBUG=+loaddll + to find out which files are needed. Copy the required DLLs one by one to the C:\windows\system directory. Do not copy KERNEL/KERNEL32, GDI/GDI32, USER/USER32 or NTDLL. These @@ -1698,8 +1698,8 @@ And here is a setup for Drive A, a generic floppy drive: A very useful help to find out which DLLs are loaded as built-in and which are loaded as native Windows file can be the debug channel - loaddll, activated via the Wine command line parameter - --debugmsg +loaddll. + loaddll, activated via the environment variable + WINEDEBUG=+loaddll. diff --git a/documentation/debugging.sgml b/documentation/debugging.sgml index 95d63422ded..d9afae5cc52 100644 --- a/documentation/debugging.sgml +++ b/documentation/debugging.sgml @@ -230,10 +230,10 @@ HANDLE32 WINAPI YourFunc(LPCSTR s) - The --debugmsg command line - option controls the output of the debug messages. + The WINEDEBUG environment variable + controls the output of the debug messages. It has the following syntax: - --debugmsg [yyy]#xxx[,[yyy1]#xxx1]* + WINEDEBUG= [yyy]#xxx[,[yyy1]#xxx1]* @@ -252,7 +252,7 @@ HANDLE32 WINAPI YourFunc(LPCSTR s) on all classes. For example: ---debugmsg +reg,-file +WINEDEBUG=+reg,-file enables all messages on the reg @@ -269,7 +269,7 @@ HANDLE32 WINAPI YourFunc(LPCSTR s) only on the given class. For example: ---debugmsg trace+reg,warn-file +WINEDEBUG=trace+reg,warn-file enables trace messages on the reg @@ -283,18 +283,18 @@ HANDLE32 WINAPI YourFunc(LPCSTR s) has the intuitive semantics: - --debugmsg +all -- enables all debug messages - --debugmsg -all -- disables all debug messages - --debugmsg yyy+all -- enables debug messages for class yyy on all + WINEDEBUG=+all -- enables all debug messages + WINEDEBUG=-all -- disables all debug messages + WINEDEBUG=yyy+all -- enables debug messages for class yyy on all channels. - --debugmsg yyy-all -- disables debug messages for class yyy on all + WINEDEBUG=yyy-all -- disables debug messages for class yyy on all channels. So, for example: - --debugmsg warn-all -- disables all warning messages. + WINEDEBUG=warn-all -- disables all warning messages. diff --git a/documentation/implementation.sgml b/documentation/implementation.sgml index 2a1d0da8098..4cdbd0a7274 100644 --- a/documentation/implementation.sgml +++ b/documentation/implementation.sgml @@ -122,7 +122,7 @@ After you have added your table, recompile Wine and test that it works. If it fails to detect your table, try running -wine --debugmsg +key,+keyboard >& key.log +WINEDEBUG=+key,+keyboard wine > key.log 2>&1 and look in the resulting key.log file to diff --git a/documentation/opengl.sgml b/documentation/opengl.sgml index b1e0918ad31..dbf8e88cde2 100644 --- a/documentation/opengl.sgml +++ b/documentation/opengl.sgml @@ -306,7 +306,7 @@ Please report (lionel.ulmer@free.fr) ! - If you have this, run with --debugmsg +opengl + If you have this, run with WINEDEBUG=+opengl and send me lionel.ulmer@free.fr the TRACE. diff --git a/documentation/winelib-bindlls.sgml b/documentation/winelib-bindlls.sgml index c86df092bed..f8a61b36f48 100644 --- a/documentation/winelib-bindlls.sgml +++ b/documentation/winelib-bindlls.sgml @@ -267,8 +267,8 @@ signed short WINAPI MyProxyWinFunc (unsigned short a, void *b, void *c, Once you have done this you should be using the Linux Shared Object - successfully. If you have problems then use the --debugmsg +module - options to wine to see what is actually happening. + successfully. If you have problems then set the WINEDEBUG=+module + environment variable before running wine to see what is actually happening.