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!
How to debug into the linux library?
Re: How to debug into the linux library?
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.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!