From 247fccdeb54a09a14287b2e829511803ad9d7cc1 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 25 Aug 1997 23:14:25 +0000 Subject: Add ABFD argument to sim_open call. Pass through to sim_config so that image properties such as endianness can be checked. More strongly document the expected behavour of each of the sim_* interfaces. Add default endian argument to simulator config macro SIM_AC_OPTION_ENDIAN. Use in sim_config. --- gdb/remote-sim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/remote-sim.c') diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index ba9695f..212cc98 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -515,7 +515,7 @@ gdbsim_open (args, from_tty) make_cleanup (freeargv, (char *) argv); init_callbacks (); - gdbsim_desc = sim_open (SIM_OPEN_DEBUG, &gdb_callback, argv); + gdbsim_desc = sim_open (SIM_OPEN_DEBUG, &gdb_callback, exec_bfd, argv); if (gdbsim_desc == 0) error ("unable to create simulator instance"); -- cgit v1.1