ankkk
驱动牛犊
驱动牛犊
  • 注册日期2007-12-29
  • 最后登录2008-01-03
  • 粉丝0
  • 关注0
  • 积分10分
  • 威望2点
  • 贡献值0点
  • 好评度1点
  • 原创分0分
  • 专家分0分
阅读:1987回复:2

HELP! HELP! Problem when WinDbg loads a symble

楼主#
更多 发布于:2008-01-02 17:09
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?
squlinnan
驱动牛犊
驱动牛犊
  • 注册日期2007-05-16
  • 最后登录2009-05-06
  • 粉丝0
  • 关注0
  • 积分1分
  • 威望6点
  • 贡献值0点
  • 好评度4点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2008-01-07 14:59
恩我也是这个问题,no symbols
没有符号的时候还有一种办法,也是用bu命令,在drivername后跟上一个EntryPoint,如:
bu mydriver+0×123
0×123就是驱动的EntryPoint.
squlinnan
驱动牛犊
驱动牛犊
  • 注册日期2007-05-16
  • 最后登录2009-05-06
  • 粉丝0
  • 关注0
  • 积分1分
  • 威望6点
  • 贡献值0点
  • 好评度4点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2008-01-07 17:42
补充一点,your *.sys must  build by Checked Build Environment
呵呵,应该你可以解决了
游客

返回顶部