summaryrefslogtreecommitdiff
path: root/sim
Commit message (Collapse)AuthorAgeFilesLines
* 2003-05-18 Mark Kettenis <kettenis@gnu.org>Mark Kettenis2003-05-189-106/+147
| | | | | | | | | | | | | | | | | | Merge from mainline. * i386-tdep.h (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS): Remove defenitions. (IS_FP_REGNUM, IS_SSE_REGNUM): Remove definitions. * i386-tdep.c (i386_gdbarch_init): Don't set register_bytes, register_size, call_dummy_words and sizeof_call_dummy. * i386-linux-tdep.c (i386_linux_init_abi): Don't set register_bytes. * x86-64-tdep.c (x86_64_init_abi): Don't set register_bytes and register_size. (x86_64_register_bytes): Remove variable. (_initialize_x86_64_tdep): Remove function. * i386-linux-tdep.c (i386_linux_sigcontext_addr): Call read_memory with correct arguments. * config/i386/x86-64linux.mt (TDEPFILES): Add i386-linux-tdep.o.
* Merge from mainline.Mark Kettenis2003-05-049-9/+28
|
* * i386-tdep.h (i386bsd_sigcontext_addr): Remove prototype.Mark Kettenis2003-04-19424-54244/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * i386-tdep.c: Mark functions that are 64-bit safe as such. (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, I386_ST0_REGNUM): New defines. (CODESTREAM_BUFSIZ, codestream_tell, codestream_peek, codestream_get): Remove define. (codestream_next_addr, condestream_addr, condestream_buf, codestream_off, codestream_cnt): Remove variables. (codestream_fill, codestream_seek, codestream_read): Remove functions. (i386_follow_jump): Rewrite to avoid usage of removed codestream functionality. (i386_get_frame_setup, i386_frameless_signal_p, i386_frame_chain, i386_sigtramp_saved_pc, i386_sigtramp_saved_sp, i386_frame_saved_pc, i386_saved_pc_after_call, i386_frame_num_args, i386_frame_init_saved_regs, i386_push_return_address, i386_do_pop_frame, i386_pop_frame, i386_push_arguments): Remove functions. (i386_skip_prologue): Rewrite to avoid usage of removed codestream functionality. Use i386_analyze_prologue instead of i386_get_frame_setup. (I386_NUM_SAVED_REGS): New define. (struct i386_frame_cache): New structure. (i386_alloc_frame_cache, i386_analyze_struct_return, i386_skip_probe, i386_analyze_frame_setup, i386_analyze_register_saves, i386_analyze_prologue, i386_unwind_pc, i386_frame_cache, i386_frame_this_id, i386_frame_prev_register, i386_sigtramp_frame_cache, i386_sigtramp_frame_this_id, i386_sigtramp_frame_prev_register, i386_frame_p, i386_frame_base_address, i386_unwind_dummy_id, i386_save_dummy_tos, i386_push_dummy_call): New functions. (i386_frame_unwind, i386_sigtramp_frame_unwind, i386_frame_base): New variables. (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Define in terms of I386_EAX_REGNUM and I386_EDX_REGNUM. (i386_extract_return_value, i386_store_return_value): Use I386_ST0_REGNUM where appropriate. (i386_extract_struct_value_address): Rewrite to use extract_address. (i386_svr4_pc_in_sigtramp): Add comment. (i386_svr4_sigcontext_addr): Rewrite. (i386_svr4_init_abi): Adjust TDEP->sc_pc_offset and TDEP->sc_sp_offset. (i386_gdbarch_init): Don't set deprecated_init_frame_pc. Set sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum in terms of new defines. Set push_dummy_call, don't set deprecated_push_arguments, deprecated_push_return_address, deprecated_pop_frame. Don't set parm_boundary. Don't set deprecated_frame_chain, deprecated_frame_saved_pc, deprecated_saved_pc_after_call. Set unwind_dummy_id, save_dummy_frame_tos, unwind_pc. Call frame_unwind_append_predicate and frame_base_set_default. Don't set deprecated_dummy_write_pc. * i386-linux-tdep.c (i386_linux_sigcontext_addr): Rewrite. (skip_gnu_resolver): Renamed from skip_hurd_resolver. All callers changed. Use frame_pc_unwind instead of DEPRECATED_SAVED_PC_AFTER_CALL. * i386bsd-tdep.c (i386bsd_sigcontext_addr): Rewrite. * i386-sol2-tdep.c (i386_sol2_init_abi): Don't set TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. Rely on the SVR4 defaults. * config/i386/i386sol2.mt (TDEPFILES): Remove i386bsd-tdep.o.
* Fix changelog.Andrew Cagney2003-04-161-2/+2
|
* 2003-04-15 Richard Sandiford <rsandifo@redhat.com>Chris Demetriou2003-04-162-1/+8
| | | | | * vr.igen (do_vr_mul_op): Zero-extend the low 32 bits of unsigned operands.
* 2003-04-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-04-132-2/+6
| | | | * Make-common.in (sim-events.o, sim-config.o): Depend on sim-main.h.
* 2003-04-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-04-132-0/+55
| | | | * compile.c (sim_resume): Implement 'daa' and 'das' instructions.
* 2003-04-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-04-1355-2/+31460
| | | | | | | | | * configure.in: Add testsuite to extra_subdirs. * configure: Regenerate. 2003-04-13 Michael Snyder <msnyder@redhat.com> * sim/h8300: New directory. Tests for Hitachi h8/300 family.
* Only call XScale_check_memacc if in XScale mode.Nick Clifton2003-04-132-2/+8
|
* oops - omitted from previous deltaNick Clifton2003-04-071-2/+2
|
* * simops.c (OP_40): Delete. Move code to...Nick Clifton2003-04-064-46/+48
| | | | | * v850-igen.c (): ...Here. Sign extend the first operand. * simops.h (OP_40): Remove prototype.
* Add tests for ARM simulator.Nick Clifton2003-04-01175-0/+8600
|
* Remove use of __IWMMXT__.Nick Clifton2003-03-307-43/+23
|
* Add iWMMXt support to ARM simulatorNick Clifton2003-03-2712-10/+4006
|
* fix date on latest ChangeLog entry.Nick Clifton2003-03-201-1/+1
|
* Add Cirrus Maverick support to arm simulatorNick Clifton2003-03-2010-31/+1466
|
* Added Commandline Support.D.Venkatasubramanian2003-03-203-0/+214
| | | | | | | | | | | | | | | 2003-03-20 D.Venkatasubramanian <dvenkat@noida.hcltech.com> * compile.c (cmdline_location): Added function to return the location of 8-bit (256 locations) where the Command Line arguments would be stored. (decode): Added a TRAP to 0xcc for Commandline processing using pseudo opcode O_SYS_CMDLINE. (sim_resume): Added handling of O_SYS_CMDLINE Trap. (sim_create_inferior): Setting a pointer to Commandline Args array. * inst.h: Added a new variable ptr_command_line for storing pointer to Commandline array.
* File I/O Support added.D.Venkatasubramanian2003-03-142-6/+316
| | | | | | | | | | | 2003-03-14 D.Venkatasubramanian <dvenkat@noida.hcltech.com> * compile.c (decode): Added code for some more magic traps. * compile.c (sim_resume): Added support for File I/O system calls through callback to host_system. System calls provided support for : open, read, write, lseek, close, stat, fstat Only basic support for stat and fstat.
* (SWIWrite0): Catch big-endian bug when printing charactersNick Clifton2003-03-022-1/+12
|
* * Makefile.in (SIM_EXTRA_CFLAGS): Set WITH_TARGET_ADDRESS_BITSIZEStephane Carrez2003-03-022-2/+14
| | | | | to 32 to support memory bank switching; temporarily use 32-bit for WORD_BITSIZE to avoid a bug in sim-common.
* 2003-03-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-03-012-1/+10
| | | | | * sim-engine.c (sim_engine_halt): If jmpbuf is invalid, abort. (sim_engine_vabort): Ditto.
* * interp.c (sim_fetch_register): Only store a single byte forStephane Carrez2003-03-012-2/+14
| | | | 1 byte registers.
* Index: arm/ChangeLogAndrew Cagney2003-02-2737-44/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-27 Andrew Cagney <cagney@redhat.com> * wrapper.c (sim_create_inferior, sim_open): Rename _bfd to bfd. Index: common/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * sim-utils.h (sim_analyze_program, sim_load_file): Rename _bfd to bfd. * sim-hload.c (sim_load), sim-base.h (sim_state_base): Ditto. * nrun.c (main): Ditto. Index: d10v/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd. Index: erc32/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * interf.c (sim_open, sim_create_inferior): Rename _bfd to bfd. Index: h8300/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd. Index: h8500/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd. Index: i960/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * sim-if.c (sim_open, sim_create_inferior): Rename _bfd to bfd. Index: m32r/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * sim-if.c (sim_open, sim_create_inferior): Rename _bfd to bfd. Index: m68hc11/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * interp.c (sim_prepare_for_program, sim_open) (sim_create_inferior): Rename _bfd to bfd. Index: mcore/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd. Index: mips/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * interp.c (sim_open): (sim_create_inferior): Index: mn10200/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd. Index: mn10300/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * interp.c (sim_open, sim_create_inferior, sim_open) (sim_create_inferior): Rename _bfd to bfd. Index: ppc/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * sim_calls.c (sim_open, sim_create_inferior): Rename _bfd to bfd. Index: sh/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * interp.c (init_dsp, sim_open, sim_create_inferior): Rename _bfd to bfd. Index: v850/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd. Index: z8k/ChangeLog 2003-02-27 Andrew Cagney <cagney@redhat.com> * iface.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
* Index: common/ChangeLogAndrew Cagney2003-02-264-4/+14
| | | | | | | | | | | | | 2003-02-26 Andrew Cagney <cagney@redhat.com> * sim-engine.h (sim_engine_abort): Add noreturn attribute. (sim_engine_vabort): Ditto. (sim_engine_halt, sim_engine_restart): Ditto. Index: mn10300/ChangeLog 2003-02-26 Andrew Cagney <cagney@redhat.com> * am33.igen: Call sim_engine_abort instead of abort.
* 2003-02-26 David Carlton <carlton@math.stanford.edu>David Carlton2003-02-262-1/+10
| | | | | | | * dv-mn103tim.c (read_special_timer6_reg): Add break after empty default: label. (write_special_timer6_reg): Ditto. Update copyright.
* cgen:Joern Rennecke2003-02-213-777/+1489
| | | | | | | * cpu/sh64-media.cpu (make-mextr): Fix setting of count. sim/sh64: * sem-media-switch.c, sem-media.c: Regenerate.
* Index: include/gdb/ChangeLogAndrew Cagney2003-02-206-334/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-20 Andrew Cagney <ac131313@redhat.com> * remote-sim.c (gdbsim_insert_breakpoint) (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS code. Index: include/gdb/ChangeLog 2003-02-20 Andrew Cagney <ac131313@redhat.com> * remote-sim.h (SIM_RC): Delete unused SIM_RC_UNKNOWN_BREAKPOINT, SIM_RC_INSUFFICIENT_RESOURCES and SIM_RC_DUPLICATE_BREAKPOINT. (sim_set_breakpoint, sim_clear_breakpoint): Delete declarations. (sim_clear_all_breakpoints, sim_enable_breakpoint): Ditto. (sim_enable_all_breakpoints, sim_disable_breakpoint): Ditto. (sim_disable_all_breakpoints): Ditto. Index: sim/common/ChangeLog 2003-02-20 Andrew Cagney <ac131313@redhat.com> * Make-common.in (SIM_NEW_COMMON_OBJS): Remove sim-break.o (sim-break_h): Delete macro. (sim-break.o): Delete rule. * sim-break.c: Delete file. * sim-break.h: Delete file. * sim-base.h [SIM_HAVE_BREAKPOINTS]: Don't include "sim-break.h". (STATE_BREAKPOINTS): Delete macro. (sim_state_base): Delete field breakpoints. * sim-module.c (modules) [SIM_HAVE_BREAKPOINTS]: Don't add sim_break_install to array.
* Commit Sh2E additionNick Clifton2003-02-062-24/+32
|
* * compile.c (init_pointers): Abort if wreg never gets initialized.Kazu Hirata2003-02-052-2/+10
| | | | (sim_resume): Fix the handling of exts.w and extu.w.
* * compile.c (sim_resume): Fix the handling of bxor.Kazu Hirata2003-02-012-1/+5
|
* Missed one...Michael Snyder2003-01-161-2/+1
|
* 2003-01-16 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-01-162-85/+37
| | | | | * compile.c: Change K&R function definitions to ISO. (fetch): Make static, and eliminate unused parameter 'n'.
* 2003-01-14 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2003-01-142-0/+38
| | | | * mips.igen (LUXC1, SUXC1): New, for mipsV and mips64.
* 2003-01-14 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2003-01-142-23/+4
| | | | * mips.igen (EI, DI): Remove.
* 2003-01-10 Ben Elliston <bje@redhat.com>Ben Elliston2003-01-102-0/+5
| | | | | * README.Cygnus: Rename from this .. * README: .. to this.
* * remove duplicated entry from 2002-05-17 on 2002-05-20.Ben Elliston2003-01-101-23/+1
| | | | * s/SWI_TARGET_SWITCHES/SIM_TARGET_SWITCHES/.
* * run.c (usage): Fix typos.Kazu Hirata2003-01-082-2/+6
|
* 2003-01-05 Richard Sandiford <rsandifo@redhat.com>Chris Demetriou2003-01-062-1/+5
| | | | * Makefile.in (tmp-run-multi): Fix mips16 filter.
* 2003-01-04 Richard Sandiford <rsandifo@redhat.com>Chris Demetriou2003-01-057-54/+896
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Andrew Cagney <ac131313@redhat.com> Gavin Romig-Koch <gavin@redhat.com> Graydon Hoare <graydon@redhat.com> Aldy Hernandez <aldyh@redhat.com> Dave Brolley <brolley@redhat.com> Chris Demetriou <cgd@broadcom.com> * configure.in (mips64vr*): Define TARGET_ENABLE_FR to 1. (sim_mach_default): New variable. (mips64vr-*-*, mips64vrel-*-*): New configurations. Add a new simulator generator, MULTI. * configure: Regenerate. * Makefile.in (SIM_MULTI_OBJ, SIM_EXTRA_DISTCLEAN): New variables. (multi-run.o): New dependency. (SIM_MULTI_ALL, SIM_MULTI_IGEN_CONFIGS): New variables. (tmp-mach-multi, tmp-itable-multi, tmp-run-multi): New rules. (tmp-multi): Combine them. (BUILT_SRC_FROM_MULTI): New variable. Depend on tmp-multi. (clean-extra): Remove sources in BUILT_SRC_FROM_MULTI. (distclean-extra): New rule. * sim-main.h: Include bfd.h. (MIPS_MACH): New macro. * mips.igen (vr4120, vr5400, vr5500): New models. (clo, clz, dclo, dclz, madd, maddu, msub, msub, mul): Add *vr5500. * vr.igen: Replace with new version.
* 2003-01-04 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2003-01-053-161/+186
| | | | | * configure.in: Use SIM_AC_OPTION_RESERVED_BITS(1). * configure: Regenerate.
* 2002-12-31 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2002-12-313-40/+6
| | | | | | * sim-main.h (check_branch_bug, mark_branch_bug): Remove. * mips.igen: Remove all invocations of check_branch_bug and mark_branch_bug.
* * compile.c: Fix formatting.Kazu Hirata2002-12-263-40/+51
| | | | * inst.h: Likewise.
* * arch.c,arch.h,cpuall.h: Regenerate.Doug Evans2002-12-2017-253/+265
| | | | | * cpu.c,cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate. * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Regenerate.
* 2002-12-16 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2002-12-172-2/+6
| | | | * tconfig.in: Include "gdb/callback.h" and "gdb/remote-sim.h".
* 2002-11-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney2002-11-303-21/+26
| | | | | * simops.c: Use int, 1, 0 instead of boolean, true and false. * sim-main.h: Ditto.
* 2002-11-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney2002-11-283-1/+7
| | | | | * sim-main.h: Only include "idecode.h" once. * Makefile.in (SIM_EXTRA_DEPS): Define.
* 2002-11-27 Richard Sandiford <rsandifo@redhat.com>Chris Demetriou2002-11-282-27/+5
| | | | * sim-fpu.c (sim_fpu_inv): Use sim_fpu_div.
* 2002-11-22 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-2336-669/+778
| | | | | | | | | | | | | * dv-core.c: Update copyright. sim/common contributed to the FSF. * dv-glue.c, dv-pal.c, hw-base.c, hw-base.h, hw-device.c: Ditto. * hw-device.h, hw-handles.c, hw-handles.h: Ditto. * hw-instances.c, hw-instances.h, hw-properties.c: Ditto. * hw-properties.h, hw-tree.c, hw-tree.h, sim-alu.h: Ditto. * sim-basics.h, sim-bits.c, sim-bits.h, sim-config.c: Ditto. * sim-config.h, sim-core.c, sim-core.h, sim-endian.c: Ditto. * sim-endian.h, sim-events.c, sim-events.h, sim-inline.c: Ditto. * sim-inline.h, sim-io.c, sim-io.h, sim-n-bits.h: Ditto. * sim-n-core.h, sim-n-endian.h, sim-types.h: Ditto.
* 2002-11-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2002-11-222-14/+52
| | | | | | * gen.c (name_cmp): Rename format_name_cmp. (insn_list_insert): When a merge, compare the format name and instruction name. Add trace messages.
* 2002-11-21 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-2234-3113/+2750
| | | | | | | | | | | | * filter.c: Re-indent. * filter.h, filter_host.h, gen-engine.c, gen-engine.h: Ditto. * gen-icache.c, gen-icache.h, gen-idecode.c: Ditto. * gen-idecode.h, gen-itable.c, gen-itable.h: Ditto. * gen-model.c, gen-model.h, gen-semantics.c: Ditto. * gen-semantics.h, gen-support.c, gen-support.h: Ditto. * gen.c, gen.h, igen.c, igen.h, ld-cache.c, ld-cache.h: Ditto. * ld-decode.c, ld-decode.h, ld-insn.c, ld-insn.h, lf.c: Ditto. * lf.h, misc.c, misc.h, table.c, table.h: Ditto.