Commit d04ce803 authored by Jean-Philippe Gravel's avatar Jean-Philippe Gravel

* progmodes/gdb-mi.el (gdb-input): Include token numbers in

gdb-debug-log.
parent 0114073a
2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
* progmodes/gdb-mi.el (gdb-input): Include token numbers in
gdb-debug-log.
2013-05-14 Glenn Morris <rgm@gnu.org>
* subr.el (user-emacs-directory-warning): New option.
......
......@@ -1731,10 +1731,11 @@ All embedded quotes, newlines, and backslashes are preceded with a backslash."
"Send COMMAND to GDB via the MI interface.
Run the function HANDLER-FUNCTION, with no arguments, once the command is
complete."
(if gdb-enable-debug (push (list 'send-item command handler-function)
gdb-debug-log))
(setq gdb-token-number (1+ gdb-token-number))
(setq command (concat (number-to-string gdb-token-number) command))
(if gdb-enable-debug (push (list 'send-item command handler-function)
gdb-debug-log))
(push (cons gdb-token-number handler-function) gdb-handler-alist)
(if gdbmi-debug-mode (message "gdb-input: %s" command))
(process-send-string (get-buffer-process gud-comint-buffer)
......
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