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?
sainath wrote:> What is the channel we have to use to know the those function calls and their return values.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. 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. sainath wrote:> In the log report of WINEDEBUG=trace+relay there are two variables "retval" and "ret". what is their significance?ret - returning address (next command after "call"). retval - returned value from the function.