comparison src/.gdbinit @ 42682:d2dfa348e7d8

(xbuffer): Remove address operator since data is now a pointer.
author Andreas Schwab <schwab@suse.de>
date Sat, 12 Jan 2002 21:14:49 +0000
parents f440b9766968
children 1865230232b7
comparison
equal deleted inserted replaced
42681:b683f98f263a 42682:d2dfa348e7d8
258 This command assumes that $ is an Emacs Lisp bool-vector value. 258 This command assumes that $ is an Emacs Lisp bool-vector value.
259 end 259 end
260 260
261 define xbuffer 261 define xbuffer
262 print (struct buffer *) (($ & $valmask) | gdb_data_seg_bits) 262 print (struct buffer *) (($ & $valmask) | gdb_data_seg_bits)
263 output &((struct Lisp_String *) ((($->name) & $valmask) | gdb_data_seg_bits))->data 263 output ((struct Lisp_String *) ((($->name) & $valmask) | gdb_data_seg_bits))->data
264 echo \n 264 echo \n
265 end 265 end
266 document xbuffer 266 document xbuffer
267 Set $ as a buffer pointer, assuming it is an Emacs Lisp buffer value. 267 Set $ as a buffer pointer, assuming it is an Emacs Lisp buffer value.
268 Print the name of the buffer. 268 Print the name of the buffer.