gdbcpu32.h

来自「可重用的GDB Stub源代码,支持多种嵌入式平台和体系结构.」· C头文件 代码 · 共 14 行

H
14
字号
#ifndef GDBCPU32_H
#define GDBCPU32_H

/* cause software breakpoint; we use trap #0 here because gdb uses trap #1
   and we need to be able to tell the difference (we expect gdb to replace
   its trap #1 instructions with valid code after a placed breakpoint is
   hit; compiled-in breakpoints are not replaced with anything, however */
#define COMPILED_IN_BREAKPOINT asm(" trap #0")

void gdb_interrupt_handler(void);
void gdb_cout ( const char *buf );

#endif /* GDBCPU32_H */

⌨️ 快捷键说明

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