comparison src/.gdbinit @ 13551:4b9062f951a5

(xsymbol): Cast name explicitly to (char *).
author Richard M. Stallman <rms@gnu.org>
date Wed, 15 Nov 1995 16:57:23 +0000
parents efe2270f061c
children fb218a8bd186
comparison
equal deleted inserted replaced
13550:06e46fbae7f0 13551:4b9062f951a5
143 Print the name of the buffer. 143 Print the name of the buffer.
144 end 144 end
145 145
146 define xsymbol 146 define xsymbol
147 print (struct Lisp_Symbol *) ((((int) $) & $valmask) | gdb_data_seg_bits) 147 print (struct Lisp_Symbol *) ((((int) $) & $valmask) | gdb_data_seg_bits)
148 output &$->name->data 148 output (char*)&$->name->data
149 echo \n 149 echo \n
150 end 150 end
151 document xsymbol 151 document xsymbol
152 Print the name and address of the symbol $. 152 Print the name and address of the symbol $.
153 This command assumes that $ is an Emacs Lisp symbol value. 153 This command assumes that $ is an Emacs Lisp symbol value.