I am trying to set a breakpoint on the recv function using winedbg, however it seems that it sets the breakpoint in the wrong library.
When I run the command in winedbg:
Code: Select all
Wine-dbg>break recv
Breakpoint 1 at 0x... recv in libc.so.6
Setting breakpoints on WSARecv and WSARecvFrom properly set the breakpoints in the ws2_32 library:
Code: Select all
Wine-dbg>break WSARecv
Breakpoint 2 at 0x... WSARecv in ws2_32
Code: Select all
break WSARecvFrom
Breakpoint 3 at 0x... WSARecvFrom in ws2_32
Thanks in advance!