Advanced Debugging
About AdvDbg Consult Train Services Products Tools Community Contact  
欢迎光临 高端调试 登录 | 注册 | FAQ
 
  ACPI调试
Linux内核调试
Windows内核调试
 
  调试战役
调试原理
新工具观察
 
  Linux
Windows Vista
Windows
 
  Linux驱动
WDF
WDM
 
  PCI Express
PCI/PCI-X
USB
无线通信协议
 
  64位CPU
ARM
IA-32
  CPU Info Center
 
  ACPI标准
系统认证
Desktop
服务器
 
  Embedded Linux
嵌入式开发工具
VxWorks
WinCE
嵌入式Windows
 
  格蠹调试套件(GDK)
  格蠹学院
  小朱书店
  老雷的微博
  《软件调试》
  《格蠹汇编》
  《软件调试(第二版)》
沪ICP备11027180号-1

WinDbg

帖子发起人: JL   发起时间: 2013-03-11 17:48 下午   回复: 3

Print Search
帖子排序:    
   2013-03-11, 17:48 下午
JackeyLee007 离线,最后访问时间: 2013/3/11 9:40:56 JL

无等级
注册: 2013-03-11
发 贴: 1
64位win7, 64位Windbg,调试32位程序(WOW64模式),symbols path怎么设?
Reply Quote
我从微软下了X86, AMD64的symbols,分别按装在C:\Symbols\x86,和C:\Symbols\x64下,然后在Windbg的symbol path路径中指定上述路径,attach到目标程序之后,使用!cs命令,总是得到如下的错误提示:
***    Your debugger is not using the correct symbols                 ***
***                                                                   ***
***    In order for this command to work properly, your symbol path   ***
***    must point to .pdb files that have full type information.      ***
***                                                                   ***
***    Certain .pdb files (such as the public OS symbols) do not      ***
***    contain the required information.  Contact the group that      ***
***    provided you with these symbols if you need this command to    ***
***    work.                                                          ***
***                                                                   ***
***    Type referenced: ntdll!_RTL_CRITICAL_SECTION_DEBUG                ***
***                                                                   ***
Bad symbols for NTDLL (error 3). Aborting.

IP 地址: 已记录   报告
   2013-03-13, 00:01 上午
Raymond 离线,最后访问时间: 2020/7/3 3:40:25 格蠹老雷

发帖数前10位
注册: 2005-12-19
发 贴: 1,303
Re: 64位win7, 64位Windbg,调试32位程序(WOW64模式),symbols path怎么设?
Reply Quote

先确认NTDLL的符号文件找到没有:

lm vm nt*

 

 


IP 地址: 已记录   报告
   2015-09-01, 14:38 下午
no89757 离线,最后访问时间: 2015/9/1 6:34:15 no89757

发帖数前500位
注册: 2015-09-01
发 贴: 2
Re: 64位win7, 64位Windbg,调试32位程序(WOW64模式),symbols path怎么设?
Reply Quote
这种情况 pdb 肯定是加载上的,我的也是同样的问题。x64 windbg 调试 x64 native程序,lmvm ntdll :ntdll的符号正常加载, !cs !locks 命令没法正常使用。

和上面的同学一样的提示。但是dt ntdll中的结构是没问题的。比如 dt _RTL_CRITICAL_SECTION_DEBUG  是ok的,挺奇怪的,是自己的环境问题么?  

IP 地址: 已记录   报告
   2015-09-01, 16:22 下午
no89757 离线,最后访问时间: 2015/9/1 6:34:15 no89757

发帖数前500位
注册: 2015-09-01
发 贴: 2
Re: 64位win7, 64位Windbg,调试32位程序(WOW64模式),symbols path怎么设?
Reply Quote
之前也听说这个好像是微软的一个调试器的一个bug 下了win10 的sdk也不好用。
IP 地址: 已记录   报告
高端调试 » 软件调试 » WinDbg » 64位win7, 64位Windbg,调试32位程序(WOW64模式),symbols path怎么设?

 
Legal Notice Privacy Statement Corporate Governance Corporate Governance
(C)2004-2020 ADVDBG.ORG All Rights Reserved.