]> git.eshelyaron.com Git - emacs.git/commit
* gud.el (gud-gdb-marker-filter): Do not assume that the position
authorJim Blandy <jimb@redhat.com>
Fri, 30 Jul 1993 01:39:20 +0000 (01:39 +0000)
committerJim Blandy <jimb@redhat.com>
Fri, 30 Jul 1993 01:39:20 +0000 (01:39 +0000)
commit768c29d02fd693e801d9010b787b14cc980e5188
treecfd2a69662f9c281954d5e0be93cd8b3e498ed79
parentf582564f7b77df08ab0741a3e85500ccf369f5cf
* gud.el (gud-gdb-marker-filter): Do not assume that the position
markers from GDB will always be received in one chunk of input;
gud-gdb-marker-filter may be called several times, each time
providing a little more of the position marker.
(gud-gdb-marker-acc): New variable.
(gud-gdb-marker-filter): If we have received what could be the
beginning of a position marker, hold that text in
gud-gdb-marker-acc for the next time we get called, until we have
enough information to decide for sure.

* gud.el (gud-gdb-marker-filter): Only recognize GDB position
markers if they occur at the beginning of the line.  They always
do, and this reduces the likelihood that the above change will
hold back output that isn't really a position marker.
lisp/gud.el