What is the process for debugging Wine tests with GDB?

Jefferson Carpenter jeffersoncarpenter2 at gmail.com
Tue Apr 16 23:26:48 CDT 2019


For instance, to debug the msxml3 tests I've tried

    tests $ gdb --args ../../../loader/wine64 msxml3_test.exe.so domdoc
    (gdb) b domdoc.c:13003
    Make breakpoint pending on future shared library load? (y or [n]) y
    (gdb) r

in which case gdb breaks at a segfault in which there is little stack
information, but does not break at my breakpoint, as well as

    ...
    (gdb) set follow-fork-mode child
    (gdb) r

in which case gdb still does not break at my breakpoint, nor at the segfault.



More information about the wine-devel mailing list