1
0
mirror of https://github.com/pevans/erc-c.git synced 2026-04-22 07:16:26 +00:00

Add printaddr, printstate

This commit is contained in:
Peter Evans
2018-02-24 18:57:00 -06:00
parent ec253905ad
commit 1be1abc0af
3 changed files with 45 additions and 9 deletions
+7 -5
View File
@@ -15,16 +15,16 @@ typedef struct {
char *name;
char *abbrev;
/*
* The number of arguments we expect to see
*/
int nargs;
/*
* The function that will do something with the command's input
*/
vm_debug_func handler;
/*
* The number of arguments we expect to see
*/
int nargs;
/*
* What do our arguments look like?
*/
@@ -68,6 +68,8 @@ extern vm_debug_cmd *vm_debug_find_cmd(const char *);
extern void vm_debug_execute(const char *);
extern DEBUG_CMD(help);
extern DEBUG_CMD(printaddr);
extern DEBUG_CMD(printstate);
extern DEBUG_CMD(resume);
#endif