aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/common/ChangeLog2
-rw-r--r--sim/common/run.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 1c8cfd9..3d79b56 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,7 @@
Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
+ * run.c (main): Pass SIM_OPEN_STANDALONE to sim_open.
+
* aclocal.m4: Check for stdlib.h, string.h, strings.h, unistd.h.
(sim-debug): Allow arguments. Define WITH_DEBUG in addition to
-DDEBUG.
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)
{