相关疑难解决方法(0)

是否可以在GDB调试器中"跳转"/"跳过"?

在GDB中调试时是否可以跳转到代码/可执行文件中的某个位置/地址?

假设我有类似以下的内容

int main()
{
  caller_f1() {  

   f1();  // breakpoint  
   f2() } // want to skip f2() and jump 

  caller_f2() { // jump to this this location ??       
   f1();  
   f2(); }  
}
Run Code Online (Sandbox Code Playgroud)

c debugging gdb

8
推荐指数
2
解决办法
7356
查看次数

标签 统计

c ×1

debugging ×1

gdb ×1