]>
Commit | Line | Data |
---|---|---|
f823634c SG |
1 | /* Energize interface defs for GDB. |
2 | Copyright (C) 1992 Free Software Foundation, Inc. | |
3 | ||
4 | This file is part of GDB. | |
5 | ||
6 | This program is free software; you can redistribute it and/or modify | |
7 | it under the terms of the GNU General Public License as published by | |
8 | the Free Software Foundation; either version 2 of the License, or | |
9 | (at your option) any later version. | |
10 | ||
11 | This program is distributed in the hope that it will be useful, | |
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | GNU General Public License for more details. | |
15 | ||
16 | You should have received a copy of the GNU General Public License | |
17 | along with this program; if not, write to the Free Software | |
18 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ | |
19 | ||
20 | #if !defined (ENERGIZE_H) | |
21 | #define ENERGIZE_H 1 | |
22 | ||
23 | /* Non-zero means that we're doing the energize interface. */ | |
24 | extern int energize; | |
25 | ||
26 | /* Get a pty for use with energize */ | |
27 | extern char *energize_getpty PARAMS ((void)); | |
28 | ||
29 | /* Notify energize of new process creation */ | |
30 | extern void energize_new_process PARAMS ((void)); | |
31 | ||
32 | /* Low level wait routine for wait_for_inferior */ | |
33 | extern int energize_wait PARAMS ((int *)); | |
34 | ||
35 | /* Initialize */ | |
36 | extern void energize_initialize PARAMS ((char *, char *)); | |
37 | ||
38 | /* Main loop for energize protocol driver */ | |
39 | extern void energize_main_loop PARAMS ((void)); | |
40 | ||
41 | struct cmd_list_element; | |
42 | ||
43 | /* Command hook for energize */ | |
44 | extern void energize_call_command PARAMS ((struct cmd_list_element *, | |
45 | char *, int)); | |
46 | ||
47 | /* Read commands for the command command, and others */ | |
48 | extern char *energize_command_line_input PARAMS ((char *, int)); | |
49 | ||
50 | struct symbol; | |
51 | struct type; | |
52 | ||
53 | extern void energize_start_variable_annotation PARAMS ((char *, | |
54 | struct symbol *, | |
55 | struct type *, | |
56 | CORE_ADDR, | |
57 | char *)); | |
58 | ||
59 | extern void energize_end_variable_annotation PARAMS ((void)); | |
60 | ||
61 | extern void energize_annotate_function PARAMS ((char *, int, int)); | |
62 | ||
63 | struct objfile; | |
64 | extern void energize_symbol_file PARAMS ((struct objfile *)); | |
65 | ||
66 | /*extern void energize_query PARAMS ((char *, ...));*/ | |
67 | extern void energize_query (); /* Prototypes for varargs don't work */ | |
68 | ||
69 | extern void energize_acknowledge_query PARAMS ((char *)); | |
70 | ||
71 | extern void energize_fputs PARAMS ((const char *)); | |
72 | ||
73 | struct breakpoint; | |
74 | extern void energize_condition_breakpoint PARAMS ((struct breakpoint *)); | |
75 | ||
76 | extern void energize_commands_breakpoint PARAMS ((struct breakpoint *)); | |
77 | ||
78 | extern void energize_ignore_breakpoint PARAMS ((struct breakpoint *)); | |
79 | ||
80 | extern void energize_create_breakpoint PARAMS ((struct breakpoint *)); | |
81 | ||
82 | extern void energize_delete_breakpoint PARAMS ((struct breakpoint *)); | |
83 | ||
84 | extern void energize_enable_breakpoint PARAMS ((struct breakpoint *)); | |
85 | ||
86 | extern void energize_disable_breakpoint PARAMS ((struct breakpoint *)); | |
87 | ||
88 | #endif /* !defined (ENERGIZE_H) */ |