From 390a78f7049115c1d2fcd7c031115793f3118095 Mon Sep 17 00:00:00 2001 From: j8takagi Date: Tue, 23 Jun 2026 18:14:21 +0900 Subject: [PATCH] =?utf8?q?Mac=E3=81=A8Linux=E4=B8=A1=E6=96=B9=E3=81=A7?= =?utf8?q?=E3=82=B3=E3=83=B3=E3=83=91=E3=82=A4=E3=83=AB=E3=81=A8=E3=83=86?= =?utf8?q?=E3=82=B9=E3=83=88=E3=81=8C=E9=80=9A=E3=82=8B=E3=82=88=E3=81=86?= =?utf8?q?=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/monitor.c | 1 + test/system/comet2monitor/break_help_2/0.txt | 1 - test/system/comet2monitor/break_help_2/cmd | 3 ++- test/system/comet2monitor/dump_3/0.txt | 1 - test/system/comet2monitor/dump_3/cmd | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.47.3