/[emacs]/emacs/etc/DEBUG
ViewVC logotype

Diff of /emacs/etc/DEBUG

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.35 by nickrob, Thu Nov 3 02:03:24 2005 UTC revision 1.36 by nickrob, Sat Nov 5 10:09:27 2005 UTC
# Line 158  we want the address of the l-value expre Line 158  we want the address of the l-value expre
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

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26