nios_gdb_standalone.c
来自「ALTERA的NIOS处理器!文件直接可以打开直接选择器件重新编译!」· C语言 代码 · 共 21 行
C
21 行
// nios_debug_monitor.c
// The is a simple GDB debug monitor.
// It is donwloaded by the GDB command file (nios-build -d)
// which then spawns Insight, connects to this monitor, and,
// finally, downloads the user program
#include "nios.h"
main ()
{
#ifdef nasys_printf_uart
printf("(Running Nios GDB Stub)\n");
#endif // nasys_printf_uart
nios_gdb_install (1);
nios_gdb_breakpoint ();
while (1)
// loop forever, responding to uart chars via interrupt.
;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?