158 |
|
|
159 |
XVECTOR (this_command_keys)->contents[this_command_key_count++] = key; |
XVECTOR (this_command_keys)->contents[this_command_key_count++] = key; |
160 |
|
|
161 |
XVECTOR is a macro, and therefore, in general, GDB does not know about it. |
XVECTOR is a macro, so GDB only knows about it if Emacs has been compiled with |
162 |
Unless Emacs has been compiled with preprocessor macro info, GDB cannot |
preprocessor macro information. GCC provides this if you specify the options |
163 |
evaluate "p XVECTOR (this_command_keys)" . |
`-gdwarf-2' and `-g3'. In this case, GDB can evaluate expressions like |
164 |
|
"p XVECTOR (this_command_keys)". |
165 |
|
|
166 |
However, you can use the xvector command in GDB to get the same |
When this information isn't available, you can use the xvector command in GDB |
167 |
result. Here is how: |
to get the same result. Here is how: |
168 |
|
|
169 |
(gdb) p this_command_keys |
(gdb) p this_command_keys |
170 |
$1 = 1078005760 |
$1 = 1078005760 |