aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-sim.c')
-rw-r--r--gdb/remote-sim.c2
1 files changed, 1 insertions, 1 deletions
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");