* run.c (main): Pass SIM_OPEN_STANDALONE to sim_open.

This commit is contained in:
David Edelsohn 1997-04-02 23:28:12 +00:00
parent 78077ce6d2
commit bcd1475aec
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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)
{