Is there any way to debug driver?

Guan, Xiao-Feng Xiao-Feng.Guan at amd.com
Tue Jun 23 22:37:49 CDT 2009


It works.
Thanks Roderick!

Guan Xiaofeng
AMD Shanghai SW OpenGL Team
021-61601838-25746
Xiao-Feng.Guan at amd.com
 
 

-----Original Message-----
From: Roderick Colenbrander [mailto:thunderbird2k at gmail.com] 
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<eric.pouech at orange.fr> 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)
>
>
>





More information about the wine-devel mailing list