I am trying to debug a native shared library using gdb, while running an application under wine. The problem is, the debugging symbols are disappearing when wine application is being run. I can load them back using gdb add-symbol-file command, but I still can't hit a breakpoint.
Has anyone ever encountered the same problem? What is the general approach in debugging a native shared library used by application being run under wine?