Mac on the use gdb

gdb installation

Mac terminal and type:

brew update
brew search gdb
brew install gdb

gdb using:

After installation, the input gdb, gdb program interface into the

File file_path      // load executable file 
RUN file_path      // run the executable file

 If your Mac is running on gdb installation problems, the solution:

https://blog.csdn.net/github_33873969/article/details/78511733

 

Guess you like

Origin www.cnblogs.com/QRain/p/12457848.html