在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) 我正在 GDB 中运行一些汇编代码试图调试我的程序,我想看看如果我完全忽略一条指令会发生什么,有没有办法做到这一点?(跳过它到下一行而不执行它)而不必编辑源代码并注释掉函数然后重新编译?