* lisp/progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
commit1a0a5d6b90af51c0a12792981692bc3d6adfb56e
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 17 Nov 2013 23:01:23 +0000 (17 18:01 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 17 Nov 2013 23:01:23 +0000 (17 18:01 -0500)
treecb168585ec63706b531f1188d9229fe33be29e05
parenta6a74bd74ed5dd2d5d452c5275b5c9bc75c7d74b
* 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