If it runs in Wine, you can use winedbg