From: j8takagi Date: Tue, 23 Jun 2026 09:14:21 +0000 (+0900) Subject: MacとLinux両方でコンパイルとテストが通るように X-Git-Tag: v0.6p00~13 X-Git-Url: https://j8takagi.net/gitweb?a=commitdiff_plain;h=390a78f7049115c1d2fcd7c031115793f3118095;p=yacasl2.git MacとLinux両方でコンパイルとテストが通るように --- diff --git a/src/monitor.c b/src/monitor.c index 8fd17b1..b742486 100644 --- a/src/monitor.c +++ b/src/monitor.c @@ -1,5 +1,6 @@ #include #include +#include #include "monitor.h" #include "disassemble.h" diff --git a/test/system/comet2monitor/break_help_2/0.txt b/test/system/comet2monitor/break_help_2/0.txt index 8754ab7..97169d1 100644 --- a/test/system/comet2monitor/break_help_2/0.txt +++ b/test/system/comet2monitor/break_help_2/0.txt @@ -5,5 +5,4 @@ breakpoint manipulate: b[reak] d[el]
b[reak] l[ist] b[reak] r[eset] - Info: arguments '1' are ignored. diff --git a/test/system/comet2monitor/break_help_2/cmd b/test/system/comet2monitor/break_help_2/cmd index aebf4d2..dcbe065 100755 --- a/test/system/comet2monitor/break_help_2/cmd +++ b/test/system/comet2monitor/break_help_2/cmd @@ -1 +1,2 @@ -../../../../comet2monitor &1 | sed -e '/^(comet2 monitor) /d; /^Info/H; /^Info/d; $G' +../../../../comet2monitor tmp.log | sed -e '/^(comet2 monitor) /d' | cat - tmp.log && rm tmp.log + diff --git a/test/system/comet2monitor/dump_3/0.txt b/test/system/comet2monitor/dump_3/0.txt index f0b74a7..f8069e3 100644 --- a/test/system/comet2monitor/dump_3/0.txt +++ b/test/system/comet2monitor/dump_3/0.txt @@ -6,5 +6,4 @@ COMET II machine code monitor. Type ? for help. #0000: 0000: 7001 0000 7002 0000 3622 1010 0015 2621 2210 0017 4110 0016 6500 0010 6400 0007 #0000: 0010: 1120 0018 7120 7110 8100 0001 000A 0001 0000 0000 0000 0000 0000 0000 0000 0000 #0000: 0020: 0000 - Info: arguments '#40' are ignored. diff --git a/test/system/comet2monitor/dump_3/cmd b/test/system/comet2monitor/dump_3/cmd index bcad326..67ed2e7 100755 --- a/test/system/comet2monitor/dump_3/cmd +++ b/test/system/comet2monitor/dump_3/cmd @@ -1 +1 @@ -../../../../comet2monitor &1 | sed -e '/^(comet2 monitor) /d; /^Info/H; /^Info/d; $G' +../../../../comet2monitor tmp.log | sed -e '/^(comet2 monitor) /d' | cat - tmp.log && rm tmp.log