aboutsummaryrefslogtreecommitdiff
path: root/sim/common
AgeCommit message (Collapse)AuthorFilesLines
2002-11-14Index: common/ChangeLogAndrew Cagney2-1/+5
2002-11-13 Andrew Cagney <cagney@redhat.com> * run.c (main): Remove SIM_HAVE_ENVIRONMENT from #endif. Index: d10v/ChangeLog 2002-11-13 Andrew Cagney <cagney@redhat.com> * simops.c: Include <string.h>.
2002-11-062002-11-06 Richard Sandiford <rsandifo@redhat.com>Chris Demetriou2-1/+8
* Make-common.in (SIM_EXTRA_DISTCLEAN): New macro. (distclean): Depend on it.
2002-10-14 * cgen-trace.h: Test __BFD_H_SEEN__ rather than BFD_VERSION.Alan Modra2-1/+5
2002-08-292002-08-29 Dave Brolley <brolley@redhat.com>Dave Brolley2-1/+5
* Make-common.in (CGEN_READ_SCM): Remove ../../cgen/stamp-cgen.
2002-07-17Index: sim/common/ChangeLogAndrew Cagney2-0/+69
2002-07-17 Andrew Cagney <cagney@redhat.com> * run-sim.h: Add #ifdef RUN_SIM_H wrapper. (sim_set_callbacks, sim_size, sim_trace) (sim_set_trace, sim_set_profile_size, sim_kill): Declare. Moved to here from "gdb/remote-sim.h". Index: include/gdb/ChangeLog 2002-07-17 Andrew Cagney <cagney@redhat.com> * remote-sim.h: Update copyright. (sim_set_callbacks, sim_size, sim_trace) (sim_set_trace, sim_set_profile_size, sim_kill): Delete. Moved to "sim/common/run-sim.h".
2002-07-16Obsolete fr30.Andrew Cagney1-1/+1
2002-07-15* sim-resume.c (sim_resume): Add local variable sig_to_deliver toAndrew Cagney2-6/+16
avoid possible longjmp problems with automatic variable siggnal.
2002-07-14From 2002-07-11 Momchil Velikov <velco@fadata.bg>:Andrew Cagney2-0/+7
* Make-common.in (installdirs): Make $(libdir) too, needed when installing libsim.a.
2002-07-14Obsolete the d30v.Andrew Cagney3-27/+8
2002-06-17* hw-events.c (hw_event_queue_schedule): Initialize `dummy'.Andrew Cagney2-0/+3
2002-06-17* sim-memopt.c: Include <unistd.h>.Andrew Cagney3-1/+11
(do_memopt_add): Fix printf format. * sim-events.c (sim_events_schedule): Initialize ``dummy''.
2002-06-16Import current --enable-gdb-build-warnings.Andrew Cagney2-17/+54
2002-06-12missed 2 in 2002. oops.Aldy Hernandez1-1/+1
2002-06-12002-06-09 Aldy Hernandez <aldyh@redhat.com>Aldy Hernandez2-0/+11
* sim-fpu.c (unpack_fpu): Initialize exponent for sim_fpu_class_zero. (i2fpu): Same. (sim_fpu_sqrt): Same.
2002-06-09Move include/callback.h and include/remote-sim.h to include/gdb/.Andrew Cagney8-33/+47
Update accordingly.
2002-05-31 * run.c: Fix formatting.Kazu Hirata2-14/+18
2002-05-20Add support for target specific command line switches to old-style simualtors.Nick Clifton3-1/+52
Make use of this support in the ARM simulator to add a --swi-support= switch to select whcih SWI protocols to emulate.
2002-05-17* h8300s now new target, not alias of h8300hAndrey Volkov3-5/+22
2002-05-01[ common/ChangeLog ]Chris Demetriou2-1/+5
2002-05-01 Chris Demetriou <cgd@broadcom.com> * callback.c: Use 'deprecated' rather than 'depreciated.' [ igen/ChangeLog ] 2002-05-01 Chris Demetriou <cgd@broadcom.com> * igen.c: Use 'deprecated' rather than 'depreciated.' [ mips/ChangeLog ] 2002-05-01 Chris Demetriou <cgd@broadcom.com> * interp.c: Use 'deprecated' rather than 'depreciated.' * sim-main.h: Likewise.
2002-02-25Fix PR gdb/287. From wiz at danbala. Then->than and typos.Andrew Cagney2-1/+7
2002-02-102002-02-10 Chris Demetriou <cgd@broadcom.com>Chris Demetriou12-36/+50
* callback.c: Fix some spelling errors. * hw-device.h: Likewise. * hw-tree.c: Likewise. * sim-abort.c: Likewise. * sim-alu.h: Likewise. * sim-core.h: Likewise. * sim-events.c: Likewise. * sim-events.h: Likewise. * sim-fpu.h: Likewise. * sim-profile.h: Likewise. * sim-utils.c: Likewise.
2002-01-31 * cgen-ops.h (ADDCQI, ADDCFQI, ADDOFQI, SUBCQI, SUBCFQI, SUBOFQI):Hans-Peter Nilsson2-1/+59
New functions.
2002-01-202002-01-20 Ben Elliston <bje@redhat.com>Ben Elliston2-1/+6
* sim-fpu.h (SIM_FPU_IS_QNAN): Replace "Quite" with "Quiet" in the comment for this enumerator.
2002-01-142002-01-14 Ben Elliston <bje@redhat.com>Ben Elliston2-2/+6
* sim-fpu.h: Fix comment about sim_fpu_* constants.
2001-12-21 * run.c (usage): Fix a typo.Kazu Hirata2-1/+5
2001-07-052001-07-05 Ben Elliston <bje@redhat.com>Ben Elliston2-7/+17
* Make-common.in (srccgen): Remove. (CGEN_CPU_DIR): Define. (CGEN_READ_SCM): Redefine without $(srccgen). (CGEN_ARCH_SCM): Ditto. (CGEN_CPU_SCM): Ditto. (CGEN_DECODE_SCM): Ditto. (CGEN_DESC_SCM): Ditto. * $arch/Makefile.in: Use $(CGEN_CPU_DIR) where applicable.
2001-04-25* thanks, nickcFrank Ch. Eigler3-0/+9
2001-04-25 Frank Ch. Eigler <fche@redhat.com> * sim-load.c (sim_load_file): Put it back [...]
2001-04-21Revert call to bfd_cache_close().Andrew Cagney3-4/+6
2001-04-19* bug fixFrank Ch. Eigler3-0/+10
2001-04-19 Frank Ch. Eigler <fche@redhat.com> * sim-utils.c (sim_analyze_program): Call bfd_cache_close after we're finished with its immediate use. * sim-load.c (sim_load_file): Ditto.
2001-03-20* mmap support for common simulatorsFrank Ch. Eigler6-12/+205
2001-03-16 Frank Ch. Eigler <fche@redhat.com> Add support for mmap-based memory regions. * sim-memopt.c (mmap_next_fd): New global. (sim_memory_init): Reinitialize it. (OPTION_MEMORY_MAPFILE, memory_option_handler): Support new "--memory-mapfile FILE" option. Check for some errors. (do_memopt_add): Conditionally do mmap instead of malloc for backing store of simulated memory. Check for more errors. (do_simopt_delete, sim_memory_uninstall): Corresponding cleanup. * sim-memopt.h (munmap_length): New member of _sim_memopt. * configure.in: Look for mmap/fstat related functions and headers. * config.in, configure: Regenerated.
2001-03-16* tweakFrank Ch. Eigler2-3/+8
2001-03-15 Frank Ch. Eigler <fche@redhat.com> * sim-core.c (sim_core_map_attach): Correct overlap-related error messages.
2001-03-07Remove reference to alloca-conf.hMichael Meissner2-2/+4
2001-02-222001-02-22 Ben Elliston <bje@redhat.com>Ben Elliston3-6/+35
* sim-trace.h (TRACE_VPU_IDX): Add. (TRACE_vpu): Define. (WITH_TRACE_VPU_P): Likewise. (TRACE_VPU_P): Likewise. * sim-trace.c (OPTION_TRACE_VPU): Define. (trace_options): Add --trace-vpu. (trace_option_handler): Handle OPTION_TRACE_VPU. (trace_option_handler): Include VPU tracing in --trace-semantics. (trace_idx_to_str): Handle TRACE_VPU_IDX.
2001-02-212001-02-21 Ben Elliston <bje@redhat.com>Ben Elliston2-2/+20
* sim-trace.h (TRACE_BRANCH_INPUT1): New macro. (TRACE_BRANCH_INPUT2): Likewise.
2001-02-15* profiling bug fixes.Ben Elliston2-2/+17
2001-02-09 Ben Elliston <bje@redhat.com> * (profile_print_pc): Write header out in target byte order. 2001-02-09 Ben Elliston <bje@redhat.com> * sim-profile.c (profile_pc_init): Correct bug in loop logic when adjusting the pc shift value.
2001-01-15* Tidy.Ben Elliston1-2/+2
2001-01-12* configury fixFrank Ch. Eigler2-1/+6
[common/ChangeLog] 2001-01-12 Chris Demetriou <cgd@sibyte.com> * aclocal.m4 (SIM_AC_OPTION_SCACHE): Properly handle the case where a numeric value is supplied. [eg. m32r/ChangeLog] 2001-01-12 Frank Ch. Eigler <fche@redhat.com> * configure: Regenerated with sim_scache fix.
2001-01-052001-01-06 Ben Elliston <bje@redhat.com>Ben Elliston2-0/+20
* cgen.sh: Allow extrafiles to include the semantics files when generating an ISA-specific decoder.
2000-12-27* Make-common.in (sim-io.o): Depend on targ-vals.h.Alexandre Oliva2-1/+5
2000-12-232000-12-23 Ben Elliston <bje@redhat.com>Ben Elliston2-0/+20
* cgen-trace.c (trace_result): Handle 'f' type operands; output them to the trace stream using sim_fpu_printn_fpu. Include "sim-fpu.h".
2000-12-232000-12-15 Ben Elliston <bje@redhat.com>Ben Elliston3-31/+36
* sim-fpu.h (sim_fpu_printn_fpu): Declare. * sim-fpu.c (print_bits): Add digits parameter. Print only as many trailing digits as specified (-1 to print all digits). (sim_fpu_print_fpu): New wrapper around sim_fpu_printn_fpu. (sim_fpu_printn_fpu): Rename from sim_fpu_print_fpu; update calls to print_bits ().
2000-12-132000-12-13 Ben Elliston <bje@redhat.com>Ben Elliston2-24/+53
* cgen.sh: Set prefix/PREFIX (append ISA if applicable). Factor sed expressions into $sedscript, substituting @prefix@/@PREFIX@. (defs): New action.
2000-12-12In sim/common:Geoffrey Keating2-56/+62
* sim-endian.h: Don't have parameters on macro definitions which are simply renaming functions, to permit use of XCONCAT2 in both the macro name and the arguments in a use of such a definition. In sim/ppc: * sim-endian.h: Don't have parameters on macro definitions which are simply renaming functions, to permit use of XCONCAT2 in both the macro name and the arguments in a use of such a definition.
2000-12-112000-12-11 Ben Elliston <bje@redhat.com>Ben Elliston2-0/+13
* cgen-ops.h (SUBWORDDFDI): New function.
2000-12-052000-12-05 Ben Elliston <bje@redhat.com>Ben Elliston2-2/+10
* Make-common.in (cgen-defs): New target. (cgen-decode): Pass $(EXTRAFILES).
2000-12-052000-12-05 Ben Elliston <bje@redhat.com>Ben Elliston2-60/+84
* genmloop.sh: Use @prefix@, not @cpu@ throughout. Add -prefix and -outfile-suffix options.
2000-12-042000-12-04 Ben Elliston <bje@redhat.com>Ben Elliston2-3/+16
* cgen-ops.h (SUBWORDSIQI): Mask off top bits. (SUBWORDSIUQI): Likewise. (SUBWORDDIHI): Likewise. (SUBWORDDIQI): New function.
2000-12-042000-12-04 Ben Elliston <bje@redhat.com>Ben Elliston3-6/+5
* cgen-trace.c (disassemble_insn): Remove unused declaration. * cgen-scache.c (scache_option_handler): Remove unused local var.
2000-12-032000-12-03 Ben Elliston <bje@redhat.com>Ben Elliston2-1/+5
* sim-profile.c (profile_option_handler): Remove unused prof_nr.
2000-11-30Add GNU Free Documentation LicenseNick Clifton1-15/+371