From e7ebcd590b4290eebf10b6d3765efd651b37da6f Mon Sep 17 00:00:00 2001 From: j8takagi Date: Sun, 17 Feb 2019 22:38:34 +0900 Subject: [PATCH] =?utf8?q?comet2monitor=E3=81=AE=E3=83=86=E3=82=B9?= =?utf8?q?=E3=83=88=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- monitor/break_help.monitor | 1 + monitor/break_help_2.monitor | 1 + monitor/continue_hello.monitor | 2 +- monitor/continue_sum10.monitor | 2 +- monitor/dump_0.monitor | 2 + monitor/dump_1.monitor | 2 + monitor/dump_2.monitor | 2 + monitor/dump_3.monitor | 2 + monitor/dump_plus.monitor | 2 + monitor/revert_hello.monitor | 2 +- test/system/comet2monitor/break_help/0.txt | 8 ++++ test/system/comet2monitor/break_help/Makefile | 2 + test/system/comet2monitor/break_help/cmd | 1 + test/system/comet2monitor/break_help_2/0.txt | 8 ++++ .../comet2monitor/break_help_2/Makefile | 2 + test/system/comet2monitor/break_help_2/cmd | 1 + test/system/comet2monitor/dump_0/0.txt | 10 +++++ test/system/comet2monitor/dump_0/Makefile | 2 + test/system/comet2monitor/dump_0/cmd | 1 + test/system/comet2monitor/dump_1/0.txt | 10 +++++ test/system/comet2monitor/dump_1/Makefile | 2 + test/system/comet2monitor/dump_1/cmd | 1 + test/system/comet2monitor/dump_2/0.txt | 8 ++++ test/system/comet2monitor/dump_2/Makefile | 2 + test/system/comet2monitor/dump_2/cmd | 1 + test/system/comet2monitor/dump_3/0.txt | 8 ++++ test/system/comet2monitor/dump_3/Makefile | 2 + test/system/comet2monitor/dump_3/cmd | 1 + test/system/comet2monitor/dump_plus/0.txt | 8 ++++ test/system/comet2monitor/dump_plus/Makefile | 2 + test/system/comet2monitor/dump_plus/cmd | 1 + test/system/comet2monitor/load/0.txt | 6 +++ test/system/comet2monitor/revert_hello/0.txt | 37 +++++++++++++++++++ .../comet2monitor/revert_hello/Makefile | 2 + test/system/comet2monitor/revert_hello/cmd | 1 + 35 files changed, 142 insertions(+), 3 deletions(-) create mode 100644 monitor/break_help.monitor create mode 100644 monitor/break_help_2.monitor create mode 100644 monitor/dump_0.monitor create mode 100644 monitor/dump_1.monitor create mode 100644 monitor/dump_2.monitor create mode 100644 monitor/dump_3.monitor create mode 100644 monitor/dump_plus.monitor create mode 100644 test/system/comet2monitor/break_help/0.txt create mode 100644 test/system/comet2monitor/break_help/Makefile create mode 100755 test/system/comet2monitor/break_help/cmd create mode 100644 test/system/comet2monitor/break_help_2/0.txt create mode 100644 test/system/comet2monitor/break_help_2/Makefile create mode 100755 test/system/comet2monitor/break_help_2/cmd create mode 100644 test/system/comet2monitor/dump_0/0.txt create mode 100644 test/system/comet2monitor/dump_0/Makefile create mode 100755 test/system/comet2monitor/dump_0/cmd create mode 100644 test/system/comet2monitor/dump_1/0.txt create mode 100644 test/system/comet2monitor/dump_1/Makefile create mode 100755 test/system/comet2monitor/dump_1/cmd create mode 100644 test/system/comet2monitor/dump_2/0.txt create mode 100644 test/system/comet2monitor/dump_2/Makefile create mode 100755 test/system/comet2monitor/dump_2/cmd create mode 100644 test/system/comet2monitor/dump_3/0.txt create mode 100644 test/system/comet2monitor/dump_3/Makefile create mode 100755 test/system/comet2monitor/dump_3/cmd create mode 100644 test/system/comet2monitor/dump_plus/0.txt create mode 100644 test/system/comet2monitor/dump_plus/Makefile create mode 100755 test/system/comet2monitor/dump_plus/cmd create mode 100644 test/system/comet2monitor/revert_hello/0.txt create mode 100644 test/system/comet2monitor/revert_hello/Makefile create mode 100755 test/system/comet2monitor/revert_hello/cmd diff --git a/monitor/break_help.monitor b/monitor/break_help.monitor new file mode 100644 index 0000000..dac9bf4 --- /dev/null +++ b/monitor/break_help.monitor @@ -0,0 +1 @@ +b ? diff --git a/monitor/break_help_2.monitor b/monitor/break_help_2.monitor new file mode 100644 index 0000000..545bf29 --- /dev/null +++ b/monitor/break_help_2.monitor @@ -0,0 +1 @@ +b ? 1 diff --git a/monitor/continue_hello.monitor b/monitor/continue_hello.monitor index b11ad2b..72e1aa1 100644 --- a/monitor/continue_hello.monitor +++ b/monitor/continue_hello.monitor @@ -1,4 +1,4 @@ l as/sample/hello.o d a 0 #22 -T a +t a c diff --git a/monitor/continue_sum10.monitor b/monitor/continue_sum10.monitor index c387b82..7d5ea6e 100644 --- a/monitor/continue_sum10.monitor +++ b/monitor/continue_sum10.monitor @@ -1,4 +1,4 @@ l as/sample/sum_10.o d a 0 #18 -T a +t a c diff --git a/monitor/dump_0.monitor b/monitor/dump_0.monitor new file mode 100644 index 0000000..656211a --- /dev/null +++ b/monitor/dump_0.monitor @@ -0,0 +1,2 @@ +l as/sample/sum_10.o +d diff --git a/monitor/dump_1.monitor b/monitor/dump_1.monitor new file mode 100644 index 0000000..8fb1c85 --- /dev/null +++ b/monitor/dump_1.monitor @@ -0,0 +1,2 @@ +l as/sample/sum_10.o +d 0 diff --git a/monitor/dump_2.monitor b/monitor/dump_2.monitor new file mode 100644 index 0000000..2b0239e --- /dev/null +++ b/monitor/dump_2.monitor @@ -0,0 +1,2 @@ +l as/sample/sum_10.o +d 0 #20 diff --git a/monitor/dump_3.monitor b/monitor/dump_3.monitor new file mode 100644 index 0000000..74fa8a4 --- /dev/null +++ b/monitor/dump_3.monitor @@ -0,0 +1,2 @@ +l as/sample/sum_10.o +d 0 #20 #40 diff --git a/monitor/dump_plus.monitor b/monitor/dump_plus.monitor new file mode 100644 index 0000000..afbca65 --- /dev/null +++ b/monitor/dump_plus.monitor @@ -0,0 +1,2 @@ +l as/sample/sum_10.o +d 0 +#20 diff --git a/monitor/revert_hello.monitor b/monitor/revert_hello.monitor index 22f5dd7..f3060e1 100644 --- a/monitor/revert_hello.monitor +++ b/monitor/revert_hello.monitor @@ -1,3 +1,3 @@ l as/sample/hello.o -d a 0 #18 +d a 0 #22 r 0 #22 diff --git a/test/system/comet2monitor/break_help/0.txt b/test/system/comet2monitor/break_help/0.txt new file mode 100644 index 0000000..c600c86 --- /dev/null +++ b/test/system/comet2monitor/break_help/0.txt @@ -0,0 +1,8 @@ +COMET II machine code monitor. Type ? for help. +(comet2 monitor) b ? +breakpoint manipulate: + b[reak] a[dd]
+ b[reak] d[el]
+ b[reak] l[ist] + b[reak] r[eset] +(comet2 monitor) \ No newline at end of file diff --git a/test/system/comet2monitor/break_help/Makefile b/test/system/comet2monitor/break_help/Makefile new file mode 100644 index 0000000..b6dac59 --- /dev/null +++ b/test/system/comet2monitor/break_help/Makefile @@ -0,0 +1,2 @@ +include ../Define.mk +include ../Test.mk diff --git a/test/system/comet2monitor/break_help/cmd b/test/system/comet2monitor/break_help/cmd new file mode 100755 index 0000000..03875a9 --- /dev/null +++ b/test/system/comet2monitor/break_help/cmd @@ -0,0 +1 @@ +cd ../../../.. && ./comet2monitor + b[reak] d[el]
+ b[reak] l[ist] + b[reak] r[eset] +(comet2 monitor) 1: ignored. diff --git a/test/system/comet2monitor/break_help_2/Makefile b/test/system/comet2monitor/break_help_2/Makefile new file mode 100644 index 0000000..b6dac59 --- /dev/null +++ b/test/system/comet2monitor/break_help_2/Makefile @@ -0,0 +1,2 @@ +include ../Define.mk +include ../Test.mk diff --git a/test/system/comet2monitor/break_help_2/cmd b/test/system/comet2monitor/break_help_2/cmd new file mode 100755 index 0000000..a4ee477 --- /dev/null +++ b/test/system/comet2monitor/break_help_2/cmd @@ -0,0 +1 @@ +cd ../../../.. && ./comet2monitor