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)
23 /* Non-zero means that we're doing the energize interface. */
26 /* Get a pty for use with energize */
27 extern char *energize_getpty
PARAMS ((void));
29 /* Notify energize of new process creation */
30 extern void energize_new_process
PARAMS ((void));
32 /* Low level wait routine for wait_for_inferior */
33 extern int energize_wait
PARAMS ((int *));
36 extern void energize_initialize
PARAMS ((char *, char *));
38 /* Main loop for energize protocol driver */
39 extern void energize_main_loop
PARAMS ((void));
41 struct cmd_list_element
;
43 /* Command hook for energize */
44 extern void energize_call_command
PARAMS ((struct cmd_list_element
*,
47 /* Read commands for the command command, and others */
48 extern char *energize_command_line_input
PARAMS ((char *, int));
53 extern void energize_start_variable_annotation
PARAMS ((char *,
59 extern void energize_end_variable_annotation
PARAMS ((void));
61 extern void energize_annotate_function
PARAMS ((char *, int, int));
64 extern void energize_symbol_file
PARAMS ((struct objfile
*));
66 /*extern void energize_query PARAMS ((char *, ...));*/
67 extern void energize_query (); /* Prototypes for varargs don't work */
69 extern void energize_acknowledge_query
PARAMS ((char *));
71 extern void energize_fputs
PARAMS ((const char *));
74 extern void energize_condition_breakpoint
PARAMS ((struct breakpoint
*));
76 extern void energize_commands_breakpoint
PARAMS ((struct breakpoint
*));
78 extern void energize_ignore_breakpoint
PARAMS ((struct breakpoint
*));
80 extern void energize_create_breakpoint
PARAMS ((struct breakpoint
*));
82 extern void energize_delete_breakpoint
PARAMS ((struct breakpoint
*));
84 extern void energize_enable_breakpoint
PARAMS ((struct breakpoint
*));
86 extern void energize_disable_breakpoint
PARAMS ((struct breakpoint
*));
88 #endif /* !defined (ENERGIZE_H) */