f823634c30
energize-patches. Change all routines and variables named 'cadillac*' to 'energize*'. Create new file called energize.h to hold all interface declarations.
89 lines
2.8 KiB
C
89 lines
2.8 KiB
C
/* 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) */
|