projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
デバッガー機能の実装
[YACASL2.git]
/
src
/
exec.c
diff --git
a/src/exec.c
b/src/exec.c
index
978fb8a
..
2a71610
100644
(file)
--- a/
src/exec.c
+++ b/
src/exec.c
@@
-4,6
+4,7
@@
#include "exec.h"
#include "cerr.h"
#include "exec.h"
#include "cerr.h"
+#include "debugger.h"
/**
* @brief プログラムレジスタ(PR)を表すWORD値を文字列に変換
/**
* @brief プログラムレジスタ(PR)を表すWORD値を文字列に変換
@@
-811,7
+812,7
@@
void exec()
fprintf(stdout, "\n");
}
/* デバッガーモードの場合、デバッガーを起動 */
fprintf(stdout, "\n");
}
/* デバッガーモードの場合、デバッガーを起動 */
- if(execmode.debugger == true) {
+ if(execmode.debugger == true
|| getbps(sys->cpu->pr) == true
) {
debugger();
}
/* プログラムレジスタをチェック */
debugger();
}
/* プログラムレジスタをチェック */