~ubuntu-branches/ubuntu/dapper/malaga/dapper

« back to all changes in this revision

Viewing changes to breakpoints.h

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Bushnell, BSG
  • Date: 2005-01-10 11:52:04 UTC
  • mfrom: (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050110115204-hpgncw5pb0m1t8i6
Tags: 6.13-5
debian/control (malaga-doc Recommends): Suggest gv as a
postscript-viewer instead of ghostview.  (Closes: #289701).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright (C) 1995 Bjoern Beutel. */
 
2
 
 
3
/* Description. =============================================================*/
 
4
 
 
5
/* In this file, the administration of breakpoints is managed. */
 
6
 
 
7
/* Types. ===================================================================*/
 
8
 
 
9
typedef struct /* Associates a rule system with a name. */
 
10
 
11
  rule_sys_t *rule_sys;
 
12
  string_t name; /* Name of the above rule system. */
 
13
} rule_sys_name_t;
 
14
 
 
15
/* Functions. ===============================================================*/
 
16
 
 
17
extern void get_breakpoint( string_t argument, 
 
18
                            rule_sys_t **rule_sys_p, 
 
19
                            int_t *instr_p );
 
20
/* Parse breakpoint in ARGUMENT and set *RULE_SYS_P and *INSTR_P. */
 
21
 
 
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; 
 
24
 * return 0 else. */
 
25
 
 
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. */
 
30
 
 
31
extern void terminate_breakpoints( void ); 
 
32
/* Terminate this module. */
 
33
 
 
34
/* Commands. ================================================================*/
 
35
 
 
36
extern command_t delete_command;
 
37
/* Delete a breakpoint. */
 
38
 
 
39
extern command_t break_command;
 
40
/* Define a breakpoint. */
 
41
 
 
42
extern command_t list_command;
 
43
/* List breakpoints. */
 
44
 
 
45
/* End of file. =============================================================*/