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: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/etc/DEBUG
Date: Fri, 04 Apr 2003 01:21:17 -0500

Index: emacs/etc/DEBUG
diff -c emacs/etc/DEBUG:1.25 emacs/etc/DEBUG:1.26
*** emacs/etc/DEBUG:1.25        Mon Jan 27 14:59:07 2003
--- emacs/etc/DEBUG     Tue Feb  4 09:30:40 2003
***************
*** 115,121 ****
      cd src
      gdb emacs
      b xmenu.c:1296
!     r -q 
  
  Then type C-x 5 2 to create a new frame, and it hits the breakpoint:
  
--- 115,121 ----
      cd src
      gdb emacs
      b xmenu.c:1296
!     r -q
  
  Then type C-x 5 2 to create a new frame, and it hits the breakpoint:
  
***************
*** 128,136 ****
      $2 = (struct frame *) 0x3f0800
      (gdb) p *$
      $3 = {
!       size = 536871989, 
!       next = 0x366240, 
!       name = 809661752, 
        [...]
      }
      (gdb) p $3->name
--- 128,136 ----
      $2 = (struct frame *) 0x3f0800
      (gdb) p *$
      $3 = {
!       size = 536871989,
!       next = 0x366240,
!       name = 809661752,
        [...]
      }
      (gdb) p $3->name
***************
*** 177,183 ****
    XVECTOR (recent_keys)->contents[recent_keys_index] = c;
  
  So we define a GDB command `xvector-elts', so the last 10 keystrokes
! are printed by 
  
      xvector-elts recent_keys recent_keys_index 10
  
--- 177,183 ----
    XVECTOR (recent_keys)->contents[recent_keys_index] = c;
  
  So we define a GDB command `xvector-elts', so the last 10 keystrokes
! are printed by
  
      xvector-elts recent_keys recent_keys_index 10
  
***************
*** 189,195 ****
      xvector
      set $foo = $
      while $i < $arg2
!     p $foo->contents[$arg1-($i++)] 
      pr
      end
      document xvector-elts
--- 189,195 ----
      xvector
      set $foo = $
      while $i < $arg2
!     p $foo->contents[$arg1-($i++)]
      pr
      end
      document xvector-elts
***************
*** 217,223 ****
  
  By printing the remaining elements of args, you can see the argument
  values.  Here's how to print the first argument:
!   
     p args[1]
     pr
  
--- 217,223 ----
  
  By printing the remaining elements of args, you can see the argument
  values.  Here's how to print the first argument:
! 
     p args[1]
     pr
  
***************
*** 230,236 ****
  
  and, assuming that "xtype" says that args[0] is a symbol:
  
!    xsymbol 
  
  ** Debugging what happens while preloading and dumping Emacs
  
--- 230,236 ----
  
  and, assuming that "xtype" says that args[0] is a symbol:
  
!    xsymbol
  
  ** Debugging what happens while preloading and dumping Emacs
  
***************
*** 450,456 ****
  helpful to set the `DEBUGSOURCES' and `DEBUG_FILE' environment
  variables, so that one can see what LessTif was doing at this point.
  For instance
!   
    export DEBUGSOURCES="RowColumn.c:MenuShell.c:MenuUtil.c"
    export DEBUG_FILE=/usr/tmp/LESSTIF_TRACE
    emacs &
--- 450,456 ----
  helpful to set the `DEBUGSOURCES' and `DEBUG_FILE' environment
  variables, so that one can see what LessTif was doing at this point.
  For instance
! 
    export DEBUGSOURCES="RowColumn.c:MenuShell.c:MenuUtil.c"
    export DEBUG_FILE=/usr/tmp/LESSTIF_TRACE
    emacs &




reply via email to

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