Show
Ignore:
Timestamp:
11/26/05 08:33:26 (3 years ago)
Author:
miyoshi
Message:

Sync up with Emacs CVS HEAD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • vendor/emacs-CVS_HEAD/etc/DEBUG

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