From: j8takagi Date: Mon, 2 Jul 2018 10:36:09 +0000 (+0900) Subject: -bオプションを-mオプションへ変更 X-Git-Tag: v0.5p1~16 X-Git-Url: https://j8takagi.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48d861758d64e7c662067fa89a9df41328f7af04;p=YACASL2.git -bオプションを-mオプションへ変更 --- diff --git a/src/casl2.c b/src/casl2.c index 216496e..b54639e 100644 --- a/src/casl2.c +++ b/src/casl2.c @@ -165,7 +165,7 @@ int main(int argc, char *argv[]) case 'd': execmode.dump = true; break; - case 'b': + case 'm': execmode.step = true; break; case 'M': diff --git a/src/comet2.c b/src/comet2.c index 2422c00..a8135c3 100644 --- a/src/comet2.c +++ b/src/comet2.c @@ -45,7 +45,7 @@ int main(int argc, char *argv[]) case 'd': execmode.dump = true; break; - case 'b': + case 'm': execmode.step = true; break; case 'M': diff --git a/src/monitor.c b/src/monitor.c index 4fcd425..e0c7dc4 100644 --- a/src/monitor.c +++ b/src/monitor.c @@ -5,25 +5,6 @@ */ static BPSLIST *bps[BPSTABSIZE]; -/** - * @brief ブレークポイントのエラー - */ -static CERR cerr_bps[] = { - { 101, "break point already defined" }, - { 102, "break point table is full" }, - { 103, "break point not found" }, - { 104, "break point address not set" }, - { 105, "illegal break point address" }, -}; - -/** - * @brief ブレークポイントのエラーをエラーリストに追加する - * - * @return なし - */ -void addcerrlist_bps(); - - unsigned adrhash(WORD adr) { HKEY *key[1]; @@ -36,11 +17,6 @@ unsigned adrhash(WORD adr) return h; } -void addcerrlist_bps() -{ - addcerrlist(ARRAYSIZE(cerr_bps), cerr_bps); -} - bool getbps(WORD adr) { BPSLIST *p;