From: j8takagi Date: Sun, 17 Feb 2019 13:38:34 +0000 (+0900) Subject: comet2monitorのテストを追加 X-Git-Tag: v0.5p9~13 X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=commitdiff_plain;h=e7ebcd590b4290eebf10b6d3765efd651b37da6f;hp=fc19bbf28ea2fdd9e42bc0c93ca49651aef8a752 comet2monitorのテストを追加 --- 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