windbg调试kvm windows虚机

来源:互联网 发布:windows 64 oracle sga 编辑:程序博客网 时间:2024/05/29 04:45
准备2台虚机,一台target目标机,用于运行要调试的windows系统(调试内核),一台debug调试机,用于运行windbg,配置步骤如下:
1.运行target虚机,在kvm命令中添加-serial tcp::9000,server,nowait参数,启动好之后,修改boot.ini(XP)文件,添加
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XPProfessional- with debug" /noexecute=alwaysoff /fastdetect /debug/debugport=com1 /baudrate=115200
Windows 7:
bcdedit /debug ON

bcdedit /dbgsettings SERIAL DEBUGPORT:1 BAUDRATE:115200

2.运行debug虚机,在kvm命令中添加-serial tcp:localhost:9000参数,启动好之后,运行windbg,选择“kernel debug...",默认COM1即可;3.重启target虚机,启动菜单选择"Microsoft Windows XP Professional- with debug";4.在windbg中添加http://msdl.microsoft.com/download/symbols,用于加载windows系统的符号表;
阅读(360) | 评论(0) | 转发(0) |
0

上一篇: rdp 6.x auto-logon windows xp(file or activx)

下一篇:windows stack分析

相关热门文章
  • 10种启动故障解决方法(转)...
  • 关于自动弹出网页的解决方法...
  • Auto CAD 2007中文版 迅雷免费...
  • 出现“high definition audio...
  • 全国计算机一级考试试题...
  • 关于enqueue 的dump 文件帮看...
  • tar --newer 05/12/2013 这个...
  • 请教nginx代理tomcat作为子目...
  • LDAP安装 bus error是什么问...
  • select语句不修改sql,如何优...
给主人留下些什么吧!~~
原创粉丝点击