From c40f8d15c0e2fa6468df9c5d8d5797e4d98c074b Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Fri, 11 Mar 2011 01:19:57 +0100 Subject: [PATCH] * .gdbinit (pwinx, xbuffer): Fix access to buffer name. --- src/.gdbinit | 4 ++-- src/ChangeLog | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/.gdbinit b/src/.gdbinit index 3072dc956b9..2cf5663df91 100644 --- a/src/.gdbinit +++ b/src/.gdbinit @@ -392,7 +392,7 @@ define pwinx printf "Window %d ", $int xgetptr $w->buffer set $tem = (struct buffer *) $ptr - xgetptr $tem->name + xgetptr $tem->name_ printf "%s", ((struct Lisp_String *) $ptr)->data printf "\n" xgetptr $w->start @@ -938,7 +938,7 @@ end define xbuffer xgetptr $ print (struct buffer *) $ptr - xgetptr $->name + xgetptr $->name_ output ((struct Lisp_String *) $ptr)->data echo \n end diff --git a/src/ChangeLog b/src/ChangeLog index c9133f2ea86..c4af193d1b0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-03-11 Andreas Schwab + + * .gdbinit (pwinx, xbuffer): Fix access to buffer name. + 2011-03-09 Juanma Barranquero * search.c (compile_pattern_1): Remove argument regp, unused since -- 2.39.5