Mercurial > emacs
changeset 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 | d4be642850c2 |
children | 173cd676da78 |
files | etc/DEBUG |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/DEBUG Thu Nov 03 02:02:34 2005 +0000 +++ b/etc/DEBUG Thu Nov 03 02:03:24 2005 +0000 @@ -158,8 +158,9 @@ XVECTOR (this_command_keys)->contents[this_command_key_count++] = key; -XVECTOR is a macro, and therefore GDB does not know about it. -GDB cannot evaluate "p XVECTOR (this_command_keys)". +XVECTOR is a macro, and therefore, in general, GDB does not know about it. +Unless Emacs has been compiled with preprocessor macro info, GDB cannot +evaluate "p XVECTOR (this_command_keys)" . However, you can use the xvector command in GDB to get the same result. Here is how: