aboutsummaryrefslogtreecommitdiff
path: root/sim/common
AgeCommit message (Collapse)AuthorFilesLines
2004-12-07 * Make-common.in (sim-basics_h): Add $(callback_h).Hans-Peter Nilsson2-0/+5
2004-12-03Bah, forgot to commit the trivial fix I pointed out myself after applying ↵Hans-Peter Nilsson1-1/+1
patch for previous change
2004-12-03 * configure.in (SIM_CHECK_MEMBERS): Call for struct stat membersHans-Peter Nilsson6-5/+1044
st_dev, st_ino, st_mode, st_nlink, st_uid, st_gid, st_rdev, st_size, st_blksize, st_blocks, st_atime, st_mtime and st_ctime. * aclocal.m4 (SIM_CHECK_MEMBER, SIM_CHECK_MEMBERS_1) (SIM_CHECK_MEMBERS): New macros. * callback.c (cb_host_to_target_stat): Use temporary macro ST_x for struct stat member test and write. Add ST_x calls for each struct stat member tested in configure.in. Wrap each ST_x call in #ifdef of configure macro for that member. * configure, config.in: Regenerate.
2004-12-01Oops, forgot to save ChangeLog before committingHans-Peter Nilsson1-0/+8
2004-12-01Update copyright yearHans-Peter Nilsson1-1/+1
2004-12-01 * cgen.sh: New thirteenth parameter opcfile, defaulting toHans-Peter Nilsson2-2/+6
/dev/null. <case desc>: Pass -OPC opcfile. * Make-common.in (cgen-desc): Pass $(opcfile) as thirteenth parameter to cgen.sh.
2004-11-30* Make-common.in (sim-basics_h): Correct dependencies onRichard Earnshaw2-3/+9
cconfig.h and tconfig.h (sim-load.o): Correct typo in sim-basics_h dependency.
2004-11-18In last change: macros not rules.Richard Earnshaw1-3/+3
2004-11-18* Make-common.in (sim-*_h): Add rules for all sim headers. AlsoRichard Earnshaw2-24/+64
add sub-dependencies for other sim files that they include. (sim_main_headers): Use sim-*_h rules. (sim-load.o): Depend on sim-basics_h, not sim_main_headers.
2004-11-16 * sim-config.c (sim_config): Recognize when a bfd has unspecifiedHans-Peter Nilsson2-1/+8
endian information.
2004-11-16 * Make-common.in (sim-load.o): Depend on $(sim_main_headers) andHans-Peter Nilsson2-1/+8
$(remote_sim_h) too. (sim_main_headers): Add sim-utils.h.
2004-10-082004-10-07 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>Frank Ch. Eigler2-1/+5
* cgen-defs.h (ENDSWITCH): Changed to compile with gcc-3.4.2.
2004-07-26Index: common/ChangeLogAndrew Cagney2-2/+7
2004-07-26 Andrew Cagney <cagney@gnu.org> Problem from Olaf Hering <olh@suse.de>. * Makefile.in (install-man, installdirs): Add DESTDIR prefix. Index: ppc/ChangeLog 2004-07-26 Andrew Cagney <cagney@gnu.org> Problem from Olaf Hering <olh@suse.de>. * Makefile.in (install, installdirs): Add DESTDIR.
2004-07-10 * hw-tree.c (parse_integer_property): Typo fix in comments.Ben Elliston3-3/+8
* sim-options.c (sim_args_command): Likewise.
2004-06-29Index: mn10200/ChangeLogAndrew Cagney2-1/+5
2004-06-28 Andrew Cagney <cagney@gnu.org> * interp.c: Rename ui_loop_hook to deprecated_ui_loop_hook. Index: d10v/ChangeLog 2004-06-28 Andrew Cagney <cagney@gnu.org> * interp.c (sim_resume): Rename ui_loop_hook to deprecated_ui_loop_hook. Index: arm/ChangeLog 2004-06-28 Andrew Cagney <cagney@gnu.org> * armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook. Index: common/ChangeLog 2004-06-28 Andrew Cagney <cagney@gnu.org> * run.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
2004-06-27 * callback.c (os_shutdown): Fix bug in last change: actuallyJoern Rennecke2-0/+6
mark file descriptors as available on startup.
2004-06-252004-06-25 J"orn Rennecke <joern.rennecke@superh.com>Joern Rennecke2-14/+45
include/gdb: * callback.h (host_callback_struct): Replace members fdopen and alwaysopen with fd_buddy. sim/common: * callback.c: Changed all users.
2004-06-15 * sim-load.c (sim_load_file): Use bfd_get_section_sizeAlan Modra2-1/+6
instead of bfd_get_section_size_before_reloc.
2004-05-18 * dv-glue.c (hw_glue_finish): Cast result of sizeof to long beforeDaniel Jacobowitz2-2/+7
passing it to printf.
2004-05-10 * callback.c: Update copyright dates.Daniel Jacobowitz6-10/+32
* run.c: Likewise. * sim-basics.h: Likewise. * sim-load.c: Likewise. * syscall.c: Likewise. From Maciej W. Rozycki <macro@ds2.pg.gda.pl> * callback.c: Include cconfig.h instead of config.h. * run.c: Likewise. * sim-basics.h: Likewise. * sim-load.c: Likewise. * syscall.c: Likewise.
2004-01-15 * Makefile.in (clean): Remove rm -f $(ALL), as $(ALL) is empty.Ben Elliston2-1/+4
2003-12-19Add support for m32r-linux target, including a RELA ABI and PIC.Nick Clifton2-0/+23
2003-11-22 * sim-options.c (standard_options): Fix the names of H8Kazu Hirata2-3/+8
variants.
2003-10-31Index: sim/frv/ChangeLogAndrew Cagney3-2/+7
2003-10-30 Andrew Cagney <cagney@redhat.com> * traps.c: Replace "struct symbol_cache_entry" with "struct bfd_symbol". Index: sim/d10v/ChangeLog 2003-10-30 Andrew Cagney <cagney@redhat.com> * simops.c: Replace "struct symbol_cache_entry" with "struct bfd_symbol". Index: sim/common/ChangeLog 2003-10-30 Andrew Cagney <cagney@redhat.com> * sim-trace.c, sim-base.h: Replace "struct symbol_cache_entry" with "struct bfd_symbol". Index: ld/ChangeLog 2003-10-30 Andrew Cagney <cagney@redhat.com> * emultempl/pe.em, pe-dll.c: Replace "struct symbol_cache_entry" with "struct bfd_symbol". Index: bfd/ChangeLog 2003-10-30 Andrew Cagney <cagney@redhat.com> * syms.c: Replace "struct symbol_cache_entry" with "struct bfd_symbol". * vms.h, targets.c, section.c, reloc.c, peicode.h: Ditto. * mipsbsd.c, elf.c, linker.c, elf-bfd.h, ecoff.c: Ditto. * cpu-z8k.c, cpu-ns32k.c, cpu-h8500.c, bfd.c, bfd-in.h: Ditto. * bfd-in2.h: Re-generate.
2003-10-212003-10-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+5
* callback.c (os_truncate): Call "truncate", and not "stat".
2003-10-202003-10-19 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+5
* targets.c: Replace "struct sec" with "struct bfd_section" * syms.c, sparclynx.c, section.c, opncls.c: Ditto. * libcoff-in.h, libbfd-in.h, elfxx-target.h: Ditto. * elf.c, coffgen.c, bfd.c, bfd-in.h, aoutf1.h: Ditto. * aout-tic30.c, aout-target.h: * bfd-in2.h, libcoff.h, libbfd.h: Regenerate. Index: binutils/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * coffgrok.h (coff_section): Replace 'struct sec" with "struct bfd_section". Index: gdb/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * symtab.c: Replace "struct sec" with "struct bfd_section". * objfiles.c, linespec.c, blockframe.c, block.c: Ditto. Index: ld/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * pe-dll.c: Replace "struct sec" with "struct bfd_section". Index: sim/common/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * sim-base.h: Replace "struct sec" with "struct bfd_section".
2003-10-15include/gdb:Joern Rennecke2-0/+32
* callback.h (struct host_callback_struct): New members ftruncate and truncate. gdb: sim/common: * callback.c (os_ftruncate, os_truncate): New functions. (default_callback): Initialize ftruncate and truncate members. sim/sh: * syscall.h (SYS_truncate, SYS_ftruncate): Define. * interp.c (trap): Add support for SYS_ftruncate and SYS_truncate.
2003-09-082003-09-08 Dave Brolley <brolley@redhat.com>Dave Brolley3-11/+25
On behalf of Doug Evans <dje@sebabeach.org> * cgen.sh: New arg archfile. * Make-common.in (cgen-arch,cgen-cpu,cgen-defs,cgen-decode, cgen-cpu-decode,cgen-desc): Update call to cgen.sh.
2003-08-292003-08-20 Michael Snyder <msnyder@redhat.com>Dave Brolley4-0/+45
Dave Brolley <brolley@redhat.com> * cgen-par.h (flags, word1): New target-specific fields of CGEN_WRITE_QUEUE_ELEMENT. (CGEN_WRITE_QUEUE_ELEMENT_FLAGS): New accessor macro. (CGEN_WRITE_QUEUE_ELEMENT_WORD1): New accessor macro. * gennltvals.sh: Add frv target. * nltvals.def: Add frv target.
2003-08-28Index: common/ChangeLogAndrew Cagney3-3/+12
2003-08-28 Andrew Cagney <cagney@redhat.com> * dv-glue.c (hw_glue_finish): Change %d to %ld to match sizeof. * sim-options.c (print_help): Cast the format with specifier to "int". Index: mn10300/ChangeLog 2003-08-28 Andrew Cagney <cagney@redhat.com> * dv-mn103ser.c (do_polling_event): Change type of "serial_reg" to "long". (read_status_reg): Cast "serial_reg" to "long". * dv-mn103tim.c (do_counter_event): Change type of "timer_nr" to "long". (do_counter6_event, write_mode_reg, write_tm6md): Ditto.
2003-06-232003-06-23 Michael Snyder <msnyder@redhat.com>Michael Snyder2-6/+1
* nrun.c (main): Delete h8/300 ifdef (sim now handles signals).
2003-06-232003-06-23 Michael Snyder <msnyder@redhat.com>Michael Snyder2-2/+6
* sim-reg.c: Fix cut-and-paste bug in comment.
2003-06-222003-06-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-30/+32
From matthew green <mrg@redhat.com>: * sim-fpu.h: Update copyright. (sim_fpu_fraction, sim_fpu_guard): New prototypes. * sim-fpu.c: Update copyright. (sim_fpu_fraction, sim_fpu_guard): New inline functions.
2003-06-22Oops! Committed to much, reverting :-(Andrew Cagney2-24/+30
2003-06-22Fix changelogAndrew Cagney3-3/+24
2003-06-202003-06-17 Doug Evans <dje@sebabeach.org>Frank Ch. Eigler3-3/+9
* cgen-trace.h (sim_disasm_read_memory): Update args to be compatible with disassemble_info:read_memory_func. * cgen-trace.c (sim_disasm_read_memory): Ditto.
2003-06-052003-06-04 Michael Snyder <msnyder@redhat.com>Michael Snyder3-27/+20
* common/run.c (main): Remove SIM_H8300 ifdef. (usage): Ditto. * common/sim-options.c (STANDARD_OPTIONS): Add SIM_H8300SX. (standard_options): Add '-x' for h8/300sx. (standard_option_handler): Add case for SIM_H8300SX.
2003-04-132003-04-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-2/+6
* Make-common.in (sim-events.o, sim-config.o): Depend on sim-main.h.
2003-03-012003-03-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+10
* sim-engine.c (sim_engine_halt): If jmpbuf is invalid, abort. (sim_engine_vabort): Ditto.
2003-02-27Index: arm/ChangeLogAndrew Cagney5-8/+14
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.
2003-02-26Index: common/ChangeLogAndrew Cagney2-3/+9
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-20Index: include/gdb/ChangeLogAndrew Cagney6-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.
2003-01-08 * run.c (usage): Fix typos.Kazu Hirata2-2/+6
2002-11-282002-11-27 Richard Sandiford <rsandifo@redhat.com>Chris Demetriou2-27/+5
* sim-fpu.c (sim_fpu_inv): Use sim_fpu_div.
2002-11-232002-11-22 Andrew Cagney <ac131313@redhat.com>Andrew Cagney36-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-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".