Author: julianalbo
Date: Wed Aug 20 14:30:19 2008
New Revision: 30402
Modified:
trunk/include/parrot/debugger.h
trunk/src/debug.c
trunk/src/runops_cores.c
Log:
fix codingstd in src/debug.c
Modified: trunk/include/parrot/debugger.h
==============================================================================
--- trunk/include/parrot/debugger.h (original)
+++ trunk/include/parrot/debugger.h Wed Aug 20 14:30:19 2008
@@ -26,7 +26,8 @@
PDB_BREAK = 1 << 4, /* Set only from debug_break */
PDB_EXIT = 1 << 5,
PDB_ENTER = 1 << 6,
- PDB_GCDEBUG = 1 << 7
+ PDB_GCDEBUG = 1 << 7,
+ PDB_TRACING = 1 << 8
};
enum {
Modified: trunk/src/debug.c
==============================================================================
--- trunk/src/debug.c (original)
+++ trunk/src/debug.c Wed Aug 20 14:30:19 2008
@@ -678,7 +678,7 @@
return;
}
#endif
- strcpy(pdb->cur_command, buf);
+ strcpy(pdb->cur_command, buf);
}
else {
Modified: trunk/src/runops_cores.c
==============================================================================
--- trunk/src/runops_cores.c (original)
+++ trunk/src/runops_cores.c Wed Aug 20 14:30:19 2008
@@ -340,7 +340,7 @@
if (interp->pdb->state & PDB_GCDEBUG)
Parrot_do_dod_run(interp, 0);
- if (interp->pdb->tracing) {
+ if (interp->pdb->state & PDB_TRACING) {
trace_op(interp,
interp->code->base.data,
interp->code->base.data +