projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
オプション修正。dumpmemoryで開始、終了のアドレスを指定できるように
[YACASL2.git]
/
include
/
monitor.h
diff --git
a/include/monitor.h
b/include/monitor.h
index
b9ca454
..
3530061
100644
(file)
--- a/
include/monitor.h
+++ b/
include/monitor.h
@@
-52,6
+52,12
@@
enum {
MONINSIZE = 40 /**<モニターの、入力領域 */
};
MONINSIZE = 40 /**<モニターの、入力領域 */
};
+typedef enum {
+ MONREPEAT = 0,
+ MONNEXT = 1,
+ MONQUIT = 2,
+} MONCMDTYPE;
+
/**
* @brief アドレスのハッシュ値を返す
*
/**
* @brief アドレスのハッシュ値を返す
*
@@
-79,6
+85,16
@@
MONARGS *monargstok(const char *str);
*/
MONCMDLINE *monlinetok(const char *line);
*/
MONCMDLINE *monlinetok(const char *line);
+/**
+ * @brief モニターの命令を実行する
+ *
+ * @return モニター命令の種類
+ *
+ * @param *cmd モニター命令
+ * @param *args モニター命令の引数
+ */
+MONCMDTYPE monitorcmd(char *cmd, MONARGS *args);
+
/**
* @brief ブレークポイント表にアドレスがある場合はtrue、ない場合はfalseを返す
*
/**
* @brief ブレークポイント表にアドレスがある場合はtrue、ない場合はfalseを返す
*