gdbのバージョンが新しいと動かないらしいんでバージョン下げた
brew unlink gdb brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/9ec9fb27a33698fc7636afce5c1c16787e9ce3f3/Formula/gdb.rb brew pin gdb
HighSierra以降は以下設定が必要
echo "set startup-with-shell off" >> ~/.gdbinit
このgdb32bitしか動かん奴やん、、、
(gdb) run Starting program: No executable file specified. Use the "file" or "exec-file" command.