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

📄 consecutive.c

📁 gdb是linux下的一个远程调试环境.能让你很方便地调试linux下的代码.
💻 C
字号:
/*    Purpose of this test:  to test breakpoints on consecutive instructions.*/int a[7] = {1, 2, 3, 4, 5, 6, 7};/* assert: first line of foo has more than one instruction. */int foo (){  return a[0] + a[1] + a[2] + a[3] + a[4] + a[5] + a[6];}main(){#ifdef usestubs    set_debug_traps ();    breakpoint ();#endif  foo ();}

⌨️ 快捷键说明

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