1
/* Copyright (C) 1995 Bjoern Beutel. */
3
/* Description. =============================================================*/
5
/* In this file, the administration of breakpoints is managed. */
7
/* Types. ===================================================================*/
9
typedef struct /* Associates a rule system with a name. */
12
string_t name; /* Name of the above rule system. */
15
/* Functions. ===============================================================*/
17
extern void get_breakpoint( string_t argument,
18
rule_sys_t **rule_sys_p,
20
/* Parse breakpoint in ARGUMENT and set *RULE_SYS_P and *INSTR_P. */
22
extern int_t at_breakpoint( rule_sys_t *rule_sys, int_t instruction );
23
/* Return breakpoint number if INSTRUCTION in RULE_SYS hits a breakpoint;
26
extern void init_breakpoints( int_t rule_sys_count,
27
rule_sys_name_t rule_sys[] );
28
/* Initialise this module. Pass the number of rule systems in RULE_SYS_COUNT
29
* and their names in RULE_SYS. */
31
extern void terminate_breakpoints( void );
32
/* Terminate this module. */
34
/* Commands. ================================================================*/
36
extern command_t delete_command;
37
/* Delete a breakpoint. */
39
extern command_t break_command;
40
/* Define a breakpoint. */
42
extern command_t list_command;
43
/* List breakpoints. */
45
/* End of file. =============================================================*/