From: David Edelsohn Date: Tue, 26 Oct 1993 18:01:45 +0000 (+0000) Subject: * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c834dacddd35d079f64c0de85c9589805463383e;p=binutils-gdb.git * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb * interp.c: #include "remote-sim.h". (sim_resume): int result, new arg `siggnal'. (sim_write): Use SIM_ADDR for type of arg `addr'. (sim_read): Use SIM_ADDR for type of arg `addr'. Use unsigned char * for `buffer'. (sim_store_register): int result. (sim_fetch_register): Ditto. (sim_stop_reason): Renamed from sim_stop_signal. New arg `reason'. (sim_set_pc): int result, use SIM_ADDR for type of arg `x'. (sim_info): int result, new args `verbose', `printf_fn'. (sim_kill): int result. (sim_open): int result, new arg `name'. * run.c: #include (main): Update call to sim_info. --- diff --git a/sim/sh/run.c b/sim/sh/run.c index 00b5309b2d7..b8ac1c23aca 100644 --- a/sim/sh/run.c +++ b/sim/sh/run.c @@ -21,6 +21,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Steve Chamberlain sac@cygnus.com */ +#include #include "bfd.h" #include "sysdep.h" @@ -104,7 +105,7 @@ main (ac, av) sim_resume (0, 0); } if (verbose) - sim_info (); + sim_info (printf, 0); /* Find out what was in r0 and return that */ {