-#ifndef DEBBUGER_INCLUDE
-#define DEBBUGER_INCLUDE
+#ifndef MONITOR_INCLUDE
+#define MONITOR_INCLUDE
#include <stdio.h>
#include <string.h>
#include "word.h"
/**
- * @brief ã\83\87ã\83\90ã\83\83ã\82¬ー
+ * @brief ã\83¢ã\83\8bã\82¿ー
*/
enum {
- DBARGSIZE = 3, /**<デバッガー引数の最大数 */
+ MONARGSIZE = 3, /**<モニター引数の最大数 */
};
/**
- * @brief ã\83\87ã\83\90ã\83\83ã\82¬ー引数を表すデータ型
+ * @brief ã\83¢ã\83\8bã\82¿ー引数を表すデータ型
*/
typedef struct {
int argc; /**<オペランド数 */
- char *argv[DBARGSIZE]; /**<オペランド配列 */
-} DBARGS;
+ char *argv[MONARGSIZE]; /**<オペランド配列 */
+} MONARGS;
/**
- * @brief ã\83\87ã\83\90ã\83\83ã\82¬ー命令行を表すデータ型
+ * @brief ã\83¢ã\83\8bã\82¿ー命令行を表すデータ型
*/
typedef struct {
char *cmd; /**<コマンド */
- DBARGS *args; /**<引数 */
-} DBCMDLINE;
+ MONARGS *args; /**<引数 */
+} MONCMDLINE;
/**
* @brief ブレークポイント表を表すデータ型
};
enum {
- DBINSIZE = 40 /**<デバッガーの、入力領域 */
+ MONINSIZE = 40 /**<モニターの、入力領域 */
};
/**
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 文字列
*/
-DBARGS *dbargstok(const char *str);
+MONARGS *monargstok(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 行
*/
-DBCMDLINE *dblinetok(const char *line);
+MONCMDLINE *monlinetok(const char *line);
/**
* @brief ブレークポイント表にアドレスがある場合はtrue、ない場合はfalseを返す
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 なし
- *
- * @param なし
- */
-void resetbps();
-
-/**
- * @brief ブレークポイント表を開放する
- *
- * @return なし
- *
- * @param なし
*/
void freebps();
-#endif /* end of DEBBUGER_INCLUDE */
+#endif /* end of MONITOR_INCLUDE */