1 /* Energize interface defs for GDB.
2 Copyright (C) 1992 Free Software Foundation, Inc.
4 This file is part of GDB.
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.
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.
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. */
20 #if !defined (ENERGIZE_H)
24 struct cmd_list_element;
31 /* Non-zero means that we're doing the energize interface. */
34 /* Get a pty for use with energize */
35 extern char *energize_getpty PARAMS ((void));
37 /* Notify energize of new process creation */
38 extern void energize_new_process PARAMS ((void));
40 /* Low level wait routine for wait_for_inferior */
41 extern int energize_wait PARAMS ((int *));
43 /* Wait routine for processes spawned by the shell command */
44 extern int energize_shell_wait PARAMS ((int *statusp));
47 extern void energize_initialize PARAMS ((char *, char *));
49 /* Main loop for energize protocol driver */
50 extern void energize_main_loop PARAMS ((void));
52 /* Command hook for energize */
53 extern void energize_call_command PARAMS ((struct cmd_list_element *,
56 /* Read commands for the command command, and others */
57 extern char *energize_command_line_input PARAMS ((char *, int));
59 extern void energize_start_variable_annotation PARAMS ((char *,
65 extern void energize_end_variable_annotation PARAMS ((void));
67 extern void energize_annotate_function PARAMS ((char *, int, int));
69 extern void energize_symbol_file PARAMS ((struct objfile *));
71 /*extern void energize_query PARAMS ((char *, ...));*/
72 extern void energize_query (); /* Prototypes for varargs don't work */
74 extern void energize_acknowledge_query PARAMS ((char *));
76 extern void energize_fputs PARAMS ((const char *));
78 extern void energize_condition_breakpoint PARAMS ((struct breakpoint *));
80 extern void energize_commands_breakpoint PARAMS ((struct breakpoint *));
82 extern void energize_ignore_breakpoint PARAMS ((struct breakpoint *));
84 extern void energize_create_breakpoint PARAMS ((struct breakpoint *));
86 extern void energize_delete_breakpoint PARAMS ((struct breakpoint *));
88 extern void energize_enable_breakpoint PARAMS ((struct breakpoint *));
90 extern void energize_disable_breakpoint PARAMS ((struct breakpoint *));
92 #endif /* !defined (ENERGIZE_H) */