Commit f95ca126 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

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)
parent 7edaa77c
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment