diff options
author | Stu Grossman <grossman@cygnus> | 1992-07-05 17:06:47 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1992-07-05 17:06:47 +0000 |
commit | f823634c30ea2c2a5ef830b69b9f5490309185ea (patch) | |
tree | 709b0b8cf0e5cce4ec3e9de2f432f1aba4305b97 /gdb/energize.h | |
parent | fe0b60b29b71ac87d73ad5dd9cfd54ea7dd032e4 (diff) | |
download | gdb-f823634c30ea2c2a5ef830b69b9f5490309185ea.zip gdb-f823634c30ea2c2a5ef830b69b9f5490309185ea.tar.gz gdb-f823634c30ea2c2a5ef830b69b9f5490309185ea.tar.bz2 |
* cadillac.c, cadillac-patches: Rename to energize.c and
energize-patches. Change all routines and variables named
'cadillac*' to 'energize*'. Create new file called energize.h to
hold all interface declarations.
Diffstat (limited to 'gdb/energize.h')
-rw-r--r-- | gdb/energize.h | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/gdb/energize.h b/gdb/energize.h new file mode 100644 index 0000000..97ea388 --- /dev/null +++ b/gdb/energize.h @@ -0,0 +1,88 @@ +/* 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 + +/* 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 *)); + +/* Initialize */ +extern void energize_initialize PARAMS ((char *, char *)); + +/* Main loop for energize protocol driver */ +extern void energize_main_loop PARAMS ((void)); + +struct cmd_list_element; + +/* 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)); + +struct symbol; +struct type; + +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)); + +struct objfile; +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 *)); + +struct breakpoint; +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) */ |