summaryrefslogtreecommitdiff
path: root/lisp/progmodes/gdb-mi.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2020-01-31 11:41:14 +0200
committerEli Zaretskii <eliz@gnu.org>2020-01-31 11:41:14 +0200
commitc362a624d81410bb487e1ea9e2a3a1f18064a485 (patch)
treee0a48bab6de36ee3ee4c62366f3febaa21759d12 /lisp/progmodes/gdb-mi.el
parent2b1e18ae852c1490dfa22adc71f7582a1258da60 (diff)
downloademacs-c362a624d81410bb487e1ea9e2a3a1f18064a485.tar.gz
; * lisp/progmodes/gdb-mi.el (gdb-handle-reply): Fix commentary.
Diffstat (limited to 'lisp/progmodes/gdb-mi.el')
-rw-r--r--lisp/progmodes/gdb-mi.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el
index 4b0fd66c7ed..e785acd2840 100644
--- a/lisp/progmodes/gdb-mi.el
+++ b/lisp/progmodes/gdb-mi.el
@@ -324,8 +324,8 @@ in `gdb-handler-list' and clears all pending handlers invalidated
by the reception of this reply."
(let ((handler-function (gdb-get-handler-function token-number)))
(when handler-function
+ ;; Protect against errors in handler-function.
(condition-case err
- ;; protect against errors in handler-function
(funcall handler-function)
(error (message (error-message-string err))))
(gdb-delete-handler token-number))))