projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
用語「デバッガー」を「モニター」に変更
[YACASL2.git]
/
include
/
monitor.h
diff --git
a/include/debugger.h
b/include/monitor.h
similarity index 61%
rename from
include/debugger.h
rename to
include/monitor.h
index
ccd6ca7
..
b9ca454
100644
(file)
--- a/
include/debugger.h
+++ b/
include/monitor.h
@@
-1,5
+1,5
@@
-#ifndef
DEBBUGE
R_INCLUDE
-#define
DEBBUGE
R_INCLUDE
+#ifndef
MONITO
R_INCLUDE
+#define
MONITO
R_INCLUDE
#include <stdio.h>
#include <string.h>
#include <stdio.h>
#include <string.h>
@@
-11,27
+11,27
@@
#include "word.h"
/**
#include "word.h"
/**
- * @brief ã
\83
\87
ã
\83
\90
ã
\83
\83
ã
\82
¬
ー
+ * @brief ã
\83
¢ã
\83
\8b
ã
\82
¿
ー
*/
enum {
*/
enum {
-
DBARGSIZE = 3, /**<デバッガ
ー引数の最大数 */
+
MONARGSIZE = 3, /**<モニタ
ー引数の最大数 */
};
/**
};
/**
- * @brief ã
\83
\87
ã
\83
\90
ã
\83
\83
ã
\82
¬
ー引数を表すデータ型
+ * @brief ã
\83
¢ã
\83
\8b
ã
\82
¿
ー引数を表すデータ型
*/
typedef struct {
int argc; /**<オペランド数 */
*/
typedef struct {
int argc; /**<オペランド数 */
- char *argv[
DB
ARGSIZE]; /**<オペランド配列 */
-}
DB
ARGS;
+ char *argv[
MON
ARGSIZE]; /**<オペランド配列 */
+}
MON
ARGS;
/**
/**
- * @brief ã
\83
\87
ã
\83
\90
ã
\83
\83
ã
\82
¬
ー命令行を表すデータ型
+ * @brief ã
\83
¢ã
\83
\8b
ã
\82
¿
ー命令行を表すデータ型
*/
typedef struct {
char *cmd; /**<コマンド */
*/
typedef struct {
char *cmd; /**<コマンド */
-
DB
ARGS *args; /**<引数 */
-}
DB
CMDLINE;
+
MON
ARGS *args; /**<引数 */
+}
MON
CMDLINE;
/**
* @brief ブレークポイント表を表すデータ型
/**
* @brief ブレークポイント表を表すデータ型
@@
-49,7
+49,7
@@
enum {
};
enum {
};
enum {
-
DBINSIZE = 40 /**<デバッガ
ーの、入力領域 */
+
MONINSIZE = 40 /**<モニタ
ーの、入力領域 */
};
/**
};
/**
@@
-62,22
+62,22
@@
enum {
unsigned adrhash(WORD adr);
/**
unsigned adrhash(WORD adr);
/**
- * @brief æ
\96
\87
å
\97
å
\88
\97
ã
\81
\8b
ã
\82
\89
ã
\80
\81
ã
\83
\87
ã
\83
\90
ã
\83
\83
ã
\82
¬
ーの引数を取得する
+ * @brief æ
\96
\87
å
\97
å
\88
\97
ã
\81
\8b
ã
\82
\89
ã
\80
\81
ã
\83
¢ã
\83
\8b
ã
\82
¿
ーの引数を取得する
*
*
- * @return ã
\83
\87
ã
\83
\90
ã
\83
\83
ã
\82
¬
ーの引数
+ * @return ã
\83
¢ã
\83
\8b
ã
\82
¿
ーの引数
*
* @param *str 文字列
*/
*
* @param *str 文字列
*/
-
DBARGS *db
argstok(const char *str);
+
MONARGS *mon
argstok(const char *str);
/**
/**
- * @brief è¡
\8c
ã
\81
\8b
ã
\82
\89
ã
\80
\81
ã
\83
\87
ã
\83
\90
ã
\83
\83
ã
\82
¬
ーの命令と引数を取得する
+ * @brief è¡
\8c
ã
\81
\8b
ã
\82
\89
ã
\80
\81
ã
\83
¢ã
\83
\8b
ã
\82
¿
ーの命令と引数を取得する
*
*
- * @return ã
\83
\87
ã
\83
\90
ã
\83
\83
ã
\82
¬
ーの命令と引数
+ * @return ã
\83
¢ã
\83
\8b
ã
\82
¿
ーの命令と引数
*
* @param *line 行
*/
*
* @param *line 行
*/
-
DBCMDLINE *db
linetok(const char *line);
+
MONCMDLINE *mon
linetok(const char *line);
/**
* @brief ブレークポイント表にアドレスがある場合はtrue、ない場合はfalseを返す
/**
* @brief ブレークポイント表にアドレスがある場合はtrue、ない場合はfalseを返す
@@
-108,21
+108,10
@@
bool addbps(WORD adr);
bool delbps(WORD adr);
/**
bool delbps(WORD adr);
/**
- * @brief ã
\83
\96
ã
\83
‹
\83
¼ã
\82
¯ã
\83
\9d
ã
\82
¤ã
\83
³ã
\83
\88
表ã
\81
\8b
ã
\82
\89
ã
\81
\99
ã
\81
¹ã
\81
¦ã
\81
®ã
\82
¢ã
\83
\89
ã
\83
‹
\82
¹ã
\82
\92
å
\89
\8a
é
\99
¤
する
+ * @brief ã
\83
\96
ã
\83
‹
\83
¼ã
\82
¯ã
\83
\9d
ã
\82
¤ã
\83
³ã
\83
\88
表ã
\82
\92
解æ
\94
¾
する
*
* @return なし
*
* @return なし
- *
- * @param なし
- */
-void resetbps();
-
-/**
- * @brief ブレークポイント表を開放する
- *
- * @return なし
- *
- * @param なし
*/
void freebps();
*/
void freebps();
-#endif /* end of
DEBBUGE
R_INCLUDE */
+#endif /* end of
MONITO
R_INCLUDE */