Author: julianalbo
Date: Mon Aug 18 12:34:51 2008
New Revision: 30309

Modified:
   trunk/src/debug.c

Log:
added '(s) stack' command to debugger, it was listed in help but not implemented

Modified: trunk/src/debug.c
==============================================================================
--- trunk/src/debug.c   (original)
+++ trunk/src/debug.c   Mon Aug 18 12:34:51 2008
@@ -836,6 +836,10 @@
             pdb->state |= PDB_EXIT;
             pdb->state &= ~PDB_STOPPED;
             break;
+        case debug_cmd_s:
+        case debug_cmd_stack:
+            PDB_backtrace(interp);
+            break;
         case (enum DebugCmd)0:
             if (pdb->last_command)
                 PDB_run_command(interp, pdb->last_command);

Reply via email to