Index: sim/common/ChangeLog
2002-07-17 Andrew Cagney <cagney@redhat.com> * run-sim.h: Add #ifdef RUN_SIM_H wrapper. (sim_set_callbacks, sim_size, sim_trace) (sim_set_trace, sim_set_profile_size, sim_kill): Declare. Moved to here from "gdb/remote-sim.h". Index: include/gdb/ChangeLog 2002-07-17 Andrew Cagney <cagney@redhat.com> * remote-sim.h: Update copyright. (sim_set_callbacks, sim_size, sim_trace) (sim_set_trace, sim_set_profile_size, sim_kill): Delete. Moved to "sim/common/run-sim.h".
This commit is contained in:
parent
233282cd3e
commit
75c4388adb
@ -1,3 +1,10 @@
|
|||||||
|
2002-07-17 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
|
* remote-sim.h: Update copyright.
|
||||||
|
(sim_set_callbacks, sim_size, sim_trace)
|
||||||
|
(sim_set_trace, sim_set_profile_size, sim_kill): Delete. Moved to
|
||||||
|
"sim/common/run-sim.h".
|
||||||
|
|
||||||
Wed Jul 17 19:36:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
|
Wed Jul 17 19:36:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
|
||||||
|
|
||||||
* sim-sh.h: Add enum constants for sh[1-4], sh3e, sh3?-dsp,
|
* sim-sh.h: Add enum constants for sh[1-4], sh3e, sh3?-dsp,
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
/* This file defines the interface between the simulator and gdb.
|
/* This file defines the interface between the simulator and gdb.
|
||||||
Copyright 1993, 1994, 1996, 1997, 1998, 2000
|
|
||||||
Free Software Foundation, Inc.
|
Copyright 1993, 1994, 1996, 1997, 1998, 2000, 2002 Free Software
|
||||||
|
Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
|
||||||
@ -289,63 +290,6 @@ SIM_RC sim_enable_breakpoint PARAMS ((SIM_DESC sd, SIM_ADDR addr));
|
|||||||
SIM_RC sim_disable_breakpoint PARAMS ((SIM_DESC sd, SIM_ADDR addr));
|
SIM_RC sim_disable_breakpoint PARAMS ((SIM_DESC sd, SIM_ADDR addr));
|
||||||
SIM_RC sim_enable_all_breakpoints PARAMS ((SIM_DESC sd));
|
SIM_RC sim_enable_all_breakpoints PARAMS ((SIM_DESC sd));
|
||||||
SIM_RC sim_disable_all_breakpoints PARAMS ((SIM_DESC sd));
|
SIM_RC sim_disable_all_breakpoints PARAMS ((SIM_DESC sd));
|
||||||
|
|
||||||
|
|
||||||
/* Provide simulator with a default (global) host_callback_struct.
|
|
||||||
THIS PROCEDURE IS DEPRECIATED.
|
|
||||||
GDB and NRUN do not use this interface.
|
|
||||||
This procedure does not take a SIM_DESC argument as it is
|
|
||||||
used before sim_open. */
|
|
||||||
|
|
||||||
void sim_set_callbacks PARAMS ((struct host_callback_struct *));
|
|
||||||
|
|
||||||
|
|
||||||
/* Set the size of the simulator memory array.
|
|
||||||
THIS PROCEDURE IS DEPRECIATED.
|
|
||||||
GDB and NRUN do not use this interface.
|
|
||||||
This procedure does not take a SIM_DESC argument as it is
|
|
||||||
used before sim_open. */
|
|
||||||
|
|
||||||
void sim_size PARAMS ((int i));
|
|
||||||
|
|
||||||
|
|
||||||
/* Single-step simulator with tracing enabled.
|
|
||||||
THIS PROCEDURE IS DEPRECIATED.
|
|
||||||
THIS PROCEDURE IS EVEN MORE DEPRECATED THAN SIM_SET_TRACE
|
|
||||||
GDB and NRUN do not use this interface.
|
|
||||||
This procedure returns: ``0'' indicating that the simulator should
|
|
||||||
be continued using sim_trace() calls; ``1'' indicating that the
|
|
||||||
simulation has finished. */
|
|
||||||
|
|
||||||
int sim_trace PARAMS ((SIM_DESC sd));
|
|
||||||
|
|
||||||
|
|
||||||
/* Enable tracing.
|
|
||||||
THIS PROCEDURE IS DEPRECIATED.
|
|
||||||
GDB and NRUN do not use this interface.
|
|
||||||
This procedure returns: ``0'' indicating that the simulator should
|
|
||||||
be continued using sim_trace() calls; ``1'' indicating that the
|
|
||||||
simulation has finished. */
|
|
||||||
|
|
||||||
void sim_set_trace PARAMS ((void));
|
|
||||||
|
|
||||||
|
|
||||||
/* Configure the size of the profile buffer.
|
|
||||||
THIS PROCEDURE IS DEPRECIATED.
|
|
||||||
GDB and NRUN do not use this interface.
|
|
||||||
This procedure does not take a SIM_DESC argument as it is
|
|
||||||
used before sim_open. */
|
|
||||||
|
|
||||||
void sim_set_profile_size PARAMS ((int n));
|
|
||||||
|
|
||||||
|
|
||||||
/* Kill the running program.
|
|
||||||
THIS PROCEDURE IS DEPRECIATED.
|
|
||||||
GDB and NRUN do not use this interface.
|
|
||||||
This procedure will be replaced as part of the introduction of
|
|
||||||
multi-cpu simulators. */
|
|
||||||
|
|
||||||
void sim_kill PARAMS ((SIM_DESC sd));
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
2002-07-17 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
|
* run-sim.h: Add #ifdef RUN_SIM_H wrapper.
|
||||||
|
(sim_set_callbacks, sim_size, sim_trace)
|
||||||
|
(sim_set_trace, sim_set_profile_size, sim_kill): Declare. Moved
|
||||||
|
to here from "gdb/remote-sim.h".
|
||||||
|
|
||||||
2002-07-16 Andrew Cagney <ac131313@redhat.com>
|
2002-07-16 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
* sim-resume.c (sim_resume): Add local variable sig_to_deliver to
|
* sim-resume.c (sim_resume): Add local variable sig_to_deliver to
|
||||||
|
@ -20,6 +20,9 @@
|
|||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
|
#ifndef RUN_SIM_H
|
||||||
|
#define RUN_SIM_H
|
||||||
|
|
||||||
#ifdef SIM_TARGET_SWITCHES
|
#ifdef SIM_TARGET_SWITCHES
|
||||||
/* Parse the command line, extracting any target specific switches
|
/* Parse the command line, extracting any target specific switches
|
||||||
before the generic simulator code gets a chance to complain
|
before the generic simulator code gets a chance to complain
|
||||||
@ -29,4 +32,63 @@ int sim_target_parse_command_line PARAMS ((int, char **));
|
|||||||
/* Display a list of target specific switches supported by this
|
/* Display a list of target specific switches supported by this
|
||||||
target. */
|
target. */
|
||||||
void sim_target_display_usage PARAMS ((void));
|
void sim_target_display_usage PARAMS ((void));
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Provide simulator with a default (global) host_callback_struct.
|
||||||
|
THIS PROCEDURE IS DEPRECATED.
|
||||||
|
GDB and NRUN do not use this interface.
|
||||||
|
This procedure does not take a SIM_DESC argument as it is
|
||||||
|
used before sim_open. */
|
||||||
|
|
||||||
|
void sim_set_callbacks PARAMS ((struct host_callback_struct *));
|
||||||
|
|
||||||
|
|
||||||
|
/* Set the size of the simulator memory array.
|
||||||
|
THIS PROCEDURE IS DEPRECATED.
|
||||||
|
GDB and NRUN do not use this interface.
|
||||||
|
This procedure does not take a SIM_DESC argument as it is
|
||||||
|
used before sim_open. */
|
||||||
|
|
||||||
|
void sim_size PARAMS ((int i));
|
||||||
|
|
||||||
|
|
||||||
|
/* Single-step simulator with tracing enabled.
|
||||||
|
THIS PROCEDURE IS DEPRECATED.
|
||||||
|
THIS PROCEDURE IS EVEN MORE DEPRECATED THAN SIM_SET_TRACE
|
||||||
|
GDB and NRUN do not use this interface.
|
||||||
|
This procedure returns: ``0'' indicating that the simulator should
|
||||||
|
be continued using sim_trace() calls; ``1'' indicating that the
|
||||||
|
simulation has finished. */
|
||||||
|
|
||||||
|
int sim_trace PARAMS ((SIM_DESC sd));
|
||||||
|
|
||||||
|
|
||||||
|
/* Enable tracing.
|
||||||
|
THIS PROCEDURE IS DEPRECATED.
|
||||||
|
GDB and NRUN do not use this interface.
|
||||||
|
This procedure returns: ``0'' indicating that the simulator should
|
||||||
|
be continued using sim_trace() calls; ``1'' indicating that the
|
||||||
|
simulation has finished. */
|
||||||
|
|
||||||
|
void sim_set_trace PARAMS ((void));
|
||||||
|
|
||||||
|
|
||||||
|
/* Configure the size of the profile buffer.
|
||||||
|
THIS PROCEDURE IS DEPRECATED.
|
||||||
|
GDB and NRUN do not use this interface.
|
||||||
|
This procedure does not take a SIM_DESC argument as it is
|
||||||
|
used before sim_open. */
|
||||||
|
|
||||||
|
void sim_set_profile_size PARAMS ((int n));
|
||||||
|
|
||||||
|
|
||||||
|
/* Kill the running program.
|
||||||
|
THIS PROCEDURE IS DEPRECATED.
|
||||||
|
GDB and NRUN do not use this interface.
|
||||||
|
This procedure will be replaced as part of the introduction of
|
||||||
|
multi-cpu simulators. */
|
||||||
|
|
||||||
|
void sim_kill PARAMS ((SIM_DESC sd));
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user