aboutsummaryrefslogtreecommitdiff
path: root/sim/sh
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1994-02-12 06:02:09 +0000
committerSteve Chamberlain <sac@cygnus>1994-02-12 06:02:09 +0000
commit8aff8146d2fdfd62e068756c37d0e54bd8edf6b2 (patch)
treebc56bba56141d2d5f5052905f227e9d270b24208 /sim/sh
parent3b5442f9c8cfbb215f3c5ad9fd544d58eadedd3f (diff)
downloadgdb-8aff8146d2fdfd62e068756c37d0e54bd8edf6b2.zip
gdb-8aff8146d2fdfd62e068756c37d0e54bd8edf6b2.tar.gz
gdb-8aff8146d2fdfd62e068756c37d0e54bd8edf6b2.tar.bz2
* gencode.c (main, gendefines): New -d option prints table of defines.
* interp.c (trap): Add a load of system calls. (sim_memory_size): Now default to 8Mbyte. (PARANOID): Keep vector of registers with undefined contents.
Diffstat (limited to 'sim/sh')
-rw-r--r--sim/sh/run.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/sh/run.c b/sim/sh/run.c
index b8ac1c2..e409fb6 100644
--- a/sim/sh/run.c
+++ b/sim/sh/run.c
@@ -25,6 +25,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "bfd.h"
#include "sysdep.h"
+extern printf();
+
int
main (ac, av)
int ac;