Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1458677
  • 博文数量: 596
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 173
  • 用 户 组: 普通用户
  • 注册时间: 2016-07-06 15:50
个人简介

在线笔记

文章分类

全部博文(596)

文章存档

2016年(1)

2015年(104)

2014年(228)

2013年(226)

2012年(26)

2011年(11)

分类: Windows平台

2015-02-17 09:33:19

virtualbox 
xp

1. virtualbox配置
增加串口,
如果XP没有识别则重新装虚拟机,先增加串口设备后再安装
\\.\pipe\com1
host pipe
2. xp
隐藏文件
C:\Windows\boot.ini
c:\boot.ini

增加最后一行

  1. [boot loader]
  2. timeout=5
  3. default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
  4. [operating systems]
  5. multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
  6. multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /debug /debugport=com1 /baudrate=115200

3. windbg
::debug.bat
  1. @echo off
  2. ::调试Windbg的路径(有空格请加上双引号)
  3. set Windbg="C:\Program Files\Debugging Tools for Windows (x64)\windbg.exe"
  4. ::设置命令行参数
  5. ::其中com:port=\\.\pipe\com1是上面创建的管道. 波特率设置要一致
  6. ::-y H:\Cache\symbols表示调试符号文件的路径
  7. set Param=-b -k com:port=\\.\pipe\com1,baud=115200,pipe -y
  8. ::打开调试
  9. start "" %Windbg% %Param%
  10. goto :eof



阅读(1108) | 评论(0) | 转发(0) |
0

上一篇:windows sdk

下一篇:virtual box 日志路径

给主人留下些什么吧!~~