]> code.delx.au - gnu-emacs/commitdiff
(Note): GDB can sometimes expand macros.
authorNick Roberts <nickrob@snap.net.nz>
Thu, 3 Nov 2005 02:03:24 +0000 (02:03 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Thu, 3 Nov 2005 02:03:24 +0000 (02:03 +0000)
etc/DEBUG

index 27f563a740515ab7e2ee5458ccc8d16a470bf5a5..773737c65c7428b288eb0d92e9e500b7b772dc1c 100644 (file)
--- a/etc/DEBUG
+++ b/etc/DEBUG
@@ -158,8 +158,9 @@ we want the address of the l-value expression near the bottom of
 
   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: