阅读:1987回复:2
HELP! HELP! Problem when WinDbg loads a symble
I configured the Symbol path as "SRV*C:\Windows\Symbols*http://msdl.microsoft.com/download/symbols", which followed WinDbg's help. Setup symbols which download from Microsoft. Then, debug TEST through COM interface using WinDbg.
Also I have copied TEST.pdb to C:\Windows\Symbols. It works well before it need TEST.sys. 1. I set "bu TEST!DriverEntry" to WinDbg 0: kd> bl 0 eu 0001 (0001) (TEST!DriverEntry) 2. Install TESTon target computer. 3. WinDbg says: 0: kd> g *** ERROR: Module load completed but symbols could not be loaded for TEST.sys Breakpoint 1's offset expression evaluation failed. Check for invalid symbols or bad syntax. WaitForEvent failed nt!DbgLoadImageSymbols+0x48: 81855400 c9 leave 4. 0: kd> lm start end module name 81800000 81ba1000 nt (pdb symbols) D:\WINDOWS\Symbols\ntkrpamp.pdb\E42190E..... 8c152000 8c187000 TEST(no symbols) So, the Symbol nt comes from Microsoft works well, but WinDbg cannot find and load the symbol TEST. Did I miss some configurations about the symbol? |
|
沙发#
发布于:2008-01-07 14:59
恩我也是这个问题,no symbols
没有符号的时候还有一种办法,也是用bu命令,在drivername后跟上一个EntryPoint,如: bu mydriver+0×123 0×123就是驱动的EntryPoint. |
|
板凳#
发布于:2008-01-07 17:42
补充一点,your *.sys must build by Checked Build Environment
呵呵,应该你可以解决了 |
|