* Makefile.in (SIM_OBJS): Add sim-load.o.
authorDavid Edelsohn <dje.gcc@gmail.com>
Thu, 17 Apr 1997 10:02:27 +0000 (10:02 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Thu, 17 Apr 1997 10:02:27 +0000 (10:02 +0000)
commit04885cc34cdbd61bda2a70b1ba9a8cd7450ebd46
tree31f1cf15965c409500ea37db7ef642d250bb0f24
parent0ab92fe79ff25878e41073059672fceb6abc7ef2
* Makefile.in (SIM_OBJS): Add sim-load.o.
* d10v_sim.h (exec_bfd): Rename to prog_bfd.
* interp.c: #include bfd.h.
(myname, sim_kind, start_address): New static locals.
(prog_bfd_was_opened_p, prog_bfd): New static locals.
(decode_pc): Update to use prog_bfd.
(sim_open): Set sim_kind, myname.  Ignore -E arg.
(sim_close): Close prog_bfd if simulator opened it.
(sim_create_inferior): Return SIM_RC.  Delete arg start_address.
(sim_load): Return SIM_RC.  New arg abfd.  Set start address from bfd.
Call sim_load_file to load file into simulator.
* simops.c (trace_input_func): exec_bfd renamed to prog_bfd.
sim/d10v/ChangeLog
sim/d10v/interp.c