diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-09-11 22:07:47 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-09-11 22:07:47 +0300 |
commit | f95ca1268da211f5c60985d411df43bb5477430b (patch) | |
tree | 05b84c0bf1c387a0819c199c6bb60d8431b31483 | |
parent | 7edaa77c5e1c0284aac4ce2dc0254d22ae6e49af (diff) |
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)
-rw-r--r-- | lisp/progmodes/gdb-mi.el | 1 |
1 files changed, 1 insertions, 0 deletions
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 |