> From: Itai Berli <itai.berli@gmail.com>
> Date: Fri, 11 Aug 2017 16:17:12 +0300
> Cc: Emacs developers <emacs-devel@gnu.org>
>
> And what is the difference between gdb and gud-gdb?
They invoke 2 different interfaces between Emacs and GDB. Depending
on what version of GDB you have there, "M-x gdb" might not be the best
choice, because it needs GDB 7.0 or later.
There's also this comment in gdb-mi.el, which is what "M-x gdb" uses:
;;; macOS:
;; GDB in Emacs on macOS works best with FSF GDB as Apple have made
;; some changes to the version that they include as part of macOS.
;; This requires GDB version 7.0 or later as earlier versions do not
;; compile on macOS.