c – 是否可以在GDB调试器中“跳转”/“跳过”?
发布时间:2020-12-16 03:18:16 所属栏目:百科 来源:网络整理
导读:在GDB中调试时是否可以跳转到代码/可执行文件中的某个位置/地址? 假设我有类似以下的内容 int main(){ caller_f1() { f1(); // breakpoint f2() } // want to skip f2() and jump caller_f2() { // jump to this this location ?? f1(); f2(); } } 解决方法
在GDB中调试时是否可以跳转到代码/可执行文件中的某个位置/地址?
假设我有类似以下的内容 int main() { caller_f1() { f1(); // breakpoint f2() } // want to skip f2() and jump caller_f2() { // jump to this this location ?? f1(); f2(); } } 解决方法
似乎有一个跳转命令正是您正在寻找的:
http://idlebox.net/2010/apidocs/gdb-7.0.zip/gdb_18.html#SEC163 更新链接: (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |