comparison etc/DEBUG @ 66645:98ed2e52cea0

(Note): GDB can sometimes expand macros.
author Nick Roberts <nickrob@snap.net.nz>
date Thu, 03 Nov 2005 02:03:24 +0000
parents f05a048483cc
children c0eb744f79f7
comparison
equal deleted inserted replaced
66644:d4be642850c2 66645:98ed2e52cea0
156 we want the address of the l-value expression near the bottom of 156 we want the address of the l-value expression near the bottom of
157 `add_command_key' from keyboard.c: 157 `add_command_key' from keyboard.c:
158 158
159 XVECTOR (this_command_keys)->contents[this_command_key_count++] = key; 159 XVECTOR (this_command_keys)->contents[this_command_key_count++] = key;
160 160
161 XVECTOR is a macro, and therefore GDB does not know about it. 161 XVECTOR is a macro, and therefore, in general, GDB does not know about it.
162 GDB cannot evaluate "p XVECTOR (this_command_keys)". 162 Unless Emacs has been compiled with preprocessor macro info, GDB cannot
163 evaluate "p XVECTOR (this_command_keys)" .
163 164
164 However, you can use the xvector command in GDB to get the same 165 However, you can use the xvector command in GDB to get the same
165 result. Here is how: 166 result. Here is how:
166 167
167 (gdb) p this_command_keys 168 (gdb) p this_command_keys