⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c_debug

📁 MIPS处理器的bootloader,龙芯就是用的修改过的PMON2
💻
字号:
The debug CommanddebugThe debug command initiates the Monitor'sgdb/dbx mode.FormatThe format for the debug command is:debug [-svV] [-c args] where:-s	does not set client stack pointer.-v	shows communication errors.-V	sets the verbose option.-c args	indicates that the argument or arguments args are to be passed to the client program.Functional DescriptionThe debug command causes the Monitor to enter gdb/dbx mode. It isintended to be used with either the GNU's gdb or MIPS' dbx source-leveldebugger. The -V option selects verbose mode. In verbose mode, each ofthe messages sent to and received from dbx are displayed on theterminal screen. It is not possible to leave verbose mode withoutleaving dbx mode and reentering dbx mode without the -V option. Bydefault, the Monitor displays in terse mode.Examples illustrating the use of the debug command with MIPS' dbx follow. % cat /etc/remote.pdbx		Display port information on host port1.port1:dv=/dev/tty1:br#9600:% cat ~/.dbxinit 		Display setup for dbx.set $pdbxport = "port1"set $usesockets=0set $manual_load = 1PMON set hostport tty1		Specify protocol and port for target.PMON set dlproto EtxAck PMON set dlecho off PMON load 			Prepare for download, and start.% edown /dev/tty1 < test1.rec% dbx -prom test1		Invoke dbx.(dbx) stop in main		Optionally set breakpoint at main.(dbx) run			Prepare for execution.PMON debug			Begin executing.See Alsosetcommand for the setup of the environment variables.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -