1 /* This file defines the part of the interface between the standalone
2 simaulator program - run - and simulator library - libsim.a - that
3 is not used by GDB. The GDB part is described in include/remote-sim.h.
5 Copyright 2002-2014 Free Software Foundation, Inc.
7 This file is part of GDB.
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 3 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/>. */
25 #ifdef SIM_TARGET_SWITCHES
26 /* Parse the command line, extracting any target specific switches
27 before the generic simulator code gets a chance to complain
28 about them. Returns the adjusted value of argc. */
29 int sim_target_parse_command_line (int, char **);
31 /* Display a list of target specific switches supported by this
33 void sim_target_display_usage (int help
);
37 /* Provide simulator with a default (global) host_callback_struct.
38 THIS PROCEDURE IS DEPRECATED.
39 GDB and NRUN do not use this interface.
40 This procedure does not take a SIM_DESC argument as it is
41 used before sim_open. */
43 void sim_set_callbacks (struct host_callback_struct
*);
46 /* Set the size of the simulator memory array.
47 THIS PROCEDURE IS DEPRECATED.
48 GDB and NRUN do not use this interface.
49 This procedure does not take a SIM_DESC argument as it is
50 used before sim_open. */
52 void sim_size (int i
);
55 /* Single-step simulator with tracing enabled.
56 THIS PROCEDURE IS DEPRECATED.
57 THIS PROCEDURE IS EVEN MORE DEPRECATED THAN SIM_SET_TRACE
58 GDB and NRUN do not use this interface.
59 This procedure returns: ``0'' indicating that the simulator should
60 be continued using sim_trace() calls; ``1'' indicating that the
61 simulation has finished. */
63 int sim_trace (SIM_DESC sd
);
67 THIS PROCEDURE IS DEPRECATED.
68 GDB and NRUN do not use this interface.
69 This procedure returns: ``0'' indicating that the simulator should
70 be continued using sim_trace() calls; ``1'' indicating that the
71 simulation has finished. */
73 void sim_set_trace (void);
76 /* Configure the size of the profile buffer.
77 THIS PROCEDURE IS DEPRECATED.
78 GDB and NRUN do not use this interface.
79 This procedure does not take a SIM_DESC argument as it is
80 used before sim_open. */
82 void sim_set_profile_size (int n
);
85 /* Kill the running program.
86 THIS PROCEDURE IS DEPRECATED.
87 GDB and NRUN do not use this interface.
88 This procedure will be replaced as part of the introduction of
89 multi-cpu simulators. */
91 void sim_kill (SIM_DESC sd
);
This page took 0.037831 seconds and 4 git commands to generate.