Permalink
Browse files

First round of improvements to Parrot debugger

git-svn-id: https://svn.parrot.org/parrot/trunk@49021 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
1 parent 69f5a3e commit 2976f129f4ad606029913af39c1d675df7db3da1 @Paul-C-Anagnostopoulos Paul-C-Anagnostopoulos committed Sep 15, 2010
Showing with 261 additions and 169 deletions.
  1. +4 −2 include/parrot/debugger.h
  2. +251 −166 src/debug.c
  3. +1 −1 src/parrot_debugger.c
  4. +5 −0 t/tools/parrot_debugger.t
@@ -129,8 +129,9 @@ typedef struct PDB_file {
/* PDB_breakpoint_t
* List of breakpoints.
*
- * pc: Where the breakpoint is
* id: The identification number of this breakpoint
+ * pc: Where the breakpoint is
+ * line: The source file line number
* skip: The number of times to skip this breakpoint
* condition: The condition attached to the breakpoint; may be NULL
* prev, next: The previous & next breakpoints in the list; may be NULL.
@@ -139,8 +140,9 @@ typedef struct PDB_file {
typedef struct PDB_breakpoint *PDB_breakpoint_ptr;
typedef struct PDB_breakpoint {
- opcode_t *pc;
unsigned long id;
+ opcode_t *pc;
+ unsigned long line;
long skip;
PDB_condition_t *condition;
PDB_breakpoint_ptr prev;
Oops, something went wrong. Retry.

0 comments on commit 2976f12

Please sign in to comment.