summaryrefslogtreecommitdiff
path: root/sim
Commit message (Collapse)AuthorAgeFilesLines
* 2002-11-06 Richard Sandiford <rsandifo@redhat.com>Chris Demetriou2002-11-062-8/+10
| | | | | | * gen-engine.c (print_engine_issue_prefix_hook): Don't add the global prefix to ENGINE_ISSUE_PREFIX_HOOK. (print_engine_issue_postfix_hook): Likewise ENGINE_ISSUE_POSTFIX_HOOK.
* 2002-11-06 Richard Sandiford <rsandifo@redhat.com>Chris Demetriou2002-11-062-1/+8
| | | | | * Make-common.in (SIM_EXTRA_DISTCLEAN): New macro. (distclean): Depend on it.
* * cgen-trace.h: Test __BFD_H_SEEN__ rather than BFD_VERSION.Alan Modra2002-10-142-1/+5
|
* gcc uses trap 33 for profiling, but the simulator didn't support it.Joern Rennecke2002-10-113-27/+33
| | | | | | | | | | | | This patch fixes the gcc.dg/nest.c failures for sh-elf. Fri Oct 11 16:22:28 2002 J"orn Rennecke <joern.rennecke@superh.com> * interp.c (trap): Return int. Take extra parameter for address of the trap instruction. Changed all callers. Add case 33 for profiling. * gencode.c (trapa): Handle trap 33 using the trap function. Add read of vector for generic traps.
* Fix handling of v850e bit-twiddle instructions.Jim Wilson2002-09-302-2/+8
| | | | | | * simops.c (OP_E6077E0): And op1 with 7 after reading register, not before. (BIT_CHANGE_OP): Likewise.
* Add support for -m option. Fix PR gdb/433.Andrew Cagney2002-09-272-2/+25
|
* 2002-09-27 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-09-272-1/+6
| | | | | * hw_disk.c (hw_disk_init_address): Set device type to "block", not "disk".
* Fix bug in support for trap instruction.Jim Wilson2002-09-272-1/+5
| | | | * simops (OP_10007E0): Don't subtract 4 from PC.
* Remove v850ea referencesNick Clifton2002-09-194-329/+8
|
* 2002-08-29 Dave Brolley <brolley@redhat.com>Dave Brolley2002-08-292-1/+5
| | | | * Make-common.in (CGEN_READ_SCM): Remove ../../cgen/stamp-cgen.
* Makefile.in: Add gen-zero-r0 option.Nick Clifton2002-08-294-1/+13
| | | | | sim-main.h (GPR_SET, GPR_CLEAR): Define. simops.c (OP_24007E0): Sign extend the imm9 operand of a mul instruction.
* 2002-08-28 Dave Brolley <brolley@redhat.com>Dave Brolley2002-08-282-4/+19
| | | | | * gen-support.c (gen_support_h): Generate '#define semantic_illegal <PREFIX>_semantic_illegal'.
* * MAINTAINERS: Change my mailing address.Geoffrey Keating2002-08-242-1/+5
|
* 2002-08-22 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2002-08-232-0/+117
| | | | * compare_igen_models: New script.
* oops - fix typo in previous deltaNick Clifton2002-08-161-2/+2
|
* Catch and ignore SWIs of -1, they can be caused by an interrupted systemNick Clifton2002-08-152-0/+19
| | | | call being resumed by GDB.
* * dv-m68hc11eepr.c (struct m68hc11eepr ): Use const char* for filename.Stephane Carrez2002-08-132-3/+7
|
* * interp.c (sim_prepare_for_program): Look up the image for theStephane Carrez2002-08-132-1/+30
| | | | | reset vector and set cpu_use_elf_start to 1 if not found. (sim_open): Do not set cpu_use_elf_start.
* * interp.c (sim_hw_configure): Return 1 for success.Stephane Carrez2002-08-132-3/+11
| | | | | (sim_prepare_for_program): Use the sim_hw_configure exit code to return SIM_RC_FAIL.
* Fix english and ChangeLog entryStephane Carrez2002-08-131-4/+1
|
* * dv-m68hc11.c (m68hc11cpu_io_read_buffer): Translate memoryStephane Carrez2002-08-133-1/+40
| | | | | | | | | bank window to some virtual address to read from extended memory. (m68hc11cpu_io_write_buffer): Likewise for writing. (attach_m68hc11_regs): When use_bank property is defined, attached to the 68HC12 16K memory bank window. * interp.c (sim_hw_configure): Create memory region for banked memory.
* * interp.c (sim_hw_configure): Connect port-X to cpu-write-port.Stephane Carrez2002-08-133-1/+23
| | | | | * dv-m68hc11.c (m68hc11cpu_ports): Add cpu-write-port input. (m68hc11cpu_port_event): Handle CPU_WRITE_PORT event.
* * dv-m68hc11.c (m68hc11cpu_io_write): Fix to update IO mappingStephane Carrez2002-08-132-2/+7
| | | | when IO mapping changed, not when internal RAM mapping is changed.
* * m68hc11_sim.c (cpu_special): Handle call and rtc instructions.Stephane Carrez2002-08-135-23/+137
| | | | | | | | | | | | | | | * sim-main.h (M6812_CALL_INDIRECT): Add to enum. (m6811_regs): Add page register. (cpu_set_page, cpu_get_page): New macros. (phys_to_virt): New function. (cpu_get_indexed_operand_addr, cpu_return): Declare. * gencode.c: Identify indirect addressing mode for call and fix daa. (gen_function_entry): New param to tell if src8/dst8 locals are necessary. (gen_interpreter): Use it to avoid generation of unused variables. * interp.c (sim_fetch_register): Allow to read page register; page register, A, B and CCR are only 1 byte wide. (sim_store_register): Likewise for writing.
* 2002-07-30 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2002-07-312-4/+98
| | | | | | | * mips.igen (do_load_double, do_store_double): New functions. (LDC1, SDC1): Rename to... (LDC1b, SDC1b): respectively. (LDC1a, SDC1a): New instructions for MIPS II and MIPS32 support.
* 2002-07-29 Michael Snyder <msnyder@redhat.com>Michael Snyder2002-07-292-2/+7
| | | | | * cp1.c (fp_recip2): Modify initialization expression so that GCC will recognize it as constant.
* Add dependences to Makefile.in and include sim-h8300 in compile.cAndrey Volkov2002-07-293-2/+11
|
* Delete w65 directory.Andrew Cagney2002-07-1811-5658/+4
|
* Index: sim/common/ChangeLogAndrew Cagney2002-07-172-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".
* include/gdb:Joern Rennecke2002-07-173-115/+170
| | | | | | | | | | | | * sim-sh.h: Add enum constants for sh[1-4], sh3e, sh3?-dsp, renumbering the sh-dsp registers to use distinct numbers. sim/sh: * Makefile.in (interp.o): Depend on $(srcroot)/include/gdb/sim-sh.h. * interp.c: Include "gdb/sim-sh.h". (sim_store_register, sim_fetch_register): Use constants defined there. gdb: * sh-tdep.c (sh_dsp_register_sim_regno): New function. (sh_gdbarch_init): Use it for sh-dsp.
* Obsolete fr30.Andrew Cagney2002-07-1627-25913/+21632
|
* * sim-resume.c (sim_resume): Add local variable sig_to_deliver toAndrew Cagney2002-07-152-6/+16
| | | | avoid possible longjmp problems with automatic variable siggnal.
* From 2002-07-11 Momchil Velikov <velco@fadata.bg>:Andrew Cagney2002-07-142-0/+7
| | | | | * Make-common.in (installdirs): Make $(libdir) too, needed when installing libsim.a.
* Obsolete the d30v.Andrew Cagney2002-07-1417-4249/+4238
|
* Add checks to catch invaliud XScale MIA, MIAPH and MIAxy instructions.Nick Clifton2002-07-052-68/+79
|
* 2002-06-24 Richard Sandiford <rsandifo@redhat.com>Elena Zannoni2002-06-242-3/+11
| | | | | | | | * sh64.c: Update path of "callback.h". 2002-06-20 Elena Zannoni <ezannoni@redhat.com> * sh64.c: Include correct file for register numbers.
* * Makefile.in (INTL_SRC): Define.Andrew Cagney2002-06-222-1/+12
| | | | | | (INTL_CFLAGS): Define. (INTL_DIR): Define. (STD_CFLAGS): Add INTL_CFLAGS.
* Set correct value for ADP_Stopped_RunTimeErrorNick Clifton2002-06-212-40/+41
|
* 2002-06-18 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2002-06-182-2/+13
| | | | | | | * mdmx.c (SD_): Delete. (Unpredictable): Re-define, for now, to directly invoke unpredictable_action(). (mdmx_acc_op): Fix error in .ob immediate handling.
* * interp.c (sim_firmware_command): Initialize `address'.Andrew Cagney2002-06-182-1/+8
|
* * interp.c (sim_resume): Fix setting of bus error forJoern Rennecke2002-06-182-1/+6
| | | | instruction fetch.
* * hw-events.c (hw_event_queue_schedule): Initialize `dummy'.Andrew Cagney2002-06-172-0/+3
|
* * d10v_sim.h (SET_PSW_BIT): Add cast to avoid inverting an enum.Andrew Cagney2002-06-172-1/+5
|
* * simops.c (trace_result): Fix printf formatting.Andrew Cagney2002-06-172-1/+6
|
* * sim-memopt.c: Include <unistd.h>.Andrew Cagney2002-06-173-1/+11
| | | | | (do_memopt_add): Fix printf format. * sim-events.c (sim_events_schedule): Initialize ``dummy''.
* * gen.c (gen_entry_expand_opcode): Initialize ``value'' to -1 andAndrew Cagney2002-06-174-2/+13
| | | | | | ``t'' to NULL. * igen.c (main): Add default case to switch. * gen-icache.c (print_icache_extraction): Ditto.
* * Makefile.in (BUILD_CFLAGS): Remove -O0.Andrew Cagney2002-06-172-1/+5
|
* 2002-06-17 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-06-172-0/+18
| | | | | * psim.c (psim_options): Don't choke when gdb invokes us with the --architecture option, just ignore it.
* Import current --enable-gdb-build-warnings.Andrew Cagney2002-06-1631-1063/+1529
|
* * Makefile.in (autoconf-changelog autoheader-changelog): Let name,Andrew Cagney2002-06-162-4/+14
| | | | | id, date and host to be overriden by NAME, ID, DATE and HOST respectfully. Use ISO dates.