Delete h8500 simulator, gdb droped h8500 in 6.1.
This commit is contained in:
parent
33841fd962
commit
44b263ce53
10 changed files with 1 additions and 7306 deletions
|
@ -1,6 +1,6 @@
|
|||
2004-12-01 Andrew Cagney <cagney@gnu.org>
|
||||
|
||||
* i960: Delete directory.
|
||||
* i960, h8500: Delete directory.
|
||||
|
||||
2004-11-12 Andrew Cagney <cagney@gnu.org>
|
||||
|
||||
|
|
|
@ -1,437 +0,0 @@
|
|||
2003-02-27 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
|
||||
|
||||
2002-06-16 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
2002-06-08 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* compile.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
|
||||
|
||||
Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
1999-05-08 Felix Lee <flee@cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
* config.in: Ditto.
|
||||
|
||||
Sun Apr 26 15:20:11 1998 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* acconfig.h: New file.
|
||||
* configure.in: Reverted change of Apr 24; use sinclude again.
|
||||
|
||||
Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
* config.in: Ditto.
|
||||
|
||||
Fri Apr 24 11:19:40 1998 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* configure.in: Don't call sinclude.
|
||||
|
||||
Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
Tue Feb 17 12:43:42 1998 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* compile.c (sim_store_register, sim_fetch_register): Pass in
|
||||
length parameter. Return -1.
|
||||
(sim_create_inferior): Pass 4 into sim_store_register.
|
||||
|
||||
Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
* config.in: Ditto.
|
||||
|
||||
Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* compile.c (sim_load): Pass lma_p and sim_write args to
|
||||
sim_load_file.
|
||||
|
||||
Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
* config.in: Ditto.
|
||||
|
||||
Tue Aug 26 10:39:07 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* compile.c (sim_kill): Delete.
|
||||
(sim_create_inferior): Add ABFD argument.
|
||||
(sim_load): Move setting of PC from here.
|
||||
(sim_create_inferior): To here.
|
||||
|
||||
Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
* config.in: Ditto.
|
||||
|
||||
Mon Aug 25 15:51:53 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* compile.c (sim_open): Add ABFD argument.
|
||||
|
||||
Tue May 20 10:33:19 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* compile.c (sim_set_callbacks): Delete SIM_DESC argument.
|
||||
(sim_open): Add callback argument.
|
||||
|
||||
Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
Fri Apr 18 14:02:10 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* compile.c (sim_stop): New function.
|
||||
|
||||
Thu Apr 17 03:11:06 1997 Doug Evans <dje@canuck.cygnus.com>
|
||||
|
||||
* Makefile.in (SIM_OBJS): Add sim-load.o.
|
||||
* compile.c: #include bfd.h.
|
||||
(sim_kind, myname, start_address): New static locals.
|
||||
(sim_open): Set sim_kind, myname.
|
||||
(sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to
|
||||
load file into simulator. Set start address from bfd.
|
||||
(sim_create_inferior): Return SIM_RC. Delete arg start_address.
|
||||
|
||||
Wed Apr 16 17:34:41 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* inst.h (H8500_MSIZE): Rename from MSIZE.
|
||||
* compile.c (sim_read, sim_write, init_pointers): Update.
|
||||
|
||||
Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
* config.in: Ditto.
|
||||
|
||||
Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
|
||||
|
||||
* compile.c (sim_open): New arg `kind'.
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
||||
Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
|
||||
|
||||
* configure: Re-generate.
|
||||
|
||||
Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
|
||||
|
||||
* configure: Regenerate to track ../common/aclocal.m4 changes.
|
||||
|
||||
Thu Mar 13 12:50:28 1997 Doug Evans <dje@canuck.cygnus.com>
|
||||
|
||||
* compile.c (sim_open): New SIM_DESC result. Argument is now in
|
||||
argv form.
|
||||
(other sim_*): New SIM_DESC argument.
|
||||
|
||||
Tue Feb 4 13:36:29 1997 Doug Evans <dje@canuck.cygnus.com>
|
||||
|
||||
* Makefile.in (@COMMON_MAKEFILE_FRAG): Use
|
||||
COMMON_{PRE,POST}_CONFIG_FRAG instead.
|
||||
* configure.in: sinclude ../common/aclocal.m4.
|
||||
* configure: Regenerated.
|
||||
|
||||
Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
|
||||
|
||||
* configure configure.in Makefile.in: Update to new configure
|
||||
scheme which is more compatible with WinGDB builds.
|
||||
* configure.in: Improve comment on how to run autoconf.
|
||||
* configure: Re-run autoconf to get new ../common/aclocal.m4.
|
||||
* Makefile.in: Use autoconf substitution to install common
|
||||
makefile fragment.
|
||||
|
||||
Wed Nov 20 01:48:23 1996 Doug Evans <dje@canuck.cygnus.com>
|
||||
|
||||
* Makefile.in: Delete stuff moved to ../common/Make-common.in.
|
||||
* configure.in: Simplify using macros in ../common/aclocal.m4.
|
||||
* configure: Regenerated.
|
||||
(SIM_OBJS,SIM_EXTRA_CFLAGS): Define.
|
||||
* compile.c (sim_set_simcache_size): Renamed from sim_csize.
|
||||
(sim_size) New function.
|
||||
(sim_callback): New global. Redirect all calls to printf_filtered
|
||||
through callback.
|
||||
(sim_set_callbacks): Record callback.
|
||||
* run.c: Delete, using one in ../common now.
|
||||
* tconfig.in: New file.
|
||||
|
||||
Thu Oct 3 16:14:08 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
|
||||
|
||||
* Makefile.in (mostlyclean): Don't remove config.log here.
|
||||
|
||||
Wed Jun 26 12:23:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
|
||||
|
||||
* Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
|
||||
INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
|
||||
(docdir): Removed.
|
||||
* configure.in (AC_PREREQ): autoconf 2.5 or higher.
|
||||
(AC_PROG_INSTALL): Added.
|
||||
* configure: Rebuilt.
|
||||
|
||||
Wed Feb 21 12:15:46 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* configure: Regenerate with autoconf 2.7.
|
||||
|
||||
Fri Oct 13 15:03:48 1995 steve chamberlain <sac@slash.cygnus.com>
|
||||
|
||||
* compile.c (sim_set_callbacks): New.
|
||||
|
||||
Tue Oct 10 11:10:36 1995 Fred Fish <fnf@cygnus.com>
|
||||
|
||||
* Makefile.in (BISON): Remove macro.
|
||||
|
||||
Wed Sep 20 13:35:24 1995 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* Makefile.in (maintainer-clean): New synonym for realclean.
|
||||
|
||||
Fri Sep 8 12:38:31 1995 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* Makefile.in (install): Don't install in $(tooldir).
|
||||
|
||||
* configure.in: Call AC_CONFIG_HEADER. Don't try to use
|
||||
bfd/hosts/*.h file or bfd/config/*.mh file. Call AC_PROG_CC and
|
||||
AC_PROG_RANLIB. Substitute in values for CFLAGS, HDEFINES and AR.
|
||||
Call AC_CHECK_HEADERS for stdlib.h and time.h. Touch stamp.h if
|
||||
creating config.h.
|
||||
* configure: Rebuild.
|
||||
* config.in: New file, created by autoheader.
|
||||
* Makefile.in (AR): Define as @AR@.
|
||||
(CC): New variable, defined as @CC@.
|
||||
(CFLAGS): Define as @CFLAGS@.
|
||||
(RANLIB): Define as @RANLIB@.
|
||||
(HDEFINES, TDEFINES): New variables.
|
||||
(@host_makefile_frag@): Remove.
|
||||
(compile.o, run.o): Depend upon config.h.
|
||||
(mostlyclean): Make the same as clean, not distclean.
|
||||
(clean): Remove config.log.
|
||||
(distclean): Remove config.h and stamp-h.
|
||||
(Makefile): Don't depend upon @frags@. Just rebuild Makefile when
|
||||
invoking config.status.
|
||||
(config.h, stamp-h): New targets.
|
||||
* compile.c: Include "config.h". Don't include <sys/times.h>.
|
||||
Include <time.h> and <stdlib.h> if they exist. Don't include
|
||||
"sysdep.h".
|
||||
* run.c: Include "config.h". Include <stdlib.h> if it exists.
|
||||
Don't include "sysdep.h". Include "bfd.h", not "../../bfd/bfd.h".
|
||||
|
||||
Thu Aug 10 16:29:23 1995 Doug Evans <dje@canuck.cygnus.com>
|
||||
|
||||
* compile.c (trap): Watch for abort.
|
||||
* run.c (main): Return non-zero exit code if we didn't
|
||||
exit cleanly.
|
||||
|
||||
Thu Aug 10 09:44:20 1995 steve chamberlain <sac@slash.cygnus.com>
|
||||
|
||||
* compile.c (find): Fix another thinko.
|
||||
* sim_resume (O_JSR): Make sure all JSRs stay in the same page.
|
||||
|
||||
Thu Aug 10 13:43:47 1995 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* Makefile.in (compile.o): Remove build rule.
|
||||
(.c.o): Add generic build rule.
|
||||
|
||||
Wed Aug 9 09:46:41 1995 steve chamberlain <sac@slash.cygnus.com>
|
||||
|
||||
* Makefile.in: Fix CSEARCH.
|
||||
* compile.c (find): Handle ABS24 and ABS16 correctly.
|
||||
Make JMP and JSR stay in right page.
|
||||
|
||||
Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
|
||||
|
||||
* Update all FSF addresses except those in COPYING* files.
|
||||
|
||||
Wed Jul 5 14:32:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
|
||||
|
||||
* Makefile.in (clean): Remove run.
|
||||
(distclean): Remove Makefile.
|
||||
|
||||
* h8500.mt: Removed.
|
||||
|
||||
* Makefile.in, configure.in: converted to autoconf.
|
||||
* configure: New file, generated with autconf 2.4.
|
||||
|
||||
Fri Jun 30 16:50:56 1995 Stan Shebs <shebs@andros.cygnus.com>
|
||||
|
||||
* compile.c (sim_do_command): New function.
|
||||
|
||||
Wed May 24 16:31:38 1995 Jim Wilson <wilson@chestnut.cygnus.com>
|
||||
|
||||
* configure.in: Fix typo in last change.
|
||||
|
||||
Mon Mar 27 10:32:34 1995 J.T. Conklin <jtc@rtl.cygnus.com>
|
||||
|
||||
* run.c: parse arguments with getopt().
|
||||
|
||||
Tue Feb 28 17:30:29 1995 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* configure.in: Use ../../bfd/hosts/std-host.h if specific
|
||||
host unavailable.
|
||||
|
||||
Wed May 18 13:58:05 1994 Doug Evans (dje@canuck.cygnus.com)
|
||||
|
||||
* compile.c (sim_*): Change result to void where there isn't one.
|
||||
(sim_resume): Fix subroutine calling (push return address).
|
||||
(sim_set_pc): Delete.
|
||||
(sim_info): Delete printf_fn arg, all callers changed.
|
||||
Call printf_filtered instead.
|
||||
(sim_create_inferior): Renamed from sim_set_args.
|
||||
(sim_close): New function.
|
||||
(sim_load): New function.
|
||||
* run.c: #include <varargs.h>, "remote-sim.h".
|
||||
(printf_filtered): New function.
|
||||
|
||||
Sat Dec 11 16:35:34 1993 Steve Chamberlain (sac@thepub.cygnus.com)
|
||||
|
||||
* compile.c (segforreg): New vector. (sim_resume): Get Z flag
|
||||
right for bitops. (sim_store_register, sim_fetch_register,
|
||||
sim_set_pc): Use new register naming convention.
|
||||
|
||||
Thu Oct 28 19:31:24 1993 Doug Evans (dje@canuck.cygnus.com)
|
||||
|
||||
* compile.c: #include "ansidecl.h" for remote-sim.h.
|
||||
|
||||
Tue Oct 26 10:02:18 1993 Doug Evans (dje@canuck.cygnus.com)
|
||||
|
||||
* Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb.
|
||||
* compile.c: #include "sysdep.h" and "remote-sim.h".
|
||||
(SET_SEGREG): Protect arg `y' with parens.
|
||||
(sim_resume): New arg `siggnal'.
|
||||
(sim_write): Use SIM_ADDR for type of arg `addr', int result.
|
||||
(sim_read): Ditto, use unsigned char * for arg `buf'.
|
||||
(sim_store_register): int result, value passed by reference.
|
||||
(sim_fetch_register): int result, use unsigned char * for arg `buf'.
|
||||
(sim_trace): Update call to sim_resume.
|
||||
(sim_stop_reason): Renamed from sim_stop_signal, new arg `reason',
|
||||
int result (error code, currently always 0).
|
||||
(sim_set_pc): Update calls to sim_store_register.
|
||||
(sim_info): int result, new args `print_fn', `verbose'.
|
||||
(sim_kill): int result.
|
||||
(sim_open): Ditto, new arg `name'.
|
||||
* run.c (main): Update call to sim_info.
|
||||
|
||||
Sat Oct 23 15:06:10 1993 Doug Evans (dje@canuck.cygnus.com)
|
||||
|
||||
* compile.c (sim_stop_signal): Result is now enum sim_stop.
|
||||
|
||||
Fri Oct 15 23:52:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||
|
||||
* compile.c (sim_kill, sim_open, sim_set_args): New functions.
|
||||
|
||||
Tue Aug 17 07:17:09 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
|
||||
|
||||
* compile.c (sim_info): Don't work out simulation ration if
|
||||
timetaken is zero.
|
||||
|
||||
Mon Aug 2 14:08:24 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
|
||||
|
||||
* compile.c (get_now, now_persec): Use time system call. (find) do
|
||||
pjmps right.
|
||||
|
||||
Tue Jul 13 12:20:19 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
|
||||
|
||||
* compile.c (sim_set_pc): set cp at the same time. (sim_resume):
|
||||
fix pjsr and pjmp.
|
||||
|
||||
Tue Jun 8 14:34:37 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
|
||||
|
||||
* compile.c: Remove endian.h dependency.
|
||||
|
||||
Mon Apr 5 10:08:30 1993 Steve Chamberlain (sac@thepub.cygnus.com)
|
||||
|
||||
* run.c (main): Now understands -v.
|
||||
* compile.c: Passes all the tests in small model.
|
||||
|
||||
Mon Mar 29 13:20:36 1993 Steve Chamberlain (sac@thepub.cygnus.com)
|
||||
|
||||
* run.c, inst.h compile.c: bug fixes,
|
||||
|
||||
Thu Mar 25 12:21:18 1993 Stu Grossman (grossman@cygnus.com)
|
||||
|
||||
* compile.c (sim_store_register): Use GDB names for registers to
|
||||
avoid version skew problems.
|
||||
* (sim_fetch_register): Ditto, also return only bits that
|
||||
actually exist.
|
||||
* configure.in: Fix srctrigger & srcname to reflect h8500, not h8300.
|
||||
|
||||
Fri Mar 19 14:46:31 1993 Steve Chamberlain (sac@thepub.cygnus.com)
|
||||
|
||||
* inst.h, compile.c, run.c: New files.
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
# Makefile template for Configure for the h8500 sim library.
|
||||
# Copyright (C) 1990, 91, 92, 95, 96, 1997 Free Software Foundation, Inc.
|
||||
# Written by Cygnus Support.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
## COMMON_PRE_CONFIG_FRAG
|
||||
|
||||
SIM_OBJS = compile.o sim-load.o
|
||||
# FIXME: This is probably a hack to get a syscall.h. better support for
|
||||
# syscall.h is in progress.
|
||||
SIM_EXTRA_CFLAGS = -I$(srcdir)/../../newlib/libc/sys/z8k
|
||||
|
||||
## COMMON_POST_CONFIG_FRAG
|
||||
|
||||
compile.o: compile.c config.h
|
|
@ -1,15 +0,0 @@
|
|||
|
||||
/* Define to 1 if NLS is requested. */
|
||||
#undef ENABLE_NLS
|
||||
|
||||
/* Define as 1 if you have catgets and don't want to use GNU gettext. */
|
||||
#undef HAVE_CATGETS
|
||||
|
||||
/* Define as 1 if you have gettext and don't want to use GNU gettext. */
|
||||
#undef HAVE_GETTEXT
|
||||
|
||||
/* Define as 1 if you have the stpcpy function. */
|
||||
#undef HAVE_STPCPY
|
||||
|
||||
/* Define if your locale.h file contains LC_MESSAGES. */
|
||||
#undef HAVE_LC_MESSAGES
|
2519
sim/h8500/compile.c
2519
sim/h8500/compile.c
File diff suppressed because it is too large
Load diff
|
@ -1,158 +0,0 @@
|
|||
/* config.in. Generated automatically from configure.in by autoheader. */
|
||||
|
||||
/* Define if using alloca.c. */
|
||||
#undef C_ALLOCA
|
||||
|
||||
/* Define to empty if the keyword does not work. */
|
||||
#undef const
|
||||
|
||||
/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
|
||||
This function is required for alloca.c support on those systems. */
|
||||
#undef CRAY_STACKSEG_END
|
||||
|
||||
/* Define if you have alloca, as a function or macro. */
|
||||
#undef HAVE_ALLOCA
|
||||
|
||||
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
|
||||
#undef HAVE_ALLOCA_H
|
||||
|
||||
/* Define if you have a working `mmap' system call. */
|
||||
#undef HAVE_MMAP
|
||||
|
||||
/* Define as __inline if that's what the C compiler calls it. */
|
||||
#undef inline
|
||||
|
||||
/* Define to `long' if <sys/types.h> doesn't define. */
|
||||
#undef off_t
|
||||
|
||||
/* Define if you need to in order for stat and other things to work. */
|
||||
#undef _POSIX_SOURCE
|
||||
|
||||
/* Define as the return type of signal handlers (int or void). */
|
||||
#undef RETSIGTYPE
|
||||
|
||||
/* Define to `unsigned' if <sys/types.h> doesn't define. */
|
||||
#undef size_t
|
||||
|
||||
/* If using the C implementation of alloca, define if you know the
|
||||
direction of stack growth for your system; otherwise it will be
|
||||
automatically deduced at run-time.
|
||||
STACK_DIRECTION > 0 => grows toward higher addresses
|
||||
STACK_DIRECTION < 0 => grows toward lower addresses
|
||||
STACK_DIRECTION = 0 => direction of growth unknown
|
||||
*/
|
||||
#undef STACK_DIRECTION
|
||||
|
||||
/* Define if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* Define to 1 if NLS is requested. */
|
||||
#undef ENABLE_NLS
|
||||
|
||||
/* Define as 1 if you have gettext and don't want to use GNU gettext. */
|
||||
#undef HAVE_GETTEXT
|
||||
|
||||
/* Define as 1 if you have the stpcpy function. */
|
||||
#undef HAVE_STPCPY
|
||||
|
||||
/* Define if your locale.h file contains LC_MESSAGES. */
|
||||
#undef HAVE_LC_MESSAGES
|
||||
|
||||
/* Define if you have the __argz_count function. */
|
||||
#undef HAVE___ARGZ_COUNT
|
||||
|
||||
/* Define if you have the __argz_next function. */
|
||||
#undef HAVE___ARGZ_NEXT
|
||||
|
||||
/* Define if you have the __argz_stringify function. */
|
||||
#undef HAVE___ARGZ_STRINGIFY
|
||||
|
||||
/* Define if you have the __setfpucw function. */
|
||||
#undef HAVE___SETFPUCW
|
||||
|
||||
/* Define if you have the dcgettext function. */
|
||||
#undef HAVE_DCGETTEXT
|
||||
|
||||
/* Define if you have the getcwd function. */
|
||||
#undef HAVE_GETCWD
|
||||
|
||||
/* Define if you have the getpagesize function. */
|
||||
#undef HAVE_GETPAGESIZE
|
||||
|
||||
/* Define if you have the getrusage function. */
|
||||
#undef HAVE_GETRUSAGE
|
||||
|
||||
/* Define if you have the munmap function. */
|
||||
#undef HAVE_MUNMAP
|
||||
|
||||
/* Define if you have the putenv function. */
|
||||
#undef HAVE_PUTENV
|
||||
|
||||
/* Define if you have the setenv function. */
|
||||
#undef HAVE_SETENV
|
||||
|
||||
/* Define if you have the setlocale function. */
|
||||
#undef HAVE_SETLOCALE
|
||||
|
||||
/* Define if you have the sigaction function. */
|
||||
#undef HAVE_SIGACTION
|
||||
|
||||
/* Define if you have the stpcpy function. */
|
||||
#undef HAVE_STPCPY
|
||||
|
||||
/* Define if you have the strcasecmp function. */
|
||||
#undef HAVE_STRCASECMP
|
||||
|
||||
/* Define if you have the strchr function. */
|
||||
#undef HAVE_STRCHR
|
||||
|
||||
/* Define if you have the time function. */
|
||||
#undef HAVE_TIME
|
||||
|
||||
/* Define if you have the <argz.h> header file. */
|
||||
#undef HAVE_ARGZ_H
|
||||
|
||||
/* Define if you have the <fcntl.h> header file. */
|
||||
#undef HAVE_FCNTL_H
|
||||
|
||||
/* Define if you have the <fpu_control.h> header file. */
|
||||
#undef HAVE_FPU_CONTROL_H
|
||||
|
||||
/* Define if you have the <limits.h> header file. */
|
||||
#undef HAVE_LIMITS_H
|
||||
|
||||
/* Define if you have the <locale.h> header file. */
|
||||
#undef HAVE_LOCALE_H
|
||||
|
||||
/* Define if you have the <malloc.h> header file. */
|
||||
#undef HAVE_MALLOC_H
|
||||
|
||||
/* Define if you have the <nl_types.h> header file. */
|
||||
#undef HAVE_NL_TYPES_H
|
||||
|
||||
/* Define if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Define if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define if you have the <sys/param.h> header file. */
|
||||
#undef HAVE_SYS_PARAM_H
|
||||
|
||||
/* Define if you have the <sys/resource.h> header file. */
|
||||
#undef HAVE_SYS_RESOURCE_H
|
||||
|
||||
/* Define if you have the <sys/time.h> header file. */
|
||||
#undef HAVE_SYS_TIME_H
|
||||
|
||||
/* Define if you have the <time.h> header file. */
|
||||
#undef HAVE_TIME_H
|
||||
|
||||
/* Define if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Define if you have the <values.h> header file. */
|
||||
#undef HAVE_VALUES_H
|
4024
sim/h8500/configure
vendored
4024
sim/h8500/configure
vendored
File diff suppressed because it is too large
Load diff
|
@ -1,10 +0,0 @@
|
|||
dnl Process this file with autoconf to produce a configure script.
|
||||
sinclude(../common/aclocal.m4)
|
||||
AC_PREREQ(2.5)dnl
|
||||
AC_INIT(Makefile.in)
|
||||
|
||||
SIM_AC_COMMON
|
||||
|
||||
AC_CHECK_HEADERS(stdlib.h time.h)
|
||||
|
||||
SIM_AC_OUTPUT
|
101
sim/h8500/inst.h
101
sim/h8500/inst.h
|
@ -1,101 +0,0 @@
|
|||
#define DEBUG
|
||||
|
||||
#define H8500_MSIZE (8*64*1024)
|
||||
#define CSIZE 1000
|
||||
|
||||
|
||||
union rtype
|
||||
{
|
||||
unsigned long l;
|
||||
unsigned short s[2];
|
||||
unsigned char *c;
|
||||
};
|
||||
|
||||
|
||||
/* Local register names */
|
||||
typedef enum
|
||||
{
|
||||
R0, R1, R2, R3, R4, R5, R6, R7,
|
||||
R_SR, /* 8 */
|
||||
R_PC, /* 9 */
|
||||
R_BR, /* 10 */
|
||||
R_BP, /* 11 */
|
||||
R_CP, /* 14 */
|
||||
R_DP, /* 13 */
|
||||
R_EP, /* 12 */
|
||||
R_TP, /* 15 */
|
||||
R_HARD_0, /* 16 */
|
||||
R_HARD8_0, /* 17 */
|
||||
R_LAST,
|
||||
} reg_type;
|
||||
|
||||
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
fastref type;
|
||||
union
|
||||
{
|
||||
int code;
|
||||
unsigned char *bptr;
|
||||
unsigned short *wptr;
|
||||
unsigned long *lptr;
|
||||
unsigned char **segptr;
|
||||
union rtype *rptr;
|
||||
|
||||
}
|
||||
reg;
|
||||
int literal;
|
||||
union
|
||||
{
|
||||
unsigned char **segreg;
|
||||
unsigned short *wptr;
|
||||
union rtype *rptr;
|
||||
}
|
||||
r2;
|
||||
}
|
||||
|
||||
ea_type;
|
||||
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
ea_type srca;
|
||||
ea_type srcb;
|
||||
ea_type dst;
|
||||
fastref opcode;
|
||||
fastref flags;
|
||||
int next_pc;
|
||||
int oldpc;
|
||||
int cycles;
|
||||
#ifdef DEBUG
|
||||
h8500_opcode_info *op;
|
||||
#endif
|
||||
}
|
||||
|
||||
decoded_inst;
|
||||
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int exception;
|
||||
union rtype regs[20];
|
||||
|
||||
|
||||
|
||||
unsigned char *memory;
|
||||
unsigned short *cache_idx;
|
||||
int cache_top;
|
||||
int maximum;
|
||||
int csize;
|
||||
decoded_inst *cache;
|
||||
int cycles;
|
||||
int insts;
|
||||
int ticks;
|
||||
int compiles;
|
||||
}
|
||||
|
||||
cpu_state_type;
|
|
@ -1,13 +0,0 @@
|
|||
/* h8500 target configuration file. */
|
||||
|
||||
/* Define this if the simulator supports profiling.
|
||||
See the mips simulator for an example.
|
||||
This enables the `-p foo' and `-s bar' options.
|
||||
The target is required to provide sim_set_profile{,_size}. */
|
||||
/* #define SIM_HAVE_PROFILE */
|
||||
|
||||
/* Define this if the simulator uses an instruction cache.
|
||||
See the h8/300 simulator for an example.
|
||||
This enables the `-c size' option to set the size of the cache.
|
||||
The target is required to provide sim_set_simcache_size. */
|
||||
#define SIM_HAVE_SIMCACHE
|
Loading…
Reference in a new issue