Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add breakpoints in display and colorize source lines and OPS in basic…
… format
- Loading branch information
rocky
committed
Sep 18, 2012
1 parent
ffe2442
commit 68e986b
Showing
4 changed files
with
124 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Basic test of disassemble. | ||
# Use with example/five.pm | ||
disassemble five | ||
disassemble -no-highlight five | ||
quit! | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
-- main::(five.pm:4) | ||
my $x = "Something simple to demo, 'disassemble'"; | ||
Subroutine five | ||
main::five: | ||
UNOP (0x1234567) | ||
op_next 0 | ||
op_sibling 0 | ||
op_ppaddr PL_ppaddr[OP_LEAVESUB] | ||
op_type 1955 | ||
op_flags 4 | ||
op_private 1027 | ||
op_first 0x7654321 | ||
LISTOP (0x1234567) | ||
op_next 0x7654321 | ||
op_sibling 0 | ||
op_ppaddr PL_ppaddr[OP_LINESEQ] | ||
op_type 1955 | ||
op_flags 12 | ||
op_private 1027 | ||
op_first 0x7654321 | ||
op_last 0x7654321 | ||
COP (0x1234567) | ||
op_next 0x7654321 | ||
op_sibling 0x7654321 | ||
op_ppaddr PL_ppaddr[OP_DBSTATE] | ||
op_type 1955 | ||
op_flags 1 | ||
op_private 1027 | ||
SVOP (0x1234567) | ||
op_next 0x7654321 | ||
op_sibling 0 | ||
op_ppaddr PL_ppaddr[OP_CONST] | ||
op_type 1955 | ||
op_flags 2 | ||
op_private 1027 | ||
op_sv 0x7654321 | ||
main::five: | ||
UNOP (0x1234567) | ||
op_next 0 | ||
op_sibling 0 | ||
op_ppaddr PL_ppaddr[OP_LEAVESUB] | ||
op_type 1955 | ||
op_flags 4 | ||
op_private 1027 | ||
op_first 0x7654321 | ||
LISTOP (0x1234567) | ||
op_next 0x7654321 | ||
op_sibling 0 | ||
op_ppaddr PL_ppaddr[OP_LINESEQ] | ||
op_type 1955 | ||
op_flags 12 | ||
op_private 1027 | ||
op_first 0x7654321 | ||
op_last 0x7654321 | ||
COP (0x1234567) | ||
op_next 0x7654321 | ||
op_sibling 0x7654321 | ||
op_ppaddr PL_ppaddr[OP_DBSTATE] | ||
op_type 1955 | ||
op_flags 1 | ||
op_private 1027 | ||
SVOP (0x1234567) | ||
op_next 0x7654321 | ||
op_sibling 0 | ||
op_ppaddr PL_ppaddr[OP_CONST] | ||
op_type 1955 | ||
op_flags 2 | ||
op_private 1027 | ||
op_sv 0x7654321 |