[Wine] Re: why I cannot use winedbg --gdb

cikka wineforum-user at winehq.org
Wed Jul 30 11:29:50 CDT 2008


vitamin wrote:
> 
> cikka wrote:
> > whan can result to gdb proxy broken, How can I solve it.
> 
> Start hacking Wine. You can't magically fix it.
> 
> 
> cikka wrote:
> > and when I use winedbg to debug, I cannot print the vaule of the local variable some times.  why?
> 
> 
> Should work. If if doesn't - file a bug report with exact steps to reproduce.
> 
> Your best bet would be to start Wine process suspended (or add a long long sleep somewhere at the start). Then attach to it with gdb.
> You can also directly run Wine under gdb. You just have to start wine-pthread not wine. See developer's doc for more options and other details.



Thanks!  Which thread should I attach with gdb if I want to debug into libgl.so. When I use command "ps -e", there are many thread related to wine, e.g.wineserver; device.exe; app.exe; etc.
I have tried attach every thread, it seems neither can make me break into libgl.so.

Thanks!!







More information about the wine-users mailing list