emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/etc/DEBUG


From: Nick Roberts
Subject: [Emacs-diffs] Changes to emacs/etc/DEBUG
Date: Sat, 05 Nov 2005 05:09:27 -0500

Index: emacs/etc/DEBUG
diff -c emacs/etc/DEBUG:1.35 emacs/etc/DEBUG:1.36
*** emacs/etc/DEBUG:1.35        Thu Nov  3 02:03:24 2005
--- emacs/etc/DEBUG     Sat Nov  5 10:09:27 2005
***************
*** 158,169 ****
  
    XVECTOR (this_command_keys)->contents[this_command_key_count++] = key;
  
! 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:
  
      (gdb) p this_command_keys
      $1 = 1078005760
--- 158,170 ----
  
    XVECTOR (this_command_keys)->contents[this_command_key_count++] = key;
  
! XVECTOR is a macro, so GDB only knows about it if Emacs has been compiled with
! preprocessor macro information.  GCC provides this if you specify the options
! `-gdwarf-2' and `-g3'.  In this case, GDB can evaluate expressions like
! "p XVECTOR (this_command_keys)".
  
! When this information isn't available, you can use the xvector command in GDB
! to get the same result.  Here is how:
  
      (gdb) p this_command_keys
      $1 = 1078005760




reply via email to

[Prev in Thread] Current Thread [Next in Thread]