diff options
| author | Nick Roberts | 2005-11-03 02:03:24 +0000 |
|---|---|---|
| committer | Nick Roberts | 2005-11-03 02:03:24 +0000 |
| commit | 0a24fa80376ce7ef6e765806922cf95642a4ea8f (patch) | |
| tree | 73fa29228ab83ce7ffd632feedbef697d00b988c | |
| parent | 99ac518222a3ec7c3cd5684bc6a4165dade3998d (diff) | |
| download | emacs-0a24fa80376ce7ef6e765806922cf95642a4ea8f.tar.gz emacs-0a24fa80376ce7ef6e765806922cf95642a4ea8f.zip | |
(Note): GDB can sometimes expand macros.
| -rw-r--r-- | etc/DEBUG | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -158,8 +158,9 @@ we want the address of the l-value expression near the bottom of | |||
| 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: |