Skip to content

Instantly share code, notes, and snippets.

(require 'gud)
(setq gdb-many-windows t)
(setq gdb-use-separate-io-buffer t)
(add-hook
'gdb-mode-hook
'(lambda ()
(gud-tooltip-mode t)
(gud-def gud-break-main "break main" nil "Set breakpoint at main.")
))