Andrew Cagney
076043f24e
From 2002-07-11 Momchil Velikov <velco@fadata.bg>:
...
* Make-common.in (installdirs): Make $(libdir) too, needed when
installing libsim.a.
2002-07-14 17:03:39 +00:00
Andrew Cagney
3fbeef0be8
Obsolete the d30v.
2002-07-14 00:15:20 +00:00
Andrew Cagney
2796179517
* hw-events.c (hw_event_queue_schedule): Initialize `dummy'.
2002-06-17 23:53:45 +00:00
Andrew Cagney
bf96209254
* sim-memopt.c: Include <unistd.h>.
...
(do_memopt_add): Fix printf format.
* sim-events.c (sim_events_schedule): Initialize ``dummy''.
2002-06-17 21:45:55 +00:00
Andrew Cagney
c8cca39f98
Import current --enable-gdb-build-warnings.
2002-06-16 16:33:35 +00:00
Aldy Hernandez
307041b752
missed 2 in 2002. oops.
2002-06-12 00:46:41 +00:00
Aldy Hernandez
7d7d930f7a
002-06-09 Aldy Hernandez <aldyh@redhat.com>
...
* sim-fpu.c (unpack_fpu): Initialize exponent for
sim_fpu_class_zero.
(i2fpu): Same.
(sim_fpu_sqrt): Same.
2002-06-12 00:46:11 +00:00
Andrew Cagney
3c25f8c7b0
Move include/callback.h and include/remote-sim.h to include/gdb/.
...
Update accordingly.
2002-06-09 15:45:54 +00:00
Kazu Hirata
dbec3bef45
* run.c: Fix formatting.
2002-05-31 02:17:26 +00:00
Nick Clifton
de4112fa38
Add support for target specific command line switches to old-style simualtors.
...
Make use of this support in the ARM simulator to add a --swi-support= switch
to select whcih SWI protocols to emulate.
2002-05-20 14:32:50 +00:00
Andrey Volkov
a8cdafbd4e
* h8300s now new target, not alias of h8300h
2002-05-17 19:09:13 +00:00
Chris Demetriou
5accf1ff56
[ common/ChangeLog ]
...
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-05-01 23:26:32 +00:00
Andrew Cagney
080fe24b58
Fix PR gdb/287. From wiz at danbala. Then->than and typos.
2002-02-25 02:13:10 +00:00
Chris Demetriou
6439295f61
2002-02-10 Chris Demetriou <cgd@broadcom.com>
...
* 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-02-10 23:11:37 +00:00
Hans-Peter Nilsson
dea03d4e10
* cgen-ops.h (ADDCQI, ADDCFQI, ADDOFQI, SUBCQI, SUBCFQI, SUBOFQI):
...
New functions.
2002-01-31 17:55:16 +00:00
Ben Elliston
1636f0bbeb
2002-01-20 Ben Elliston <bje@redhat.com>
...
* sim-fpu.h (SIM_FPU_IS_QNAN): Replace "Quite" with "Quiet" in
the comment for this enumerator.
2002-01-20 04:09:23 +00:00
Ben Elliston
b59d44decf
2002-01-14 Ben Elliston <bje@redhat.com>
...
* sim-fpu.h: Fix comment about sim_fpu_* constants.
2002-01-14 02:47:59 +00:00
Kazu Hirata
280b26c033
* run.c (usage): Fix a typo.
2001-12-21 00:47:18 +00:00
Ben Elliston
e3e473dacc
2001-07-05 Ben Elliston <bje@redhat.com>
...
* 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-07-05 13:51:26 +00:00
Frank Ch. Eigler
2836ee25d9
* thanks, nickc
...
2001-04-25 Frank Ch. Eigler <fche@redhat.com>
* sim-load.c (sim_load_file): Put it back [...]
2001-04-25 21:14:28 +00:00
Andrew Cagney
5b77812558
Revert call to bfd_cache_close().
2001-04-21 22:50:55 +00:00
Frank Ch. Eigler
6ec9f4a9be
* bug fix
...
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-04-19 20:59:30 +00:00
Frank Ch. Eigler
764f1408a3
* mmap support for common simulators
...
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-20 17:13:39 +00:00
Frank Ch. Eigler
35c209920b
* tweak
...
2001-03-15 Frank Ch. Eigler <fche@redhat.com>
* sim-core.c (sim_core_map_attach): Correct overlap-related
error messages.
2001-03-16 03:20:26 +00:00
Michael Meissner
f6bb7a3bb0
Remove reference to alloca-conf.h
2001-03-07 20:19:41 +00:00
Ben Elliston
01816cd804
2001-02-22 Ben Elliston <bje@redhat.com>
...
* 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-22 20:47:49 +00:00
Ben Elliston
44a9331cdf
2001-02-21 Ben Elliston <bje@redhat.com>
...
* sim-trace.h (TRACE_BRANCH_INPUT1): New macro.
(TRACE_BRANCH_INPUT2): Likewise.
2001-02-21 21:35:41 +00:00
Ben Elliston
c43ad8eb1e
* profiling bug fixes.
...
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-02-15 21:14:40 +00:00
Ben Elliston
badd2b1e70
* Tidy.
2001-01-15 00:23:00 +00:00
Frank Ch. Eigler
9397fcbf1c
* configury fix
...
[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-12 18:51:28 +00:00
Ben Elliston
63fe103861
2001-01-06 Ben Elliston <bje@redhat.com>
...
* cgen.sh: Allow extrafiles to include the semantics files when
generating an ISA-specific decoder.
2001-01-05 04:36:09 +00:00
Alexandre Oliva
b6f6b44d62
* Make-common.in (sim-io.o): Depend on targ-vals.h.
2000-12-27 17:47:20 +00:00
Ben Elliston
ad8707b58d
2000-12-23 Ben Elliston <bje@redhat.com>
...
* 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-23 21:52:14 +00:00
Ben Elliston
b94c096644
2000-12-15 Ben Elliston <bje@redhat.com>
...
* 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-23 11:51:04 +00:00
Ben Elliston
fd5d712edf
2000-12-13 Ben Elliston <bje@redhat.com>
...
* cgen.sh: Set prefix/PREFIX (append ISA if applicable). Factor
sed expressions into $sedscript, substituting @prefix@/@PREFIX@.
(defs): New action.
2000-12-13 22:55:54 +00:00
Geoffrey Keating
4c15ccf7af
In sim/common:
...
* 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-12 20:54:13 +00:00
Ben Elliston
0d277f51d0
2000-12-11 Ben Elliston <bje@redhat.com>
...
* cgen-ops.h (SUBWORDDFDI): New function.
2000-12-11 07:14:34 +00:00
Ben Elliston
c79688eb6e
2000-12-05 Ben Elliston <bje@redhat.com>
...
* Make-common.in (cgen-defs): New target.
(cgen-decode): Pass $(EXTRAFILES).
2000-12-05 00:56:44 +00:00
Ben Elliston
bb4e03e555
2000-12-05 Ben Elliston <bje@redhat.com>
...
* genmloop.sh: Use @prefix@, not @cpu@ throughout. Add -prefix and
-outfile-suffix options.
2000-12-05 00:46:04 +00:00
Ben Elliston
6227bc851d
2000-12-04 Ben Elliston <bje@redhat.com>
...
* cgen-ops.h (SUBWORDSIQI): Mask off top bits.
(SUBWORDSIUQI): Likewise.
(SUBWORDDIHI): Likewise.
(SUBWORDDIQI): New function.
2000-12-04 04:05:45 +00:00
Ben Elliston
76440e4ba0
2000-12-04 Ben Elliston <bje@redhat.com>
...
* cgen-trace.c (disassemble_insn): Remove unused declaration.
* cgen-scache.c (scache_option_handler): Remove unused local var.
2000-12-04 00:57:57 +00:00
Ben Elliston
cdc2a5c395
2000-12-03 Ben Elliston <bje@redhat.com>
...
* sim-profile.c (profile_option_handler): Remove unused prof_nr.
2000-12-03 04:23:54 +00:00
Nick Clifton
2a1aa0e97c
Add GNU Free Documentation License
2000-11-30 01:54:16 +00:00
Stephane Carrez
4e73b9c108
Fix delete_hw_event_data() to free the scheduled events
2000-11-27 19:53:35 +00:00
Stephane Carrez
ce9bc8d1f1
Remove space == 0 restriction in the simulator (dv-core)
2000-11-27 19:49:46 +00:00
Stephane Carrez
ce13044d7a
Fix for sim/common hw_delete()/hw_tree_delete()
2000-11-25 09:18:52 +00:00
Stephane Carrez
7c070881e4
Fix memory leak in sim_parse_args
2000-11-25 09:16:22 +00:00
Ben Elliston
4f49fa1bf0
2000-11-20 Ben Elliston <bje@redhat.com>
...
* cgen-ops.h (SUBBI): New macro.
(SUBWORDSIQI, SUBWORDSIHI, SUBWORDSIUQI): New functions.
(SUBWORDDIHI, SUBWORDDIUQI, SUBWORDDIDF): Likewise.
2000-11-19 22:27:14 +00:00
Ben Elliston
2d84da1b7c
2000-11-16 Ben Elliston <bje@redhat.com>
...
* cgen-types.h (VOID): New type.
2000-11-16 03:21:48 +00:00
Ben Elliston
dbc168afd2
2000-11-09 Ben Elliston <bje@redhat.com>
...
* sim-fpu.c (sim_fpu_one): Set exponent to 0.
(sim_fpu_two): Set exponent to 1.
2000-11-08 23:19:45 +00:00