view target-utils/loadagent/cmdtab.c @ 26:1a3bbab2ea26

loadagent: jump command implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 04 May 2013 05:38:58 +0000
parents c0e063494194
children 2c6b2a74ac7c
line wrap: on
line source

#include "cmdtab.h"

extern void cmd_jump();
extern void cmd_r8();
extern void cmd_r16();
extern void cmd_r32();
extern void cmd_w8();
extern void cmd_w16();
extern void cmd_w32();

extern void cmd_memdump_human();
extern void cmd_memdump_machine();

const struct cmdtab cmdtab[] = {
	{"DUMP", cmd_memdump_machine},
	{"dump", cmd_memdump_human},
	{"jump", cmd_jump},
	{"r8", cmd_r8},
	{"r16", cmd_r16},
	{"r32", cmd_r32},
	{"w8", cmd_w8},
	{"w16", cmd_w16},
	{"w32", cmd_w32},
	{0, 0}
};