emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/progmodes/gdb-ui.el,v


From: Nick Roberts
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/gdb-ui.el,v
Date: Wed, 20 Dec 2006 05:16:36 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Nick Roberts <nickrob>  06/12/20 05:16:36

Index: gdb-ui.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/progmodes/gdb-ui.el,v
retrieving revision 1.192
retrieving revision 1.193
diff -u -b -r1.192 -r1.193
--- gdb-ui.el   4 Dec 2006 03:26:44 -0000       1.192
+++ gdb-ui.el   20 Dec 2006 05:16:36 -0000      1.193
@@ -79,6 +79,8 @@
 ;; 5) If you wish to call procedures from your program in GDB
 ;;    e.g "call myproc ()", "p mysquare (5)" then use level 2 annotations
 ;;    "gdb --annotate=2 myprog" to keep source buffer/selected frame fixed.
+;; 6) After detaching from a process, clicking on the "GO" icon on toolbar
+;;    (gud-go) sends "continue" to GDB (should be "run").
 
 ;;; Problems with watch expressions, GDB/MI:
 
@@ -874,7 +876,7 @@
                  (setq gdb-var-list (delq varchild gdb-var-list)))))))))
 
 (defun gdb-var-delete-children (varnum)
-  "Delete children of variable object point from the speedbar."
+  "Delete children of variable object at point from the speedbar."
   (gdb-enqueue-input
    (list
     (if (eq (buffer-local-value 'gud-minor-mode gud-comint-buffer) 'gdba)
@@ -1401,7 +1403,7 @@
     (if (and gdb-frame-begin gdb-printing)
        (setq gud-overlay-arrow-position gud-old-arrow)
     ;;Pop up GUD buffer to display current frame when it doesn't have source
-    ;;information i.e id not compiled with -g as with libc routines generally.
+    ;;information i.e if not compiled with -g as with libc routines generally.
     (if gdb-same-frame
        (gdb-display-gdb-buffer)
       (gdb-frame-gdb-buffer))
@@ -1415,6 +1417,7 @@
                  (gdb-invalidate-frames)
                  'delete))))))
   (unless (member gdb-inferior-status '("exited" "signal"))
+    (setq gdb-active-process t) ;Just for attaching case.
     (setq gdb-inferior-status "stopped")
     (gdb-force-mode-line-update
      (propertize gdb-inferior-status 'face font-lock-warning-face)))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]