1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-06-11 20:29:26 +00:00
Commit Graph

22 Commits

Author SHA1 Message Date
Peter Evans
a913668c02 Missing some reorg changes; move reflect into event, debug 2018-04-07 00:26:31 -05:00
Peter Evans
64306fa5a6 Add hidump, hires_dump commands 2018-03-25 19:39:00 -05:00
Peter Evans
ed32f73e98 Use another pointer to retain the original address to free
This also resolves an issue where we weren't attempting to free the
duplicated string when returning early.
2018-03-13 11:00:44 -05:00
Peter Evans
f33f9cd493 Remove unnecessary check if tok == NULL
This also corrects a formatting error (no space between the rparen of
the if and the lbrace of the code block).
2018-03-13 00:33:32 -05:00
Peter Evans
550eab742e Move hdump into correctly sorted slot 2018-03-09 16:51:12 -06:00
Peter Evans
1ff5d17f19 Add hexdump command 2018-03-09 16:44:53 -06:00
Peter Evans
9cbfcac783 Add missing docblock comments 2018-03-07 16:28:11 -06:00
Peter Evans
c5d1542937 Show correct PC counter in scan 2018-03-01 21:37:10 -06:00
Peter Evans
b239cac239 Add dblock command to disassemble blocks of code 2018-03-01 19:31:56 -06:00
Peter Evans
edd175c1f9 Add disasm command (toggle disassembly) 2018-02-26 20:52:13 -06:00
Peter Evans
fec8ef0743 Allow $XX hex notation 2018-02-26 14:21:20 -06:00
Peter Evans
5bb76164dc Add missing docblocks for vm_debug.c 2018-02-26 14:10:16 -06:00
Peter Evans
7ad0ad8024 Unbreak current PC in resume; use addr2 in writestate
(Addr1 never worked, so ws was essentially non-functional in practice,
but it passes its tests when you assume execute() does the right thing!)
2018-02-25 16:12:15 -06:00
Peter Evans
e50fda62be Add step command 2018-02-25 15:41:37 -06:00
Peter Evans
01f230dc85 Add unbreak command, unbreak_all() function for testing 2018-02-25 14:38:24 -06:00
Peter Evans
588362abee Add prompt; quit command; breakpoints 2018-02-25 14:25:02 -06:00
Peter Evans
d4891a3fbf No, really, add the writeaddr command 2018-02-24 19:38:55 -06:00
Peter Evans
09f7152e07 Add writeaddr command 2018-02-24 19:38:04 -06:00
Peter Evans
06bf63ecb2 Add jump debug command 2018-02-24 19:36:02 -06:00
Peter Evans
1be1abc0af Add printaddr, printstate 2018-02-24 18:57:00 -06:00
Peter Evans
ec253905ad Add resume command, finder function, arg parser, execute 2018-02-24 16:30:46 -06:00
Peter Evans
a614c1e5df Add new file, vm_debug.c, and help command for it 2018-02-23 21:58:30 -06:00