aboutsummaryrefslogtreecommitdiff
path: root/sim/sh
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1993-10-26 18:01:45 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1993-10-26 18:01:45 +0000
commitc834dacddd35d079f64c0de85c9589805463383e (patch)
tree8440f7fde5bde43010319217fcd446ee1c411a7a /sim/sh
parent4da7942dbe60011b1b5b30fec85ad553373dd7b7 (diff)
downloadgdb-c834dacddd35d079f64c0de85c9589805463383e.zip
gdb-c834dacddd35d079f64c0de85c9589805463383e.tar.gz
gdb-c834dacddd35d079f64c0de85c9589805463383e.tar.bz2
* 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 <stdio.h> (main): Update call to sim_info.
Diffstat (limited to 'sim/sh')
-rw-r--r--sim/sh/run.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/sh/run.c b/sim/sh/run.c
index 00b5309..b8ac1c2 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 <stdio.h>
#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 */
{