<div dir="ltr">I'm trying to debug Wine, and I want to step into the BitBlt function using winedbg. I've set a breakpoint at BitBlt, and it is being hit, however, when I list the source code, it points somewhere completely differently in the source. I have no idea why that is. Does it mean that Wine is not setup correctly for debugging?<div>
<br></div><div>I cloned Wine from Git a few days ago, and I've used "./tools/wineinstall" to compile and install it.</div><div><br></div><div>This is an excerpt of the debugging session.<br><div><div><br></div>
<div><div><div><div>sashoalm@aspire:~$ winedbg /tmp/xformtest.exe </div><div>WineDbg starting on pid 0022</div><div>start_process () at /home/sashoalm/Workspace/wine/wine-git/dlls/kernel32/process.c:1097</div><div>0x7b86235f start_process+0x5f [/home/sashoalm/Workspace/wine/wine-git/dlls/kernel32/process.c:1097] in kernel32: movl<span class="" style="white-space:pre">       </span>%edi,0x4(%esp)</div>
<div>1097<span class="" style="white-space:pre">        </span>    return call_process_entry( peb, entry );</div><div>Wine-dbg>break BitBlt</div><div>fixme:dbghelp_dwarf:dwarf2_parse_subprogram Unhandled Tag type 0x1 at ctx(0x32bfec,L"gdi32<elf>"), for debug_info(abbrev:0x15f2148,symt:0x175a660)</div>
<div>Breakpoint 1 at 0x7ebcac00 BitBlt in gdi32</div><div>Wine-dbg>cont</div><div>Stopped on breakpoint 1 at 0x7ebcac00 BitBlt in gdi32</div><div>Wine-dbg>list</div><div>1097<span class="" style="white-space:pre">     </span>    return call_process_entry( peb, entry );</div>
<div>1098<span class="" style="white-space:pre">        </span>}</div><div>1099<span class="" style="white-space:pre">      </span></div><div>1100<span class="" style="white-space:pre">       </span></div><div>1101<span class="" style="white-space:pre">       </span>/***********************************************************************</div>
<div>1102<span class="" style="white-space:pre">        </span> *           set_process_name</div><div>1103<span class="" style="white-space:pre">     </span> *</div><div>1104<span class="" style="white-space:pre">     </span> * Change the process name in the ps output.</div>
<div>1105<span class="" style="white-space:pre">        </span> */</div><div>1106<span class="" style="white-space:pre">    </span>static void set_process_name( int argc, char *argv[] )</div><div>1107<span class="" style="white-space:pre"> </span>{</div>
<div>Wine-dbg>n</div><div>copy_bitmap () at /home/sashoalm/Workspace/wine/wine-git/dlls/user32/cursoricon.c:382</div><div>382<span class="" style="white-space:pre"> </span>    DeleteDC( dst );</div></div></div></div></div>
</div><div><br></div></div>