emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master f95ca12: Avoid signaling errors when computing "Sto


From: Eli Zaretskii
Subject: [Emacs-diffs] master f95ca12: Avoid signaling errors when computing "Stop" in GDB menu
Date: Sun, 11 Sep 2016 19:08:54 +0000 (UTC)

branch: master
commit f95ca1268da211f5c60985d411df43bb5477430b
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Avoid signaling errors when computing "Stop" in GDB menu
    
    * lisp/progmodes/gdb-mi.el (gdb-show-stop-p): Don't assume
    'gdb-running-threads-count' must have a numeric value.
    (Bug#24414)
---
 lisp/progmodes/gdb-mi.el |    1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el
index 8047e20..a2d4f14 100644
--- a/lisp/progmodes/gdb-mi.el
+++ b/lisp/progmodes/gdb-mi.el
@@ -1976,6 +1976,7 @@ is running."
             (not gdb-non-stop))
            gud-running)
       (and gdb-gud-control-all-threads
+           (not (null gdb-running-threads-count))
            (> gdb-running-threads-count 0))))
 
 ;; GUD displays the selected GDB frame.  This might might not be the current



reply via email to

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