X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fcommon%2FChangeLog;h=6bd703352b51bebfbfbefec572fb058fe3632e42;hb=35695fd6e5451726c124a1048a7f260f02cbcd1e;hp=8107fd6b689d1d33389cd7a6b0b9e0d1060c279d;hpb=0d277f51d0aae02edc7226fe9cd91ab0a6c67470;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 8107fd6b68..6bd703352b 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,555 @@ +2005-01-14 Andrew Cagney + + * configure.ac: Replace SIM_AC_COMMON with sinclude of common.m4. + Add explicit call to AC_CONFIG_HEADER. + * common.m4: Delete call to AC_CONFIG_HEADER, update usage. + * configure: Re-generate. + +2005-01-12 Andrew Cagney + + * common.m4: New file, based on of aclocal.m4. + +2005-01-11 Andrew Cagney + + * aclocal.m4 (SIM_AC_OUTPUT): Rewrite to use 2.59 macros. + * configure: Regenerated to track ../common/aclocal.m4 changes. + +2005-01-07 Andrew Cagney + + * configure.ac: Rename configure.in, require autoconf 2.59. + * aclocal.m4 (SIM_AC_COMMON): Delete call to AC_CONFIG_AUX_DIR. + * configure: Re-generate. + +2004-12-15 Hans-Peter Nilsson + + * syscall.c (cb_syscall) + : New cases. + +2004-12-13 Hans-Peter Nilsson + + * syscall.c (cb_syscall) : New case. + (cb_syscall) : New case. + * callback.c (os_lstat): New function. + +2004-12-08 Hans-Peter Nilsson + + * run.1: Document --sysroot=filepath. + * sim-options.c (STANDARD_OPTIONS): New member OPTION_SYSROOT. + (standard_options): Support --sysroot=. + (standard_option_handler): Handle OPTION_SYSROOT. + * syscall.c (simulator_sysroot): Define, initialized empty. + (get_path): Prepend simulator_sysroot to absolute file path. + [HAVE_STRING_H]: Include string.h. + [!HAVE_STRING_H && HAVE_STRINGS_H]: Include strings.h. + * nrun.c [HAVE_UNISTD_H]: Include unistd.h. + (main): If simulator_sysroot is not empty, chdir there. + * sim-config.h (simulator_sysroot): Declare. + + * aclocal.m4 (SIM_AC_OUTPUT): Substitute @cgen_breaks@ for "break + cgen_rtx_error" in a CGEN-generated simulator. + * gdbinit.in: Break on sim_core_signal too. Have autoconf + replacement for CGEN-related breakpoints. + +2004-12-07 Hans-Peter Nilsson + + * Make-common.in (sim-basics_h): Add $(callback_h). + +2004-12-03 Hans-Peter Nilsson + + * configure.in (SIM_CHECK_MEMBERS): Call for struct stat members + 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-01 Hans-Peter Nilsson + + * cgen.sh: New thirteenth parameter opcfile, defaulting to + /dev/null. + : Pass -OPC opcfile. + * Make-common.in (cgen-desc): Pass $(opcfile) as thirteenth + parameter to cgen.sh. + +2004-11-30 Richard Earnshaw + + * Make-common.in (sim-basics_h): Correct dependencies on + cconfig.h and tconfig.h + (sim-load.o): Correct typo in sim-basics_h dependency. + +2004-11-18 Richard Earnshaw + + * Make-common.in (sim-*_h): Add macros for all sim headers listing + sub-dependencies for other sim files that they include. + (sim_main_headers): Use sim-*_h macros. + (sim-load.o): Depend on sim-basics_h, not sim_main_headers. + +2004-11-16 Hans-Peter Nilsson + + * sim-config.c (sim_config): Recognize when a bfd has unspecified + endian information. + + * Make-common.in (sim-load.o): Depend on $(sim_main_headers) and + $(remote_sim_h) too. + (sim_main_headers): Add sim-utils.h. + +2004-10-07 Kazuhiro Inaoka + + * cgen-defs.h (ENDSWITCH): Changed to compile with gcc-3.4.2. + +2004-07-26 Andrew Cagney + + Problem from Olaf Hering . + * Makefile.in (install-man, installdirs): Add DESTDIR prefix. + +2004-07-10 Ben Elliston + + * hw-tree.c (parse_integer_property): Typo fix in comments. + * sim-options.c (sim_args_command): Likewise. + +2004-06-28 Andrew Cagney + + * run.c: Rename ui_loop_hook to deprecated_ui_loop_hook. + +2004-06-27 J"orn Rennecke + + * callback.c (os_shutdown): Fix bug in last change: actually + mark file descriptors as available on startup. + +2004-06-25 J"orn Rennecke + + [ include/gdb: * callback.h (host_callback_struct): Replace + members fdopen and alwaysopen with fd_buddy. ] + * callback.c: Changed all users. + +2004-06-15 Alan Modra + + * sim-load.c (sim_load_file): Use bfd_get_section_size + instead of bfd_get_section_size_before_reloc. + +2004-05-18 Daniel Jacobowitz + + * dv-glue.c (hw_glue_finish): Cast result of sizeof to long before + passing it to printf. + +2004-05-10 Daniel Jacobowitz + + * callback.c: Update copyright dates. + * run.c: Likewise. + * sim-basics.h: Likewise. + * sim-load.c: Likewise. + * syscall.c: Likewise. + +2004-05-10 Maciej W. Rozycki + + * 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-16 Ben Elliston + + * Makefile.in (clean): Remove rm -f $(ALL), as $(ALL) is empty. + +2003-12-19 Kazuhiro Inaoka + + * sim-core.c (sim_core_trans_addr): Added for m32r-linux-run. + +2003-11-22 Kazu Hirata + + * sim-options.c (standard_options): Fix the names of H8 + variants. + +2003-10-30 Andrew Cagney + + * sim-trace.c, sim-base.h: Replace "struct symbol_cache_entry" + with "struct bfd_symbol". + +2003-10-21 Andrew Cagney + + * callback.c (os_truncate): Call "truncate", and not "stat". + +2003-10-20 Andrew Cagney + + * sim-base.h: Replace "struct sec" with "struct bfd_section". + +2003-10-15 J"orn Rennecke + + * callback.c (os_ftruncate, os_truncate): New functions. + (default_callback): Initialize ftruncate and truncate members. + +2003-09-08 Dave Brolley + + On behalf of Doug Evans + * 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-28 Andrew Cagney + + * 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". + +2003-08-20 Michael Snyder + Dave Brolley + + * 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-06-23 Michael Snyder + + * nrun.c (main): Delete h8/300 ifdef (sim now handles signals). + * sim-reg.c: Fix cut-and-paste bug in comment. + +2003-06-22 Andrew Cagney + + From matthew green : + * 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-17 Frank Ch. Eigler + + From Doug Evans : + * 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-04 Michael Snyder + + * 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-13 Michael Snyder + + * Make-common.in (sim-events.o, sim-config.o): Depend on sim-main.h. + +2003-03-01 Andrew Cagney + + * sim-engine.c (sim_engine_halt): If jmpbuf is invalid, abort. + (sim_engine_vabort): Ditto. + +2003-02-27 Andrew Cagney + + * 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. + +2003-02-26 Andrew Cagney + + * sim-engine.h (sim_engine_abort): Add noreturn attribute. + (sim_engine_vabort): Ditto. + (sim_engine_halt, sim_engine_restart): Ditto. + +2003-02-20 Andrew Cagney + + * 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 Kazu Hirata + + * run.c (usage): Fix typos. + +2002-11-27 Richard Sandiford + + * sim-fpu.c (sim_fpu_inv): Use sim_fpu_div. + +2002-11-22 Andrew Cagney + + * 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-13 Andrew Cagney + + * run.c (main): Remove SIM_HAVE_ENVIRONMENT from #endif. + +2002-11-06 Richard Sandiford + + * Make-common.in (SIM_EXTRA_DISTCLEAN): New macro. + (distclean): Depend on it. + +2002-10-14 Alan Modra + + * cgen-trace.h: Test __BFD_H_SEEN__ rather than BFD_VERSION. + +2002-08-29 Dave Brolley + + * Make-common.in (CGEN_READ_SCM): Remove ../../cgen/stamp-cgen. + +2002-07-17 Andrew Cagney + + * 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". + +2002-07-16 Andrew Cagney + + * sim-resume.c (sim_resume): Add local variable sig_to_deliver to + avoid possible longjmp problems with automatic variable siggnal. + +2002-07-14 Andrew Cagney + + From 2002-07-11 Momchil Velikov : + * Make-common.in (installdirs): Make $(libdir) too, needed when + installing libsim.a. + +2002-07-13 Andrew Cagney + + * gennltvals.sh (dir): Mark d30v as obsolete. + * nltvals.def: Remove d30v. + +2002-06-17 Andrew Cagney + + * hw-events.c (hw_event_queue_schedule): Initialize `dummy'. + + * sim-memopt.c: Include . + (do_memopt_add): Fix printf format. + * sim-events.c (sim_events_schedule): Initialize ``dummy''. + +2002-06-16 Andrew Cagney + + * aclocal.m4 (SIM_AC_OPTION_WARNINGS): Update to match GDB's + --enable-gdb-build-warnings. + * configure: Regenerated to track ../common/aclocal.m4 changes. + +2002-06-09 Aldy Hernandez + + * sim-fpu.c (unpack_fpu): Initialize exponent for + sim_fpu_class_zero. + (i2fpu): Same. + (sim_fpu_sqrt): Same. + +2002-06-08 Andrew Cagney + + * gentmap.c (gen_targ_map_c): Generate "gdb/callback.h". + * sim-basics.h: Include "gdb/callback.h" and "gdb/remote-sim.h". + * run.c: Ditto. + * sim-load.c: Ditto. + * callback.c: Ditto. + * syscall.c: Ditto. + * Make-common.in (callback_h): Define. + (remote_sim_h): Define. + (run.o): Update. + (callback.o): Update. + (syscall.o): Update. + (sim-load.o): + (nrun.o): Update. + (sim-hload.o): Update. + (sim-io.o): Update. + (sim-reason.o): Update. + (sim-reg.o): Update. + (sim-resume.o): Update. + +2002-05-30 Kazu Hirata + + * run.c: Fix formatting. + +2002-05-20 Nick Clifton + + * run-sim.h: New header. Provide prototypes for functions used + between run() and libsim.a which are not used by GDB. + * run.c: Include run-sim.h. + (main): If SIM_TARGET_SWITCHES is defined call + sim_target_parse_command_line. + (usage): If SIM_TARGET_SWITCHES is defined call + sim_target_display_usage. + +2002-05-17 Andrey Volkov + + * run.c: Made h8300s as new target, not h8300h alias. + Added new option -S (h8300s target) + * sim-options.c: Ditto. + +2002-05-01 Chris Demetriou + + * callback.c: Use 'deprecated' rather than 'depreciated.' + +2002-02-24 Andrew Cagney + + From wiz at danbala: + * sim-fpu.h: Fix grammar and typos. + Fix PR gdb/287. + +2002-02-10 Chris Demetriou + + * 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 Hans-Peter Nilsson + + * cgen-ops.h (ADDCQI, ADDCFQI, ADDOFQI, SUBCQI, SUBCFQI, SUBOFQI): + New functions. + +2002-01-20 Ben Elliston + + * sim-fpu.h (SIM_FPU_IS_QNAN): Replace "Quite" with "Quiet" in + the comment for this enumerator. + +2002-01-14 Ben Elliston + + * sim-fpu.h: Fix comment about sim_fpu_* constants. + +2001-12-20 Kazu Hirata + + * run.c (usage): Fix a typo. + +2001-07-05 Ben Elliston + + * 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. + +2001-04-25 Frank Ch. Eigler + + * sim-load.c (sim_load_file): Put it back: external now. + * sim-utils.c (sim_analyze_program): Ditto. Nyuk nyuk nyuk. + +2001-04-21 Andrew Cagney + + * sim-load.c (sim_load_file): Delete call bfd_cache_close. BFD + internal interface. + * sim-utils.c (sim_analyze_program): Ditto. + +2001-04-19 Frank Ch. Eigler + + * 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-16 Frank Ch. Eigler + + 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-15 Frank Ch. Eigler + + * sim-core.c (sim_core_map_attach): Correct overlap-related + error messages. + +2001-03-07 Michael Meissner + + * run.c (alloca-conf.h): Delete, no longer provided. + +2001-02-22 Ben Elliston + + * 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-21 Ben Elliston + + * sim-trace.h (TRACE_BRANCH_INPUT1): New macro. + (TRACE_BRANCH_INPUT2): Likewise. + +2001-02-09 Ben Elliston + + * (profile_print_pc): Write header out in target byte order. + +2001-02-09 Ben Elliston + + * sim-profile.c (profile_pc_init): Correct bug in loop logic when + adjusting the pc shift value. + +2001-01-12 Chris Demetriou + + * aclocal.m4 (SIM_AC_OPTION_SCACHE): Properly handle the case + where a numeric value is supplied. + +2001-01-06 Ben Elliston + + * cgen.sh: Allow extrafiles to include the semantics files when + generating an ISA-specific decoder. + +2000-12-27 Alexandre Oliva + + * Make-common.in (sim-io.o): Depend on targ-vals.h. + +2000-12-23 Ben Elliston + + * 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-15 Ben Elliston + + * 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-13 Ben Elliston + + * cgen.sh: Set prefix/PREFIX (append ISA if applicable). Factor + sed expressions into $sedscript, substituting @prefix@/@PREFIX@. + (defs): New action. + +2000-12-12 Geoffrey Keating + + * 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-11 Ben Elliston * cgen-ops.h (SUBWORDDFDI): New function.