Commit c40f8d15 authored by Andreas Schwab's avatar Andreas Schwab
Browse files

* .gdbinit (pwinx, xbuffer): Fix access to buffer name.

parent ba08b241
...@@ -392,7 +392,7 @@ define pwinx ...@@ -392,7 +392,7 @@ define pwinx
printf "Window %d ", $int printf "Window %d ", $int
xgetptr $w->buffer xgetptr $w->buffer
set $tem = (struct buffer *) $ptr set $tem = (struct buffer *) $ptr
xgetptr $tem->name xgetptr $tem->name_
printf "%s", ((struct Lisp_String *) $ptr)->data printf "%s", ((struct Lisp_String *) $ptr)->data
printf "\n" printf "\n"
xgetptr $w->start xgetptr $w->start
...@@ -938,7 +938,7 @@ end ...@@ -938,7 +938,7 @@ end
define xbuffer define xbuffer
xgetptr $ xgetptr $
print (struct buffer *) $ptr print (struct buffer *) $ptr
xgetptr $->name xgetptr $->name_
output ((struct Lisp_String *) $ptr)->data output ((struct Lisp_String *) $ptr)->data
echo \n echo \n
end end
......
2011-03-11 Andreas Schwab <schwab@linux-m68k.org>
* .gdbinit (pwinx, xbuffer): Fix access to buffer name.
2011-03-09 Juanma Barranquero <lekktu@gmail.com> 2011-03-09 Juanma Barranquero <lekktu@gmail.com>
   
* search.c (compile_pattern_1): Remove argument regp, unused since * search.c (compile_pattern_1): Remove argument regp, unused since
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment