It works. Thanks Roderick! Guan Xiaofeng AMD Shanghai SW OpenGL Team 021-61601838-25746 [email protected]
-----Original Message----- From: Roderick Colenbrander [mailto:[email protected]] Sent: Wednesday, June 24, 2009 12:23 AM To: Eric Pouech Cc: Wang, Robin; Guan, Xiao-Feng; wine-devel; Zhou, Jesse; Sun, Sunny; Boudier, Pierre; Jin, Jian-Rong Subject: Re: Is there any way to debug driver? It was just mentioned on IRC that the environment variable WINELOADERNOEXEC=1 needs to be set. After that you can just run 'gdb wine' and continue the same way as using wine-preloader. Roderick On Mon, Jun 22, 2009 at 10:24 PM, Eric Pouech<[email protected]> wrote: > Wang, Robin a écrit : >> >> Hi Roderick, >> >> Using winedbg, it is OK for us to break into libGL.so. But we cannot set >> break point in our dri drivers, which is loaded by libGL.so using dlopen(). >> >> > > please send me the output of running > WINEDEBUG=+dbghelp wine .... > > and then at debugger prompt > > Wine-dbg> break your_func_in_dri_driver > Wine-dbg> cont > > TIA > > -- > Eric Pouech > "The problem with designing something completely foolproof is to > underestimate the ingenuity of a complete idiot." (Douglas Adams) > > >
