Show sources along with debugger.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 30 Dec 2013 21:20:12 +0200
changeset 1100 df3489a212a9
parent 1099 ca26bcd6e73b
child 1101 500c2af9b6fb
Show sources along with debugger.
.emacs-my
--- a/.emacs-my	Sat Dec 28 14:18:28 2013 +0200
+++ b/.emacs-my	Mon Dec 30 21:20:12 2013 +0200
@@ -2163,6 +2163,12 @@
 (add-to-list 'auto-mode-alist '("SConscript\\'" . python-mode))
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+(message "gdb, gud")
+;; Use C-x SPACE to set breakpoint in source file.
+
+(setq gdb-show-main t)                  ; See also (gdb-many-windows)
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 (message "TAGS, etags, ctags, GNU GLOBAL")
 
 ;; One of 'tags-table-list' or 'tags-file-name' control which TAGS files to