[Python-checkins] CVS: python/dist/src/Lib pdb.py,1.47,1.48

Guido van Rossum gvanrossum@users.sourceforge.net
Sat, 20 Jan 2001 09:57:39 -0800


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv2336

Modified Files:
	pdb.py 
Log Message:
I've been using gdb a lot lately -- I'm missing 'bt' as a command in
pdb (pdb calls it 'where').  Added 'bt' as an alias for 'where'.


Index: pdb.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pdb.py,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -r1.47 -r1.48
*** pdb.py	2001/01/15 00:50:52	1.47
--- pdb.py	2001/01/20 17:57:37	1.48
***************
*** 451,454 ****
--- 451,455 ----
          self.print_stack_trace()
      do_w = do_where
+     do_bt = do_where
  
      def do_up(self, arg):
***************
*** 666,670 ****
  Print a stack trace, with the most recent frame at the bottom.
  An arrow indicates the "current frame", which determines the
! context of most commands."""
  
      def help_down(self):
--- 667,673 ----
  Print a stack trace, with the most recent frame at the bottom.
  An arrow indicates the "current frame", which determines the
! context of most commands.  'bt' is an alias for this command."""
! 
!     help_bt = help_w
  
      def help_down(self):