X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ao-tools%2Fao-dbg%2Fcommands;fp=ao-tools%2Fao-dbg%2Fcommands;h=aba65cd0f5b3de8ecd56c5ada56e7a68db5a843e;hb=7c790fe859dff062692964338091ffbbcdf63257;hp=0000000000000000000000000000000000000000;hpb=a5782398d968e7cb11f7203afada7c216f233b3b;p=fw%2Faltos diff --git a/ao-tools/ao-dbg/commands b/ao-tools/ao-dbg/commands new file mode 100644 index 00000000..aba65cd0 --- /dev/null +++ b/ao-tools/ao-dbg/commands @@ -0,0 +1,60 @@ +Listens on port 9756 for a command stream. + +Dump commands: + di - dump imem + ds - dump sprs + dx - dump xaddr + + Returns a string of hex pairs, each preceded by a space, + with 8 pairs per line + +Memory access commands: + set mem + dump + + is one of: + + xram - external ram or external stack + rom - code space + iram - internal ram or stack + sfr - special function register + + + dump + set bit + + bit addressable space + +Set PC: + + pc + + Sets PC to specified address + + pc + + Returns current PC + +Breakpoints + + break + clear + +Load a file + + file "" + +Execution control: + + run - run starting at + run - set temporary bp at + run - continue + next - step over calls(?) + step - step one instruction + + reset - reset the simulator + res - synonym? + +Error messages: + + start with "Error:"