when we use WINEDEBUG=trace+relay ,it shows function calls of all dlls.
but,when a function is called in a dll ,it may call some other functions internally before return.
What is the channel we have to use to know the those function calls and their return values.
In the log report of WINEDEBUG=trace+relay there are two variables "retval" and "ret".
what is their significance?
Regarding Wine Debugging
Re: Regarding Wine Debugging
If this is builtin dll then you already have that - "relay" channel shows all function calls with few exceptions. BUT by default internal calls to winex11.drv, user32, gdi32, advapi32 and kernel32 are excluded - see [HKCU\Software\Wine\Debug\RelayFromExclude] registry key.sainath wrote:What is the channel we have to use to know the those function calls and their return values.
For native dlls you can use +snoop channel. However in some cases it can break execution of a program. So keep that in mind when things stop working.
ret - returning address (next command after "call").sainath wrote:In the log report of WINEDEBUG=trace+relay there are two variables "retval" and "ret". what is their significance?
retval - returned value from the function.