且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

GDB冻结在macOS Catalina上

更新时间:2022-06-10 22:44:47

"问题是由Apple在其Xcode工具链中从GNU调试器GDB切换到LLVM调试器LLDB(以及过渡)引起的.从GCC到Clang)."来自 https://www. ics.uci.edu/~pattis/common/handouts/macmingweclipse/allexperimental/mac-gdb-install.html

"The problem is caused by Apple switching away from GDB, the GNU debugger, to LLDB, the LLVM debugger, in their Xcode toolchain (along with the transition from GCC to Clang)." from https://www.ics.uci.edu/~pattis/common/handouts/macmingweclipse/allexperimental/mac-gdb-install.html

在OS X中使用lldb代替gdb.

use lldb instead of gdb in OS X.

这不能解决gdb的问题,但至少为您提供了解决它的方法!

this doesn't solve the problem with gdb, but at least gives you a way to get around it!

lldb和gdb是非常相似的调试器.这是从gdb命令到其lldb等效项的映射: https://lldb.llvm.org/use /map.html

lldb and gdb are very similar debuggers. here's a mapping from gdb commands to their lldb equivalents: https://lldb.llvm.org/use/map.html