gdb Package Installation on Mac

About abcde : GNU debugger!
More Information: https://www.gnu.org/software/gdb/
Steps:

  1. Launch Terminal by pressing command+space, type terminal and hit Enter key.
  2. Run
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  3. Install
    brew install gdb

Done!