Re: How to debug into the linux library?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



cikka wrote:
> I'm a new user of wine.
> I want to debug into the linux OpenGL driver, but I found it is hard to set break point in the drivers. OpenGL driver is an .so file which run in Linux user space. 
> when I run an linux OpenGL app, I can easily set break point in the open gl driver and debug into it. 
> If I  run an D3D game via winedbg, which will also load linux OpenGL driver, but I can't break into the driver.
> I have  tried winedbg --gdb, also now work.
> 
> Does any one know how to debug into the OpenGL driver? please Help!
> 
> Thanks!


What exactly doesn't work? Wine delay-loads the libGL (as well as most other libraries) so you can't set the break point from the start. You need to set a break point somewhere in Wine after it initialized opengl. Then you should be able to set BRs in the libGL.






[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux