aboutsummaryrefslogtreecommitdiff
path: root/gdb/energize.h
blob: 8a39bf649cda84ac6c566d416cdb38f50e62f4a8 (plain)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/* Energize interface defs for GDB.
   Copyright (C) 1992 Free Software Foundation, Inc.

This file is part of GDB.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */

#if !defined (ENERGIZE_H)
#define ENERGIZE_H 1

#ifdef __STDC__
struct cmd_list_element;
struct symbol;
struct type;
struct objfile;
struct breakpoint;
#endif /* __STDC__ */

/* Non-zero means that we're doing the energize interface. */
extern int energize;

/* Get a pty for use with energize */
extern char *energize_getpty PARAMS ((void));

/* Notify energize of new process creation */
extern void energize_new_process PARAMS ((void));

/* Low level wait routine for wait_for_inferior */
extern int energize_wait PARAMS ((int *));

/* Wait routine for processes spawned by the shell command */
extern int energize_shell_wait PARAMS ((int *statusp));

/* Initialize */
extern void energize_initialize PARAMS ((char *, char *));

/* Main loop for energize protocol driver */
extern void energize_main_loop PARAMS ((void));

/* Command hook for energize */
extern void energize_call_command PARAMS ((struct cmd_list_element *,
					   char *, int));

/* Read commands for the command command, and others */
extern char *energize_command_line_input PARAMS ((char *, int));

extern void energize_start_variable_annotation PARAMS ((char *,
							struct symbol *,
							struct type *,
							CORE_ADDR,
							char *));

extern void energize_end_variable_annotation PARAMS ((void));

extern void energize_annotate_function PARAMS ((char *, int, int));

extern void energize_symbol_file PARAMS ((struct objfile *));

/*extern void energize_query PARAMS ((char *, ...));*/
extern void energize_query ();	/* Prototypes for varargs don't work */

extern void energize_acknowledge_query PARAMS ((char *));

extern void energize_fputs PARAMS ((const char *));

extern void energize_condition_breakpoint PARAMS ((struct breakpoint *));

extern void energize_commands_breakpoint PARAMS ((struct breakpoint *));

extern void energize_ignore_breakpoint PARAMS ((struct breakpoint *));

extern void energize_create_breakpoint PARAMS ((struct breakpoint *));

extern void energize_delete_breakpoint PARAMS ((struct breakpoint *));

extern void energize_enable_breakpoint PARAMS ((struct breakpoint *));

extern void energize_disable_breakpoint PARAMS ((struct breakpoint *));

#endif /* !defined (ENERGIZE_H) */