From f95ca1268da211f5c60985d411df43bb5477430b Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 11 Sep 2016 22:07:47 +0300 Subject: 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 8047e208ea..a2d4f14350 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 -- cgit v1.2.3