aboutsummaryrefslogtreecommitdiff
path: root/sim/common/run.c
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1997-04-02 23:28:12 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1997-04-02 23:28:12 +0000
commitbcd1475aec3dd6cee1c471a323215f58351ea5c0 (patch)
tree8a1417ede956ef438c68ff690a2489532d3a6944 /sim/common/run.c
parent78077ce6d2b49345fbbdd978cf3d59e4e70ab7ea (diff)
downloadgdb-bcd1475aec3dd6cee1c471a323215f58351ea5c0.zip
gdb-bcd1475aec3dd6cee1c471a323215f58351ea5c0.tar.gz
gdb-bcd1475aec3dd6cee1c471a323215f58351ea5c0.tar.bz2
* run.c (main): Pass SIM_OPEN_STANDALONE to sim_open.
Diffstat (limited to 'sim/common/run.c')
-rw-r--r--sim/common/run.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sim/common/run.c b/sim/common/run.c
index cb9fdab..1240445 100644
--- a/sim/common/run.c
+++ b/sim/common/run.c
@@ -46,6 +46,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "callback.h"
#include "remote-sim.h"
+#include "../libiberty/alloca-conf.h"
+
static void usage PARAMS ((void));
extern int optind;
extern char *optarg;
@@ -185,7 +187,7 @@ main (ac, av)
/* Ensure that any run-time initialisation that needs to be
performed by the simulator can occur. */
- sd = sim_open (sim_argv);
+ sd = sim_open (SIM_OPEN_STANDALONE, sim_argv);
for (s = abfd->sections; s; s = s->next)
{