d3xhkuo+bi5tjw at guerrillamail.com
2014-May-16 13:49 UTC
[Wine] winedbg set breakpoint on recv
Hello everyone, I would like to set a breakpoint on the recv function. However, when I run the following command in winedbg: Wine-dbg>break recv Breakpoint 1 at 0x... recv in libc.so.6 it sets a breakpoint in libc, instead of setting the breakpoint in ws2_32 which would have the recv function on windows (http://msdn.microsoft.com/en-us/library/windows/desktop/ms740121%28v=vs.85%29.aspx). I am able to set breakpoints for WSARecv and WSARecvFrom: Wine-dbg>break WSARecv Breakpoint 2 at 0x... WSARecv in ws2_32 Wine-dbg>break WSARecvFrom Breakpoint 3 at 0x... WSARecvFrom in ws2_32 How do I set a breakpoint on the recv function in ws2_32? Thanks in advance! ---- Sent using GuerrillMail.com Block or report abuse: https://www.guerrillamail.com/abuse/?a=Vkh6AEAVULEHmy6j%2BXAaegWJQtiX
On Fri, May 16, 2014 at 10:49 AM, <d3xhkuo+bi5tjw at guerrillamail.com> wrote:> Hello everyone, > > I would like to set a breakpoint on the recv function. However, when I run the following command in winedbg: > > Wine-dbg>break recv > Breakpoint 1 at 0x... recv in libc.so.6 > > it sets a breakpoint in libc, instead of setting the breakpoint in ws2_32 which would have the recv function on windows (http://msdn.microsoft.com/en-us/library/windows/desktop/ms740121%28v=vs.85%29.aspx). > ... > > How do I set a breakpoint on the recv function in ws2_32?To avoid conflicts in wine the function is called WS_recv: http://source.winehq.org/source/dlls/ws2_32/socket.c#L4246> Thanks in advance!Best wishes, Bruno