diff options
author | Noah Friedman <friedman@splode.com> | 2017-05-08 16:24:56 -0700 |
---|---|---|
committer | Noah Friedman <friedman@splode.com> | 2017-05-08 16:24:56 -0700 |
commit | c0d42853cd9b2da6d2d82f670260b62958ff6d21 (patch) | |
tree | 723654220151f7c112860317648a9e5135657598 /etc/emacs-buffer.gdb | |
parent | 784602b10506c50075aa9463891a47380ebea55f (diff) | |
download | emacs-c0d42853cd9b2da6d2d82f670260b62958ff6d21.tar.gz |
(ybuffer-list): $alist must be ptr-unmasked at the end of the loop,
because $ptr is modified by ygetptr and we use $ptr immediately at the
beginning.
Diffstat (limited to 'etc/emacs-buffer.gdb')
-rw-r--r-- | etc/emacs-buffer.gdb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/emacs-buffer.gdb b/etc/emacs-buffer.gdb index db58eeb8e94..053d7bd69c3 100644 --- a/etc/emacs-buffer.gdb +++ b/etc/emacs-buffer.gdb @@ -105,8 +105,6 @@ define ybuffer-list while $alist != $qnil set $this = ((struct Lisp_Cons *) $ptr)->car set $alist = ((struct Lisp_Cons *) $ptr)->u.cdr - ygetptr $alist - set $alist = $ptr # Vbuffer_alist elts are pairs of the form (name . buffer) ygetptr $this @@ -136,6 +134,8 @@ define ybuffer-list end set $i++ + ygetptr $alist + set $alist = $ptr end end document ybuffer-list |