]> git.eshelyaron.com Git - emacs.git/commit
Fix bug #11279 with sending command blocks to GDB.
authorEli Zaretskii <eliz@gnu.org>
Fri, 20 Apr 2012 10:09:40 +0000 (13:09 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 20 Apr 2012 10:09:40 +0000 (13:09 +0300)
commit9ee9f4709c53bbf1240a8f4169674172dd458030
tree2afd45647d16b428c0e7ff3d3b3c7345d0303a7b
parentfeeb6f534509ee6872478331f982d8d906649991
Fix bug #11279 with sending command blocks to GDB.

 lisp/progmodes/gdb-mi.el (gdb-control-level): New variable.
 (gdb): Make it buffer-local and init to zero.
 (gdb-control-commands-regexp): New variable.
 (gdb-send): Don't wrap in "-interpreter-exec console" if
 gdb-control-level is positive.  Increment gdb-control-level
 whenever the command matches gdb-control-commands-regexp, and
 decrement it each time the command is "end".  (Bug#11279)
lisp/ChangeLog
lisp/progmodes/gdb-mi.el