Debug driver with windbg

 
Debug driver with windbg (1)
2008-01-26 00:34

转载

  1. edit target pc's boot.ini: multi(0)disk(0)rdisk(0)partition(1)/WINDOWS="Microsoft Windows XP Professional" /fastdetect /debug /debugport=1394 /channel=44

    you can select your own channel number.
  2. connect the 1394 cable
  3. set symbol file path in windbg: SRV*C:/WINDOWS/Symbols*http://msdl.microsoft.com/download/symbols
  4. set driver source file path
  5. set image file path, like: xxx/objchk_wxp_x86/i386
  6. open source file
  7. set kernel debug->1394, channel=44, click OK to start.
  8. set your breakpoint in source file. if your image has not been loaded yet, use bu yourdriver!routine to set an unresolved breakpoint. (my comments: press F9 to set, select NO if a popup window shows)
  9. run.

Other useful links:

http://hi.baidu.com/yach/blog/item/3d6c3b292c2732fc98250a2c.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值