阅读:1210回复:3
关于在启动过程中对驱动进行源代码级调试的问题
呵呵,这是一个问题,所以麻烦大家一下
我在初始化配置里先把初始化字符串X;给去掉,然后在SYMBOLS里把要调试文件的NMS加载,然后REBOOT(我驱动的TYPE=1,START=2,然后SICE的启动是BOOT),可是我发现我可以拦截我写的驱动里的所有函数,但是显示的是汇编级的。。。。不能显示源代码级的。。。。。。。。。大家谁有经验能否告诉我是否可以调整成为源码级别的呢? |
|
最新喜欢:hxqw20... |
沙发#
发布于:2005-06-29 14:12
关注中。。。, 请问搂主,你拦截使用什么方法拦的 ,如果不是设断点就请麻烦告书我一下方法
|
|
板凳#
发布于:2005-06-29 14:28
我看了一下文档,并试了一下,用下面的方法就可以调试驱动源码
Use the Symbols initialization settings in conjunction with the Module Translation settings to pre-load symbols and source code when you start SoftICE. Pre-loading symbols and source code is useful for debugging device drivers. To pre-load symbols or source code, do the following: 1 In the Module Translation settings, select Symbols and source code if you want your source code loaded in addition to the symbols. 2 Select Package source with symbol table. 3 In Symbol Loader, choose Translate from the Module menu to translate the module to a .NMS symbol file. Tip You can use the Symbol Loader command-line utility, NMSYM, to specify the output file name. 4 Use the Symbols SoftICE Initialization settings to add your .NMS symbol file to the Symbols list. The following section describes how to do this |
|
地板#
发布于:2005-06-29 14:43
但是我的Softice刚启动时全部是乱码,启动完之后就可以调试源码
|
|