GNU bug report logs -
#28108
25.2; Infinite loop due to circular marker list?
Previous Next
Reported by: Adam Porter <adam <at> alphapapa.net>
Date: Wed, 16 Aug 2017 06:51:01 UTC
Severity: normal
Found in version 25.2
Done: Adam Porter <adam <at> alphapapa.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On Fri, Aug 18, 2017 at 1:12 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> Replace this:
>
> >set $markers = BUF_MARKERS(b)
>
> with this:
>
> >set $markers = b->text->markers
>
> You will have to redefine the whole command again with that change.
That brought up a different error:
(gdb) define count-markers
Redefine command "count-markers"? (y or n) y
Type commands for definition of "count-markers".
End with a line saying just "end".
>set $count = 0
>set $markers = b->text->markers
>while $markers != 0
>set $count = $count +1
>print $count
>set $markers = $markers->next
>end
>end
(gdb) count-markers
value has been optimized out
(gdb) step
605 for (tail = BUF_MARKERS (b); tail; prev = &tail->next,
tail = *prev)
(gdb) count-markers
value has been optimized out
This bug report was last modified 7 years and 282 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.