* lisp/progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 17 Nov 2013 23:01:23 +0000 (18:01 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 17 Nov 2013 23:01:23 +0000 (18:01 -0500)
commit9bc67baa5ad14110529ccfc4dfcb5b41be26be53
tree6f438f8e4dd07b4165b4057afb61dc5b81172391
parentde586f99e98f9ace3dc33933094046671ee7fa3c
* lisp/progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
(gdb--string-regexp): New constant.
(gdb-tooltip-print, gdb-var-evaluate-expression-handler)
(gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
(gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
submatch 1.
(gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
Adjust use accordingly.
(gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
lisp/ChangeLog
lisp/progmodes/gdb-mi.el