📄 algogdb.htm
字号:
<title>Source-Level Debug with Algorithmics' gdb</title><h1 align=center>Source-Level Debug with Algorithmics' gdb</h1><!--INDEX "Source-level debug with Algorithmics' gdb" -->To use the debug <a href="mondef.htm">Monitor</a> with Algorithmic'sgdb, you will need two serial ports. One serial port (connected tothe Monitor's tty0) will be used as the console. This port is used to issuethe command 'debug'. It is also the port where program I/O willappear. The second port is used for gdb to communicate with the Monitor'stty1. It is also used to download the program prior to switching to'debug' mode.<p><pre>-- Compile and link programs with -gPMON>load Prepare for download% edown < bubble.rec Download% sde-gdb -b 9600 bubble Invoke gdb(gdb) target mips /dev/tty1 Select protocol and portPMON> debug Enter gdb mode(gdb) b main Set breakpoint at main(gdb) run Start execution</pre></dl><p><hr><b>Navigation:</b> <a href="index.htm">Document Home</a> | <a href="doctoc.htm">Document Contents</a> | <a href="docindex.htm">Document Index</a> <p>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -