summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcmd.h
blob: 4700e1804cb47a883ce34e76c9e3c0ad097a058b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*********************************************************************

    debugcmd.h

    Debugger command interface engine.

    Copyright Nicola Salmoria and the MAME Team.
    Visit http://mamedev.org for licensing and usage restrictions.

*********************************************************************/

#ifndef __DEBUGCMD_H__
#define __DEBUGCMD_H__


/***************************************************************************
    FUNCTION PROTOTYPES
***************************************************************************/

/* ----- initialization ----- */

/* initializes the command system */
void debug_command_init(running_machine *machine);



/* ----- parameter validation ----- */

/* validates a number parameter */
int	debug_command_parameter_number(running_machine *machine, const char *param, UINT64 *result);

/* validates a parameter as a cpu */
int debug_command_parameter_cpu(running_machine *machine, const char *param, const device_config **result);

/* validates a parameter as a cpu and retrieves the given address space */
int debug_command_parameter_cpu_space(running_machine *machine, const char *param, int spacenum, const address_space **result);

#endif