The gdb way always turns into some SIGTRAP signal from preloader and finally terminates the loading process. It seems that the WINE binary loader would not co-work with gdb.
We will try another way -- the WINE visual tests, to see if it is enough for work.
Thanks very much.
Guan Xiaofeng AMD Shanghai SW OpenGL Team 021-61601838-25746 Xiao-Feng.Guan@amd.com
-----Original Message----- From: Ken Thomases [mailto:ken@codeweavers.com] Sent: Thursday, June 18, 2009 11:34 PM To: Wang, Robin; wine-devel Cc: Guan, Xiao-Feng; Boudier, Pierre; Zhou, Jesse; Jin, Jian-Rong; Sun, Sunny Subject: Re: Is there any way to debug driver?
On Jun 17, 2009, at 10:49 AM, Wang, Robin wrote:
We also have tried using winedbg, but it cannot break into our driver either.
The only way we can break into our driver before is using "gdb wine- pthread", but now it is not available.
Do you have some suggestion on winedbg configuration to make it able to break into graphics drivers.
As already mentioned by Ben Klein, just try "gdb wine" instead of "gdb wine-pthread". The executable name has changed. That's all.
Cheers, Ken