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

📄 c_t

📁 MIPS处理器的bootloader,龙芯就是用的修改过的PMON2
💻
字号:
The t Commandt/toThe t command performs a trace (single step) operation.FormatThe format for this command is:t [-vbci]or:to [-vbci]where:-v	lists each step (verbose).-b	captures only branches.-c	captures only calls (jal instruction).-i	stops on invalid program counter.cnt	traces cnt instructions.Functional DescriptionThe t command executes the instruction addressed by the current valueof the EPC register. The to command is similar to the t command, exceptthat the to command treats an entire procedure as a single step. Forexample, if the current instruction at EPC is a jump and linkinstruction, jal, the next stop is at EPC+8.A branch instruction and the instruction in its delay slot are executedas a single step. This also means that two-instruction loops are treatedas a single step. This command is implemented by setting a breakpoint at the following instruction.The command or commands that are executed on completion of the single step is determined by the value of the environment variable brkcmd.An example illustrating the use of this command follows.	PMON t 	Pmon+0x240 3c09a07f lui t1,0xa07fFilesThe t/to commands are located in mon/go.c.

⌨️ 快捷键说明

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