問一個關于bochs的問題

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
头像
xxdaystar
帖子: 225
注册时间: 2006-07-28 14:58
来自: 廣州

問一個關于bochs的問題

#1

帖子 xxdaystar » 2008-12-06 11:00

我的系統是ubuntu8.04
因為要用到debug的功能,所以下載了最新的bochs源碼(2.3.7),編譯等:
$./configure --enable-debug --enable-disasm
$make
$sudo make install

成功。

改了一下配制文件,加載了我自己寫的一個軟盤image,運行bochs,開始模擬。但問題是哪裡輸入debug命令?怎麼沒有提示符之類的?又沒有那個選項,查了一下都是在解釋debug命令的意思,並不是我想要的。暈啊~~
怎麼 沒有 命令輸入提示符?
怎麼 沒有 命令輸入提示符?
头像
xxdaystar
帖子: 225
注册时间: 2006-07-28 14:58
来自: 廣州

Re: 問一個關于bochs的問題

#2

帖子 xxdaystar » 2008-12-06 11:03

是不是配制文件哪裡要改,但我發現不了相關的。man bochs 看看命令才那麼點:

-q With this option the start menu will be skipped after loading
the configuration file.

-f configfile
This option specifies the name of the configuration file.

-qf configfile
When you run bochs with this option, it will skip the start menu
and use the specified configuration file.

-n With this option bochs doesn't load a configuration file. In
that case the setup for the emulation must be done with bochsrc
options on the command line or in the start menu.

-h, --help
Print a summary of the command line options for bochs and exit.
头像
xxdaystar
帖子: 225
注册时间: 2006-07-28 14:58
来自: 廣州

Re: 問一個關于bochs的問題

#3

帖子 xxdaystar » 2008-12-06 11:05

win下有個叫bochsdbg的,我是相要那個功能的,不但是運行。
头像
xxdaystar
帖子: 225
注册时间: 2006-07-28 14:58
来自: 廣州

Re: 問一個關于bochs的問題

#4

帖子 xxdaystar » 2008-12-06 20:52

xxdaystar 写了:我的系統是ubuntu8.04
因為要用到debug的功能,所以下載了最新的bochs源碼(2.3.7),編譯等:
$./configure --enable-debug --enable-disasm
$make
$sudo make install

成功。

改了一下配制文件,加載了我自己寫的一個軟盤image,運行bochs,開始模擬。但問題是哪裡輸入debug命令?怎麼沒有提示符之類的?又沒有那個選項,查了一下都是在解釋debug命令的意思,並不是我想要的。暈啊~~
Screenshot-1.png
找到原因了。第一句應該是:
$./configure --enable-debugger --enable-disasm –with-sdl
看來網上的教程靠不住啊 :em20
intijk
帖子: 167
注册时间: 2007-09-01 23:52

Re: 問一個關于bochs的問題

#5

帖子 intijk » 2009-02-14 20:29

源里安装的bochs可执行文件会放在 /usr/bin/bochs
而你这样自己编译的bochs会放在 /usr/local/bin/bochs

显然 如果要调用那个你自己安装的bochs,应该显示的使用完全路径:

代码: 全选

/usr/local/bin/bochs
jun2ran
帖子: 39
注册时间: 2008-11-15 16:14

Re: 問一個關于bochs的問題

#6

帖子 jun2ran » 2009-03-08 20:13

找到原因了。第一句應該是:
$./configure --enable-debugger --enable-disasm –with-sdl
看來網上的教程靠不住啊 :em20[/quote]




这个不可以~~~!!通不过的~~~!!!晕!!!
回复