📄 nios_gdb_standalone.c
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -