* [PATCH] sim: ChangeLog: move arch-specific entries into the arch dir
@ 2021-01-07 8:09 Mike Frysinger via Gdb-patches
2021-01-07 9:33 ` Andrew Burgess
2021-01-07 12:14 ` Jose E. Marchesi via Gdb-patches
0 siblings, 2 replies; 14+ messages in thread
From: Mike Frysinger via Gdb-patches @ 2021-01-07 8:09 UTC (permalink / raw)
To: gdb-patches
We don't want arch-specific entries in the common ChangeLog files.
Most arches do this already, so clean up the recent additions, and
move some older entries down to help avoid confusing newcomers.
---
sim/ChangeLog | 490 --------------------------------
sim/avr/ChangeLog | 23 ++
sim/bpf/ChangeLog | 54 ++++
sim/cris/ChangeLog | 355 +++++++++++++++++++++++
sim/ft32/ChangeLog | 8 +
sim/m32c/ChangeLog | 9 +-
sim/or1k/ChangeLog | 52 ++++
sim/ppc/ChangeLog | 4 +
sim/testsuite/ChangeLog | 18 +-
sim/testsuite/sim/bpf/ChangeLog | 20 ++
10 files changed, 524 insertions(+), 509 deletions(-)
create mode 100644 sim/bpf/ChangeLog
create mode 100644 sim/or1k/ChangeLog
create mode 100644 sim/testsuite/sim/bpf/ChangeLog
diff --git a/sim/ChangeLog b/sim/ChangeLog
index 047ff6ba0800..121f005217a1 100644
--- a/sim/ChangeLog
+++ b/sim/ChangeLog
@@ -1,66 +1,15 @@
-2020-11-01 Simon Marchi <simon.marchi@polymtl.ca>
-
- * bpf/configure: Re-generate.
-
-2020-09-08 David Faust <david.faust@oracle.com>
-
- * bpf/sem-be.c: Regenerate.
- * bpf/sem-le.c: Likewise.
-
-2020-09-03 Jose E. Marchesi <jose.marchesi@oracle.com>
-
- * bpf/bpf.c: Include bpf-helpers.h.
- * bpf/bpf-helpers.h: Provide a prototype for bpf_trace_printk.
- * bpf/configure.ac: Set simulator bitsize to 64.
- * bpf/configure (includedir): Regenerate.
- * bpf/sim-if.c: Include stdlib.h.
- * bpf/traps.c: Likewise.
-
2020-09-03 Jose E. Marchesi <jose.marchesi@oracle.com>
* configure.ac: Do not configure sim/testsuite nor sim/igen if the
primary target doesn't have a simulator.
* configure: Regenerate.
-2020-08-04 Jose E. Marchesi <jose.marchesi@oracle.com>
- David Faust <david.faust@oracle.com>
-
- * bpf/arch.c: Likewise.
- * bpf/arch.h: Likewise.
- * bpf/cpu.c: Likewise.
- * bpf/cpu.h: Likewise.
- * bpf/cpuall.h: Likewise.
- * bpf/decode-be.c: Likewise.
- * bpf/decode-be.h: Likewise.
- * bpf/decode-le.c: Likewise.
- * bpf/decode-le.h: Likewise.
- * bpf/defs-be.h: Likewise.
- * bpf/defs-le.h: Likewise.
- * bpf/sem-be.c: Likewise.
- * bpf/sem-le.c: Likewise.
-
2020-08-04 Jose E. Marchesi <jose.marchesi@oracle.com>
David Faust <david.faust@oracle.com>
* configure.tgt (sim_arch): Add entry for bpf-*-*.
* configure: Regenerate.
* MAINTAINERS: Add maintainer for the BPF simulator.
- * bpf/Makefile.in: New file.
- * bpf/bpf-helpers.c: Likewise.
- * bpf/bpf-helpers.def: Likewise.
- * bpf/bpf-helpers.h: Likewise.
- * bpf/bpf-sim.h: Likewise.
- * bpf/bpf.c: Likewise.
- * bpf/config.in: Likewise.
- * bpf/configure.ac: Likewise.
- * bpf/decode.h: Likewise.
- * bpf/eng.h: Likewise.
- * bpf/mloop.in: Likewise.
- * bpf/sim-if.c: Likewise.
- * bpf/sim-main.h: Likewise.
- * bpf/traps.c: Likewise.
- * bpf/configure: Generate.
- * bpf/aclocal.m4: Likewise.
2019-12-19 Tom Tromey <tromey@adacore.com>
@@ -73,10 +22,6 @@
* configure: Regenerated.
* configure.tgt: Add PRU.
-2019-09-20 Alan Modra <amodra@gmail.com>
-
- * ppc/emul_generic.c (emul_add_tree_options): Delete old bfd code.
-
2019-09-18 Alan Modra <amodra@gmail.com>
* common/sim-load.c, * common/sim-utils.c, * cris/sim-if.c,
@@ -85,16 +30,6 @@
* rl78/load.c, * rl78/trace.c, * rx/gdb-if.c, * rx/load.c,
* rx/trace.c: Update throughout for bfd section macro changes.
-2019-06-13 Stafford Horne <shorne@gmail.com>
-
- * or1k/cpu.c: Regenerate.
- * or1k/cpu.h: Regenerate.
- * or1k/decode.c: Regenerate.
- * or1k/decode.h: Regenerate.
- * or1k/model.c: Regenerate.
- * or1k/sem-switch.c: Regenerate.
- * or1k/sem.c: Regenerate.
-
2019-02-28 Joel Brobecker <brobecker@adacore.com>
* MAINTAINERS: Move Mike Frysinger to past maintainers' section.
@@ -119,15 +54,6 @@
* or1k/configure: Regenerate.
* sh64/configure: Regenerate.
-2018-10-05 Stafford Horne <shorne@gmail.com>
-
- * or1k/cpu.h: Regenerate.
- * or1k/decode.c: Regenerate.
- * or1k/decode.h: Regenerate.
- * or1k/model.c: Regenerate.
- * or1k/sem-switch.c: Regenerate.
- * or1k/sem.c: Regenerate:
-
2018-07-20 Maciej W. Rozycki <macro@mips.com>
* MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
@@ -154,45 +80,11 @@
Peter Gavin <pgavin@gmail.com>
* configure: Regenerated.
- * or1k/aclocal.m4: Generated.
- * or1k/config.in: Generated.
- * or1k/configure: Generated.
-
-2017-12-12 Stafford Horne <shorne@gmail.com>
- Peter Gavin <pgavin@gmail.com>
-
- * or1k/arch.c: Generated.
- * or1k/arch.h: Generated.
- * or1k/cpu.c: Generated.
- * or1k/cpu.h: Generated.
- * or1k/cpuall.h: Generated.
- * or1k/decode.c: Generated.
- * or1k/decode.h: Generated.
- * or1k/model.c: Generated.
- * or1k/sem-switch.c: Generated.
- * or1k/sem.c: Generated.
2017-12-12 Stafford Horne <shorne@gmail.com>
Peter Gavin <pgavin@gmail.com>
* configure.tgt: Add or1k sim.
- * or1k/README: New file.
- * or1k/Makefile.in: New file.
- * or1k/configure.ac: New file.
- * or1k/mloop.in: New file.
- * or1k/or1k-sim.h: New file.
- * or1k/or1k.c: New file.
- * or1k/sim-if.c: New file.
- * or1k/sim-main.h: New file.
- * or1k/traps.c: New file.
-
-2017-11-01 James Bowman <james.bowman@ftdichip.com>
-
- * ft32/interp.c (step_once): Add ft32 shortcode decoder.
-
-2017-10-12 James Bowman <james.bowman@ftdichip.com>
-
- * ft32/interp.c (step_once): Replace FT32_FLD_K8 with K15.
2017-10-12 James Bowman <james.bowman@ftdichip.com>
@@ -557,32 +449,12 @@
* README-HACKING: Add more sections.
-2010-02-11 Doug Evans <dje@sebabeach.org>
-
- * cris/cpuv10.h, * cris/cpuv32.h, * cris/cris-desc.c,
- * cris/cris-desc.h, * cris/decodev10.c, * cris/decodev32.c,
- * cris/modelv10.c, * cris/modelv32.c, * cris/semcrisv10f-switch.c,
- * cris/semcrisv32f-switch.c: Regenerate.
-
2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* avr/configure: Regenerate.
* cris/configure: Regenerate.
* microblaze/configure: Regenerate.
-2010-01-02 Doug Evans <dje@sebabeach.org>
-
- * cris/arch.c, * cris/arch.h, * cris/cpuall.h, * cris/cpuv10.c,
- * cris/cpuv10.h, * cris/cpuv32.c, * cris/cpuv32.h, * cris/cris-desc.c,
- * cris/cris-desc.h, * cris/cris-opc.h, * cris/decodev10.c,
- * cris/decodev10.h, * cris/decodev32.c, * cris/decodev32.h,
- * cris/modelv10.c, * cris/modelv32.c, * cris/semcrisv10f-switch.c,
- * cris/semcrisv32f-switch.c: Regenerate, update copyright year.
-
-2010-01-01 Doug Evans <dje@sebabeach.org>
-
- * cris/mloop.in: Fix copyright year update snafu.
-
2009-11-24 Joel Brobecker <brobecker@adacore.com>
* common/aclocal.m4: Add include of ../../config/zlib.m4.
@@ -602,54 +474,6 @@
* configure.ac: Add entry for Renesas RX.
* configure: Regenerate.
-2009-11-22 Doug Evans <dje@sebabeach.org>
-
- * cris/cpuall.h: Regenerate.
- * cris/cpuv10.h: Regenerate.
- * cris/cpuv32.h: Regenerate.
- * cris/decodev10.c: Regenerate.
- * cris/decodev10.h: Regenerate.
- * cris/decodev32.c: Regenerate.
- * cris/decodev32.h: Regenerate.
-
-2009-11-12 Tristan Gingold <gingold@adacore.com>
-
- * avr/interp.c (sim_write): Allow byte access.
- (sim_read): Ditto.
-
-2009-11-12 Tristan Gingold <gingold@adacore.com>
-
- * avr/interp.c (sim_load): Clear memory before loading.
-
-2009-11-09 Tristan Gingold <gingold@adacore.com>
-
- * avr/interp.c (sim_resume): Fix typo for OP_ret.
-
-2009-10-23 Doug Evans <dje@sebabeach.org>
-
- * cris/arch.c: Regenerate.
- * cris/arch.h: Regenerate.
- * cris/cpuall.h: Regenerate.
- * cris/cpuv10.c: Regenerate.
- * cris/cpuv10.h: Regenerate.
- * cris/cpuv32.c: Regenerate.
- * cris/cpuv32.h: Regenerate.
- * cris/cris-desc.c: Regenerate.
- * cris/cris-desc.h: Regenerate.
- * cris/cris-opc.h: Regenerate.
- * cris/decodev10.c: Regenerate.
- * cris/decodev10.h: Regenerate.
- * cris/decodev32.c: Regenerate.
- * cris/decodev32.h: Regenerate.
- * cris/modelv10.c: Regenerate.
- * cris/modelv32.c: Regenerate.
- * cris/semcrisv10f-switch.c: Regenerate.
- * cris/semcrisv32f-switch.c: Regenerate.
-
-2009-10-22 Tristan Gingold <gingold@adacore.com>
-
- * avr/interp.c (sim_stop): Return 1.
-
2009-10-16 Doug Evans <dje@sebabeach.org>
* MAINTAINERS: Add myself as m32r maintainer.
@@ -707,13 +531,6 @@
* MAINTAINERS: Orphan ppc.
-2009-05-08 Kevin Buettner <kevinb@redhat.com>
-
- * m32c/gdb-if.c (m32c_signal_to_host): Rename to
- m32c_signal_to_target. Change signal return values from SIGILL,
- SIGTRAP, SIGSEGV, etc. to TARGET_SIGNAL_ILL, TARGET_SIGNAL_TRAP,
- TARGET_SIGNAL_SEGV, etc. Fix all callers.
-
2009-04-30 Anthony Green <green@moxielogic.com>
* MAINTAINERS: Add myself for the moxie port.
@@ -724,9 +541,6 @@
2009-04-27 Tristan Gingold <gingold@adacore.com>
* avr: New directory.
- * avr/interp.c, avr/Makefile.in, avr/configure.ac: New files.
- * avr/config.in: New file, generated by autoheader.
- * avr/configure: New file generated by autoconf.
* configure.ac: Add avr.
* configure: Regenerated.
@@ -735,121 +549,6 @@
* Makefile.in: Add dummy install-pdf, html, and
install-html targets.
-2009-01-18 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/sim-if.c: Include errno.h.
- (cris_start_address, cris_program_offset): New variables.
- (OPTION_CRIS_PROGRAM_OFFSET, OPTION_CRIS_STARTADDR): New option
- enums.
- (cris_options): New options --cris-program-offset and
- --cris-start-address.
- (cris_option_handler): Handle new options.
- (cris_program_offset_write, cris_set_section_offset_iterator)
- (cris_offset_sections, cris_offset_sections): New functions.
- (sim_load): Use cris_program_offset_write as function argument to
- cris_load_elf_file, not sim_write.
- (struct offsetinfo): New struct.
- (cris_handle_interpreter): Fix typo in comment.
- (sim_open): Call cris_offset_sections as soon as the bfd of the
- infile is available. Gate bfd validity checks on abfd non-NULL.
- (sim_create_inferior): Let cris_start_address when != -1 override
- other start-address choices.
-
-2009-01-06 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/traps.c (abort): Define to call sim_io_error.
- (create_map): Make -1 imply a non-fixed address, not 0. All
- callers changed. Only prefer the next higher unmapped address if
- the last mapped address is no less than 0x40000000. Check that
- the address to be mapped is not already mapped. Update head
- comment.
- (unmap_pages): Don't call abort when recursive call fails, just
- note and return an error if a page in the range couldn't be unmapped.
- (cris_bmod_handler, h_supr_set_handler, h_supr_get_handler)
- (schedule, make_first_thread, cris_pipe_empty): New local variable sd.
- (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle
- non-MAP_FIXED argument overlapping existing map. For MAP_FIXED,
- don't abort on page not being mapped. Handle non-anon filemap
- with length padded to pagesize.
-
-2009-01-03 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/sim-if.c (TARGET_AT_NULL, TARGET_AT_PHDR, TARGET_AT_PHENT)
- (TARGET_AT_PHNUM, TARGET_AT_PAGESZ, TARGET_AT_BASE)
- (TARGET_AT_FLAGS, TARGET_AT_ENTRY, TARGET_AT_UID, TARGET_AT_EUID)
- (TARGET_AT_GID, TARGET_AT_EGID, TARGET_AT_HWCAP)
- (TARGET_AT_CLKTCK): Remove redundant macros.
- (AUX_ENT): Adjust to use standard ELF AT_* macros.
- (AUX_ENTF): Ditto. Remove always-0 middle argument. Update all
- callers.
- (sim_open): Also pass AT_SECURE.
-
- * cris/sim-main.h (struct _sim_cpu): New member
- set_target_thread_data.
- * cris/crisv32f.c (CRIS_TLS_REGISTER): Define.
- * cris/crisv10f.c: Ditto.
- * cris/cris-tmpl.c (MY (set_target_thread_data)): New function.
- (MY (f_specific_init)): Set new _sim_cpu member to new function.
- * cris/traps.c (TARGET_SYS_set_thread_area): Define.
- (cris_break_13_handler) <case TARGET_SYS_set_thread_area>: New
- case.
-
- * cris/traps.c (TARGET_SYS_exit_group): Define.
- (cris_break_13_handler): Handle it like the exit for the last
- thread.
-
- * cris/traps.c (TARGET_UTSNAME): Update to 2009-01-01.
- (TARGET_EPOCH): Update to match TARGET_UTSNAME. Correct comment.
- (cris_break_13_handler) <case TARGET_SYS_uname>: Update to
- 2.6.27. Set machine field to the BFD printable name of the
- machine.
-
- * cris/traps.c (TARGET_MAP_DENYWRITE): Define.
- (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle
- TARGET_MAP_DENYWRITE.
-
- * cris/traps.c (TARGET_SYS_access, TARGET_R_OK, TARGET_W_OK)
- (TARGET_X_OK, TARGET_F_OK): Define.
- (cris_break_13_handler) <case TARGET_SYS_access>: New case.
-
- * cris/semcrisv32f-switch.c: Regenerate.
-
-2008-12-30 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/sim-if.c (sim_open): If sim_analyze_program fails, emit
- just a short CRIS-specific notice. Tweak the wording for a
- failing architecture test.
-
- * cris/traps.c (TARGET_SYS_writev): New macro.
- (is_mapped_only, cris_dump_map): New functions.
- (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle more flags
- and prot combinations and a non-zero page-offset. If
- TARGET_MAP_FIXED, unmap pages before mapping them.
- <case TARGET_SYS_mprotect>: When checking, allow any length
- argument. Don't actually do anything.
- <case TARGET_SYS_writev>: New case.
-
- * cris/Makefile.in (SIM_OBJS): Remove sim-hload.o.
- * cris/sim-if.c: Include elf-bfd.h.
- (struct progbounds): New members end_loadmem, start_nonloadmem.
- (xprintf, eprintf): New functions, copied from common/sim-load.c.
- (cris_load_elf_file, sim_load, cris_get_progbounds): New functions.
- (get_progbounds_iterator): Renamed from get_progbounds. Make
- static. Update head comment. Set new struct progbounds members.
- (exec_load_addr, interp_load_addr, interp_start_addr): New static
- variables.
- (aux_ent_phdr, aux_ent_phent, aux_ent_phnum, aux_ent_base)
- (aux_ent_entry, cris_write_interp, cris_handle_interpreter): New
- functions.
- (sim_open): New constant array auxv_entries. Rewrite AUX_ENT
- handling to use auxv_entries. Improve error message and checking
- for invalid programs. Use new variable abfd for the program
- instead of for each access reaching into sd to get it.
- (sim_create_inferior): If non-zero, use interp_start_addr instead
- of the program start address.
- (cris_disassemble_insn): Remove incorrect and unclear, supposedly
- stale comment. Always specify little-endian.
-
2008-07-29 Nick Clifton <nickc@redhat.com>
* common/genmloop.sh: Add new parameter: -shell to specify the
@@ -866,17 +565,6 @@
* frv/mloop.in: Add missing start of line comment marker.
-2008-07-11 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/configure: Regenerate to track ../common/common.m4 changes.
- * cris/config.in: Ditto.
-
-2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
- Daniel Jacobowitz <dan@codesourcery.com>
- Joseph Myers <joseph@codesourcery.com>
-
- * cris/configure: Regenerate.
-
2008-05-09 Olivier Hainque <hainque@adacore.com>
* ppc/altivec.igen (vperm): Latch inputs into temporaries.
@@ -906,15 +594,6 @@
* frv/frv.c (frvbf_cut): Only look at the six LSBs of
cut_point.
-2007-10-22 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
- cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c,
- cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c,
- cris/decodev10.h, cris/decodev32.c, cris/decodev32.h,
- cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c,
- cris/semcrisv32f-switch.c: Regenerate.
-
2007-08-24 Joel Brobecker <brobecker@adacore.com>
Switch the license of all files explicitly copyright the FSF
@@ -924,11 +603,6 @@
* Makefile.in: Add dummy "pdf" target.
-2007-02-20 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/traps.c (dump_statistics): Change format for cycle numbers
- to %llu and cast parameters to unsigned long long.
-
2007-02-16 Thiemo Seufer <ths@mips.com>
* Makefile.in (FLAGS_TO_PASS, TARGET_FLAGS_TO_PASS): Add RUNTEST.
@@ -958,54 +632,16 @@
* MAINTAINERS: Add self as authorized committer for *.
-2006-10-02 Edgar E. Iglesias <edgar@axis.com>
- Hans-Peter Nilsson <hp@axis.com>
-
- * cris/cris-sim.h (enum cris_unknown_syscall_action_type)
- (cris_unknown_syscall_action): Declare.
- * cris/sim-if.c (cris_unknown_syscall_action): Define.
- (cris_options): Add cris-unknown-syscall option.
- (cris_option_handler): Correct comment about and error message for
- invalid --cris-cycles argument. Handle --cris-unknown-syscall.
- * cris/traps.c: Include stdarg.h
- (cris_unknown_syscall): New function.
- (cris_break_13_handler): Instead of sim_io_eprintf and
- sim_engine_halt, call cris_unknown_syscall to handle more or less
- unknown syscalls. Adjust code as necessary to handle return
- value.
-
2006-09-30 Daniel Jacobowitz <dan@codesourcery.com>
* MAINTAINERS: Add Dave Brolley for sh64.
-2006-09-30 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/traps.c (TARGET_PIPE_BUF): New macro.
- (cris_pipe_empty): Correct initialization of "remaining". Only
- adjust the "write" return value if more than TARGET_PIPE_BUF bytes
- are written.
-
-2006-09-29 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/configure.ac: Check for limits.h and sys/param.h.
- * cris/configure, cris/config.in: Rebuild.
- * cris/traps.c (SIM_PATHMAX): New macro.
- (cris_break_13_handler): Use SIM_PATHMAX, not MAXPATHLEN.
-
2006-08-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac (sparc-*-rtems*|sparc-*-elf*): Enable erc32 simulator.
* Makefile.in (FLAGS_TO_PASS): Include libdir.
* configure: Regenerated.
-2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
-
- * cris/configure: Regenerated.
-
-2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
-
- * cris/configure: Regenerated.
-
2006-05-05 Andreas Schwab <schwab@suse.de>
* configure.ac (CFLAGS_FOR_BUILD): Set and substitute.
@@ -1020,57 +656,10 @@
* MAINTAINERS: Add an "Authorized committers" section, and list
DJ Delorie for v850.
-2006-04-08 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/crisv32f.c (MY (deliver_interrupt)): Set CCS to new_ccs.
-
-2006-04-03 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/dv-cris.c, cris/dv-rv.c, cris/rvdummy.c: New files.
- * cris/Makefile.in (CONFIG_DEVICES): Remove redundant setting.
- (dv-cris.o, dv-rv.o rvdummy$(EXEEXT), rvdummy.o): New rules.
- (all): Depend on rvdummy$(EXEEXT).
- * cris/configure.ac: Call SIM_AC_OPTION_WARNINGS. Check for
- sys/socket.h and sys/select.h. Call SIM_AC_OPTION_HARDWARE,
- default off.
- * cris/configure: Regenerate.
- * cris/cris-sim.h (cris_have_900000xxif): Declare here.
- (enum cris_interrupt_type, crisv10deliver_interrupt)
- (crisv32deliver_interrupt: New declarations.
- * cris/cris-tmpl.c [WITH_HW] (MY (f_model_insn_after)): Call
- sim_events_tickn and set state-events member work_pending when it's
- time for the next event.
- [WITH_HW] (MY (f_specific_init)): Set CPU-model-specific
- interrupt-delivery function.
- * cris/crisv10f.c (MY (deliver_interrupt)): New function.
- * cris/crisv32f.c (MY (deliver_interrupt)): New function.
- * cris/devices.c: Include hw-device.h.
- (device_io_read_buffer) [WITH_HW]: Call hw_io_read_buffer.
- (device_io_write_buffer): Only perform 0x900000xx-functions if
- cris_have_900000xxif is nonzero. Else if WITH_HW defined,
- call hw_io_write_buffer. Add return 0 last in function.
- * cris/sim-if.c (cris_have_900000xxif): Now global.
- (sim_open) [WITH_HW]: Clear deliver_interrupt cpu member.
- Force "-model" option, effectively.
- * cris/sim-main.h (cris_interrupt_delivery_fn): New type.
- (struct _sim_cpu) [WITH_HW]: New member deliver_interrupt.
-
-2006-04-02 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/Makefile.in (CRISV10F_OBJS): Remove semcrisv10f-switch.o.
- (CRISV32F_OBJS): Remove semcrisv32f-switch.o.
- (semcrisv10f-switch.o, semcrisv32f-switch.o: Remove dependency rules.
-
2006-03-13 DJ Delorie <dj@redhat.com>
* MAINTAINERS: Add self as m32c sim maintainer.
-2006-02-23 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/traps.c (syscall_map): Remove CB_SYS_time / TARGET_SYS_time
- mapping.
- (cris_break_13_handler) <case TARGET_SYS_time>: New case.
-
2006-01-23 Jim Blandy <jimb@redhat.com>
Add simulator for Renesas M32C and M16C.
@@ -1079,59 +668,6 @@
* configure.ac: Add entry for Renesas M32C.
* configure: Regenerate.
-2006-01-10 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/cris-tmpl.c (MY (f_model_insn_before)): Only display basic
- cycle count for the current insn.
-
-2005-12-06 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/cpuv10.h, cris/cpuv32.h, cris/cris-desc.c, cris/cris-opc.h,
- cris/decodev10.c, cris/decodev10.h, cris/decodev32.c,
- cris/decodev32.h, cris/modelv10.c, cris/modelv32.c,
- cris/semcrisv10f-switch.c, cris/semcrisv32f-switch.c: Regenerate.
-
-2005-12-05 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
- cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c,
- cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c,
- cris/decodev10.h, cris/decodev32.c, cris/decodev32.h,
- cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c,
- cris/semcrisv32f-switch.c: Regenerate.
-
-2005-11-20 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/traps.c (TARGET_O_RDONLY, TARGET_O_WRONLY): Define.
- (open_map): Use TARGET_O_ACCMODE, TARGET_O_RDONLY and
- TARGET_O_WRONLY.
- (cris_break_13_handler) <case TARGET_SYS_fcntl>: Add support for
- F_GETFL on fd 0, 1 and 2.
-
-2005-11-17 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/sim-main.h (struct _sim_cpu): New members last_syscall,
- last_open_fd, last_open_flags.
- * cris/traps.c: Don't include targ-vals.h.
- (TARGET_O_ACCMODE): Define.
- (cris_break_13_handler): Set new _sim_cpu members.
- <case TARGET_SYS_fcntl>: Support special case of F_GETFL.
- Rearrange code as switch. Emit "unimplemented" abort for
- unimplemented fcntl calls.
-
- * cris/traps.c (TARGET_SYS_stat): Define.
- (syscall_stat32_map): Add entry for TARGET_SYS_stat.
- (cris_break_13_handler) <case TARGET_SYS_stat>: New case.
-
-2005-11-16 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/cris-tmpl.c (MY (f_model_insn_before)): Make sure only the
- low 32 bits are used after an unsigned long cast.
-
-2005-05-28 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/Makefile.in (stamp-v32fmloop): Depend on stamp-v10fmloop.
-
2005-05-26 Chris Demetriou <cgd@netbsd.org>
* MAINTAINERS: Update my mail address, move myself to the
@@ -1156,12 +692,6 @@
* common/Make-common.in: Add $(EXEEXT) to "run".
-2005-04-18 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/traps.c (cris_break_13_handler) <case TARGET_SYS_mmap2>:
- For ((len & 8191) != 0 && fd == (USI) -1), don't say this isn't
- implemented. In call to create_map, pad length argument to 8k.
-
2005-04-15 Corinna Vinschen <vinschen@redhat.com>
* configure.ac: Add explicit sh64 case.
@@ -1171,26 +701,6 @@
* arm/wrapper.c: Provide SIGTRAP and SIGBUS.
-2005-03-24 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/Makefile.in (stamp-v10fcpu, stamp-v32fcpu): Add kludge to
- include cgen-ops.h in decodev10.c and decodev32.c.
- * cris/sim-main.h: Don't include cgen-ops.h here.
- * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
- cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c,
- cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c,
- cris/decodev10.h, cris/decodev32.c, cris/decodev32.h,
- cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c,
- cris/semcrisv32f-switch.c: Regenerate.
-
- * cris/traps.c (cris_break_13_handler) <case
- TARGET_SYS_rt_sigaction>: Rename sa_handler, sa_flags,
- sa_restorer, sa_mask_low, sa_mask_high to target_sa_handler etc.
-
-2005-03-23 Mark Kettenis <kettenis@gnu.org>
-
- * cris/configure: Regenerate.
-
2005-02-28 Jim Blandy <jimb@redhat.com>
* d10v/configure.ac, igen/configure.ac, m68hc11/configure.ac,
diff --git a/sim/avr/ChangeLog b/sim/avr/ChangeLog
index f1a8366ab5d1..d03bc95a7e07 100644
--- a/sim/avr/ChangeLog
+++ b/sim/avr/ChangeLog
@@ -282,3 +282,26 @@
2010-04-14 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_write): Add const to buffer arg.
+
+2009-11-12 Tristan Gingold <gingold@adacore.com>
+
+ * interp.c (sim_write): Allow byte access.
+ (sim_read): Ditto.
+
+2009-11-12 Tristan Gingold <gingold@adacore.com>
+
+ * interp.c (sim_load): Clear memory before loading.
+
+2009-11-09 Tristan Gingold <gingold@adacore.com>
+
+ * interp.c (sim_resume): Fix typo for OP_ret.
+
+2009-10-22 Tristan Gingold <gingold@adacore.com>
+
+ * interp.c (sim_stop): Return 1.
+
+2009-04-27 Tristan Gingold <gingold@adacore.com>
+
+ * interp.c, Makefile.in, configure.ac: New files.
+ * config.in: New file, generated by autoheader.
+ * configure: New file generated by autoconf.
diff --git a/sim/bpf/ChangeLog b/sim/bpf/ChangeLog
new file mode 100644
index 000000000000..e5d820c5a142
--- /dev/null
+++ b/sim/bpf/ChangeLog
@@ -0,0 +1,54 @@
+2020-11-01 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * configure: Re-generate.
+
+2020-09-08 David Faust <david.faust@oracle.com>
+
+ * sem-be.c: Regenerate.
+ * sem-le.c: Likewise.
+
+2020-09-03 Jose E. Marchesi <jose.marchesi@oracle.com>
+
+ * bpf.c: Include bpf-helpers.h.
+ * bpf-helpers.h: Provide a prototype for bpf_trace_printk.
+ * configure.ac: Set simulator bitsize to 64.
+ * configure (includedir): Regenerate.
+ * sim-if.c: Include stdlib.h.
+ * traps.c: Likewise.
+
+2020-08-04 Jose E. Marchesi <jose.marchesi@oracle.com>
+ David Faust <david.faust@oracle.com>
+
+ * arch.c: Likewise.
+ * arch.h: Likewise.
+ * cpu.c: Likewise.
+ * cpu.h: Likewise.
+ * cpuall.h: Likewise.
+ * decode-be.c: Likewise.
+ * decode-be.h: Likewise.
+ * decode-le.c: Likewise.
+ * decode-le.h: Likewise.
+ * defs-be.h: Likewise.
+ * defs-le.h: Likewise.
+ * sem-be.c: Likewise.
+ * sem-le.c: Likewise.
+
+2020-08-04 Jose E. Marchesi <jose.marchesi@oracle.com>
+ David Faust <david.faust@oracle.com>
+
+ * Makefile.in: New file.
+ * bpf-helpers.c: Likewise.
+ * bpf-helpers.def: Likewise.
+ * bpf-helpers.h: Likewise.
+ * bpf-sim.h: Likewise.
+ * bpf.c: Likewise.
+ * config.in: Likewise.
+ * configure.ac: Likewise.
+ * decode.h: Likewise.
+ * eng.h: Likewise.
+ * mloop.in: Likewise.
+ * sim-if.c: Likewise.
+ * sim-main.h: Likewise.
+ * traps.c: Likewise.
+ * configure: Generate.
+ * aclocal.m4: Likewise.
diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog
index 3677182333ad..81f707d1af4b 100644
--- a/sim/cris/ChangeLog
+++ b/sim/cris/ChangeLog
@@ -384,3 +384,358 @@
2010-03-30 Mike Frysinger <vapier@gentoo.org>
* devices.c (device_error): Add const to message.
+
+2010-02-11 Doug Evans <dje@sebabeach.org>
+
+ * cpuv10.h, * cpuv32.h, * cris-desc.c,
+ * cris-desc.h, * decodev10.c, * decodev32.c,
+ * modelv10.c, * modelv32.c, * semcrisv10f-switch.c,
+ * semcrisv32f-switch.c: Regenerate.
+
+2010-01-02 Doug Evans <dje@sebabeach.org>
+
+ * arch.c, * arch.h, * cpuall.h, * cpuv10.c,
+ * cpuv10.h, * cpuv32.c, * cpuv32.h, * cris-desc.c,
+ * cris-desc.h, * cris-opc.h, * decodev10.c,
+ * decodev10.h, * decodev32.c, * decodev32.h,
+ * modelv10.c, * modelv32.c, * semcrisv10f-switch.c,
+ * semcrisv32f-switch.c: Regenerate, update copyright year.
+
+2010-01-01 Doug Evans <dje@sebabeach.org>
+
+ * mloop.in: Fix copyright year update snafu.
+
+2009-11-22 Doug Evans <dje@sebabeach.org>
+
+ * cpuall.h: Regenerate.
+ * cpuv10.h: Regenerate.
+ * cpuv32.h: Regenerate.
+ * decodev10.c: Regenerate.
+ * decodev10.h: Regenerate.
+ * decodev32.c: Regenerate.
+ * decodev32.h: Regenerate.
+
+2009-10-23 Doug Evans <dje@sebabeach.org>
+
+ * arch.c: Regenerate.
+ * arch.h: Regenerate.
+ * cpuall.h: Regenerate.
+ * cpuv10.c: Regenerate.
+ * cpuv10.h: Regenerate.
+ * cpuv32.c: Regenerate.
+ * cpuv32.h: Regenerate.
+ * cris-desc.c: Regenerate.
+ * cris-desc.h: Regenerate.
+ * cris-opc.h: Regenerate.
+ * decodev10.c: Regenerate.
+ * decodev10.h: Regenerate.
+ * decodev32.c: Regenerate.
+ * decodev32.h: Regenerate.
+ * modelv10.c: Regenerate.
+ * modelv32.c: Regenerate.
+ * semcrisv10f-switch.c: Regenerate.
+ * semcrisv32f-switch.c: Regenerate.
+
+2009-01-18 Hans-Peter Nilsson <hp@axis.com>
+
+ * sim-if.c: Include errno.h.
+ (cris_start_address, cris_program_offset): New variables.
+ (OPTION_CRIS_PROGRAM_OFFSET, OPTION_CRIS_STARTADDR): New option
+ enums.
+ (cris_options): New options --cris-program-offset and
+ --cris-start-address.
+ (cris_option_handler): Handle new options.
+ (cris_program_offset_write, cris_set_section_offset_iterator)
+ (cris_offset_sections, cris_offset_sections): New functions.
+ (sim_load): Use cris_program_offset_write as function argument to
+ cris_load_elf_file, not sim_write.
+ (struct offsetinfo): New struct.
+ (cris_handle_interpreter): Fix typo in comment.
+ (sim_open): Call cris_offset_sections as soon as the bfd of the
+ infile is available. Gate bfd validity checks on abfd non-NULL.
+ (sim_create_inferior): Let cris_start_address when != -1 override
+ other start-address choices.
+
+2009-01-06 Hans-Peter Nilsson <hp@axis.com>
+
+ * traps.c (abort): Define to call sim_io_error.
+ (create_map): Make -1 imply a non-fixed address, not 0. All
+ callers changed. Only prefer the next higher unmapped address if
+ the last mapped address is no less than 0x40000000. Check that
+ the address to be mapped is not already mapped. Update head
+ comment.
+ (unmap_pages): Don't call abort when recursive call fails, just
+ note and return an error if a page in the range couldn't be unmapped.
+ (cris_bmod_handler, h_supr_set_handler, h_supr_get_handler)
+ (schedule, make_first_thread, cris_pipe_empty): New local variable sd.
+ (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle
+ non-MAP_FIXED argument overlapping existing map. For MAP_FIXED,
+ don't abort on page not being mapped. Handle non-anon filemap
+ with length padded to pagesize.
+
+2009-01-03 Hans-Peter Nilsson <hp@axis.com>
+
+ * sim-if.c (TARGET_AT_NULL, TARGET_AT_PHDR, TARGET_AT_PHENT)
+ (TARGET_AT_PHNUM, TARGET_AT_PAGESZ, TARGET_AT_BASE)
+ (TARGET_AT_FLAGS, TARGET_AT_ENTRY, TARGET_AT_UID, TARGET_AT_EUID)
+ (TARGET_AT_GID, TARGET_AT_EGID, TARGET_AT_HWCAP)
+ (TARGET_AT_CLKTCK): Remove redundant macros.
+ (AUX_ENT): Adjust to use standard ELF AT_* macros.
+ (AUX_ENTF): Ditto. Remove always-0 middle argument. Update all
+ callers.
+ (sim_open): Also pass AT_SECURE.
+
+ * sim-main.h (struct _sim_cpu): New member
+ set_target_thread_data.
+ * crisv32f.c (CRIS_TLS_REGISTER): Define.
+ * crisv10f.c: Ditto.
+ * cris-tmpl.c (MY (set_target_thread_data)): New function.
+ (MY (f_specific_init)): Set new _sim_cpu member to new function.
+ * traps.c (TARGET_SYS_set_thread_area): Define.
+ (cris_break_13_handler) <case TARGET_SYS_set_thread_area>: New
+ case.
+
+ * traps.c (TARGET_SYS_exit_group): Define.
+ (cris_break_13_handler): Handle it like the exit for the last
+ thread.
+
+ * traps.c (TARGET_UTSNAME): Update to 2009-01-01.
+ (TARGET_EPOCH): Update to match TARGET_UTSNAME. Correct comment.
+ (cris_break_13_handler) <case TARGET_SYS_uname>: Update to
+ 2.6.27. Set machine field to the BFD printable name of the
+ machine.
+
+ * traps.c (TARGET_MAP_DENYWRITE): Define.
+ (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle
+ TARGET_MAP_DENYWRITE.
+
+ * traps.c (TARGET_SYS_access, TARGET_R_OK, TARGET_W_OK)
+ (TARGET_X_OK, TARGET_F_OK): Define.
+ (cris_break_13_handler) <case TARGET_SYS_access>: New case.
+
+ * semcrisv32f-switch.c: Regenerate.
+
+2008-12-30 Hans-Peter Nilsson <hp@axis.com>
+
+ * sim-if.c (sim_open): If sim_analyze_program fails, emit
+ just a short CRIS-specific notice. Tweak the wording for a
+ failing architecture test.
+
+ * traps.c (TARGET_SYS_writev): New macro.
+ (is_mapped_only, cris_dump_map): New functions.
+ (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle more flags
+ and prot combinations and a non-zero page-offset. If
+ TARGET_MAP_FIXED, unmap pages before mapping them.
+ <case TARGET_SYS_mprotect>: When checking, allow any length
+ argument. Don't actually do anything.
+ <case TARGET_SYS_writev>: New case.
+
+ * Makefile.in (SIM_OBJS): Remove sim-hload.o.
+ * sim-if.c: Include elf-bfd.h.
+ (struct progbounds): New members end_loadmem, start_nonloadmem.
+ (xprintf, eprintf): New functions, copied from common/sim-load.c.
+ (cris_load_elf_file, sim_load, cris_get_progbounds): New functions.
+ (get_progbounds_iterator): Renamed from get_progbounds. Make
+ static. Update head comment. Set new struct progbounds members.
+ (exec_load_addr, interp_load_addr, interp_start_addr): New static
+ variables.
+ (aux_ent_phdr, aux_ent_phent, aux_ent_phnum, aux_ent_base)
+ (aux_ent_entry, cris_write_interp, cris_handle_interpreter): New
+ functions.
+ (sim_open): New constant array auxv_entries. Rewrite AUX_ENT
+ handling to use auxv_entries. Improve error message and checking
+ for invalid programs. Use new variable abfd for the program
+ instead of for each access reaching into sd to get it.
+ (sim_create_inferior): If non-zero, use interp_start_addr instead
+ of the program start address.
+ (cris_disassemble_insn): Remove incorrect and unclear, supposedly
+ stale comment. Always specify little-endian.
+
+2008-07-11 Hans-Peter Nilsson <hp@axis.com>
+
+ * configure: Regenerate to track ../common/common.m4 changes.
+ * config.in: Ditto.
+
+2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
+ Daniel Jacobowitz <dan@codesourcery.com>
+ Joseph Myers <joseph@codesourcery.com>
+
+ * configure: Regenerate.
+
+2007-10-22 Hans-Peter Nilsson <hp@axis.com>
+
+ * arch.c, arch.h, cpuall.h, cpuv10.c,
+ cpuv10.h, cpuv32.c, cpuv32.h, cris-desc.c,
+ cris-desc.h, cris-opc.h, decodev10.c,
+ decodev10.h, decodev32.c, decodev32.h,
+ modelv10.c, modelv32.c, semcrisv10f-switch.c,
+ semcrisv32f-switch.c: Regenerate.
+
+2007-02-20 Hans-Peter Nilsson <hp@axis.com>
+
+ * traps.c (dump_statistics): Change format for cycle numbers
+ to %llu and cast parameters to unsigned long long.
+
+2006-10-02 Edgar E. Iglesias <edgar@axis.com>
+ Hans-Peter Nilsson <hp@axis.com>
+
+ * cris-sim.h (enum cris_unknown_syscall_action_type)
+ (cris_unknown_syscall_action): Declare.
+ * sim-if.c (cris_unknown_syscall_action): Define.
+ (cris_options): Add cris-unknown-syscall option.
+ (cris_option_handler): Correct comment about and error message for
+ invalid --cris-cycles argument. Handle --cris-unknown-syscall.
+ * traps.c: Include stdarg.h
+ (cris_unknown_syscall): New function.
+ (cris_break_13_handler): Instead of sim_io_eprintf and
+ sim_engine_halt, call cris_unknown_syscall to handle more or less
+ unknown syscalls. Adjust code as necessary to handle return
+ value.
+
+2006-09-30 Hans-Peter Nilsson <hp@axis.com>
+
+ * traps.c (TARGET_PIPE_BUF): New macro.
+ (cris_pipe_empty): Correct initialization of "remaining". Only
+ adjust the "write" return value if more than TARGET_PIPE_BUF bytes
+ are written.
+
+2006-09-29 Hans-Peter Nilsson <hp@axis.com>
+
+ * configure.ac: Check for limits.h and sys/param.h.
+ * configure, config.in: Rebuild.
+ * traps.c (SIM_PATHMAX): New macro.
+ (cris_break_13_handler): Use SIM_PATHMAX, not MAXPATHLEN.
+
+2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * configure: Regenerated.
+
+2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * configure: Regenerated.
+
+2006-04-08 Hans-Peter Nilsson <hp@axis.com>
+
+ * crisv32f.c (MY (deliver_interrupt)): Set CCS to new_ccs.
+
+2006-04-03 Hans-Peter Nilsson <hp@axis.com>
+
+ * dv-cris.c, dv-rv.c, rvdummy.c: New files.
+ * Makefile.in (CONFIG_DEVICES): Remove redundant setting.
+ (dv-cris.o, dv-rv.o rvdummy$(EXEEXT), rvdummy.o): New rules.
+ (all): Depend on rvdummy$(EXEEXT).
+ * configure.ac: Call SIM_AC_OPTION_WARNINGS. Check for
+ sys/socket.h and sys/select.h. Call SIM_AC_OPTION_HARDWARE,
+ default off.
+ * configure: Regenerate.
+ * cris-sim.h (cris_have_900000xxif): Declare here.
+ (enum cris_interrupt_type, crisv10deliver_interrupt)
+ (crisv32deliver_interrupt: New declarations.
+ * cris-tmpl.c [WITH_HW] (MY (f_model_insn_after)): Call
+ sim_events_tickn and set state-events member work_pending when it's
+ time for the next event.
+ [WITH_HW] (MY (f_specific_init)): Set CPU-model-specific
+ interrupt-delivery function.
+ * crisv10f.c (MY (deliver_interrupt)): New function.
+ * crisv32f.c (MY (deliver_interrupt)): New function.
+ * devices.c: Include hw-device.h.
+ (device_io_read_buffer) [WITH_HW]: Call hw_io_read_buffer.
+ (device_io_write_buffer): Only perform 0x900000xx-functions if
+ cris_have_900000xxif is nonzero. Else if WITH_HW defined,
+ call hw_io_write_buffer. Add return 0 last in function.
+ * sim-if.c (cris_have_900000xxif): Now global.
+ (sim_open) [WITH_HW]: Clear deliver_interrupt cpu member.
+ Force "-model" option, effectively.
+ * sim-main.h (cris_interrupt_delivery_fn): New type.
+ (struct _sim_cpu) [WITH_HW]: New member deliver_interrupt.
+
+2006-04-02 Hans-Peter Nilsson <hp@axis.com>
+
+ * Makefile.in (CRISV10F_OBJS): Remove semcrisv10f-switch.o.
+ (CRISV32F_OBJS): Remove semcrisv32f-switch.o.
+ (semcrisv10f-switch.o, semcrisv32f-switch.o: Remove dependency rules.
+
+2006-02-23 Hans-Peter Nilsson <hp@axis.com>
+
+ * traps.c (syscall_map): Remove CB_SYS_time / TARGET_SYS_time
+ mapping.
+ (cris_break_13_handler) <case TARGET_SYS_time>: New case.
+
+2006-01-10 Hans-Peter Nilsson <hp@axis.com>
+
+ * cris-tmpl.c (MY (f_model_insn_before)): Only display basic
+ cycle count for the current insn.
+
+2005-12-06 Hans-Peter Nilsson <hp@axis.com>
+
+ * cpuv10.h, cpuv32.h, cris-desc.c, cris-opc.h,
+ decodev10.c, decodev10.h, decodev32.c,
+ decodev32.h, modelv10.c, modelv32.c,
+ semcrisv10f-switch.c, semcrisv32f-switch.c: Regenerate.
+
+2005-12-05 Hans-Peter Nilsson <hp@axis.com>
+
+ * arch.c, arch.h, cpuall.h, cpuv10.c,
+ cpuv10.h, cpuv32.c, cpuv32.h, cris-desc.c,
+ cris-desc.h, cris-opc.h, decodev10.c,
+ decodev10.h, decodev32.c, decodev32.h,
+ modelv10.c, modelv32.c, semcrisv10f-switch.c,
+ semcrisv32f-switch.c: Regenerate.
+
+2005-11-20 Hans-Peter Nilsson <hp@axis.com>
+
+ * traps.c (TARGET_O_RDONLY, TARGET_O_WRONLY): Define.
+ (open_map): Use TARGET_O_ACCMODE, TARGET_O_RDONLY and
+ TARGET_O_WRONLY.
+ (cris_break_13_handler) <case TARGET_SYS_fcntl>: Add support for
+ F_GETFL on fd 0, 1 and 2.
+
+2005-11-17 Hans-Peter Nilsson <hp@axis.com>
+
+ * sim-main.h (struct _sim_cpu): New members last_syscall,
+ last_open_fd, last_open_flags.
+ * traps.c: Don't include targ-vals.h.
+ (TARGET_O_ACCMODE): Define.
+ (cris_break_13_handler): Set new _sim_cpu members.
+ <case TARGET_SYS_fcntl>: Support special case of F_GETFL.
+ Rearrange code as switch. Emit "unimplemented" abort for
+ unimplemented fcntl calls.
+
+ * traps.c (TARGET_SYS_stat): Define.
+ (syscall_stat32_map): Add entry for TARGET_SYS_stat.
+ (cris_break_13_handler) <case TARGET_SYS_stat>: New case.
+
+2005-11-16 Hans-Peter Nilsson <hp@axis.com>
+
+ * cris-tmpl.c (MY (f_model_insn_before)): Make sure only the
+ low 32 bits are used after an unsigned long cast.
+
+2005-05-28 Hans-Peter Nilsson <hp@axis.com>
+
+ * Makefile.in (stamp-v32fmloop): Depend on stamp-v10fmloop.
+
+2005-04-18 Hans-Peter Nilsson <hp@axis.com>
+
+ * traps.c (cris_break_13_handler) <case TARGET_SYS_mmap2>:
+ For ((len & 8191) != 0 && fd == (USI) -1), don't say this isn't
+ implemented. In call to create_map, pad length argument to 8k.
+
+2005-03-24 Hans-Peter Nilsson <hp@axis.com>
+
+ * Makefile.in (stamp-v10fcpu, stamp-v32fcpu): Add kludge to
+ include cgen-ops.h in decodev10.c and decodev32.c.
+ * sim-main.h: Don't include cgen-ops.h here.
+ * arch.c, arch.h, cpuall.h, cpuv10.c,
+ cpuv10.h, cpuv32.c, cpuv32.h, cris-desc.c,
+ cris-desc.h, cris-opc.h, decodev10.c,
+ decodev10.h, decodev32.c, decodev32.h,
+ modelv10.c, modelv32.c, semcrisv10f-switch.c,
+ semcrisv32f-switch.c: Regenerate.
+
+ * traps.c (cris_break_13_handler) <case
+ TARGET_SYS_rt_sigaction>: Rename sa_handler, sa_flags,
+ sa_restorer, sa_mask_low, sa_mask_high to target_sa_handler etc.
+
+2005-03-23 Mark Kettenis <kettenis@gnu.org>
+
+ * configure: Regenerate.
diff --git a/sim/ft32/ChangeLog b/sim/ft32/ChangeLog
index f04122c4c25a..bc768d5e4213 100644
--- a/sim/ft32/ChangeLog
+++ b/sim/ft32/ChangeLog
@@ -2,6 +2,14 @@
* configure: Regenerate.
+2017-11-01 James Bowman <james.bowman@ftdichip.com>
+
+ * interp.c (step_once): Add ft32 shortcode decoder.
+
+2017-10-12 James Bowman <james.bowman@ftdichip.com>
+
+ * interp.c (step_once): Replace FT32_FLD_K8 with K15.
+
2017-09-06 John Baldwin <jhb@FreeBSD.org>
* configure: Regenerate.
diff --git a/sim/m32c/ChangeLog b/sim/m32c/ChangeLog
index 5fca9c59cc02..86cd750eede3 100644
--- a/sim/m32c/ChangeLog
+++ b/sim/m32c/ChangeLog
@@ -269,6 +269,13 @@
(m32c_sim_restore_console): Disable if no termios.
(mem_get_byte): Disable console input if no termios.
+2009-05-08 Kevin Buettner <kevinb@redhat.com>
+
+ * gdb-if.c (m32c_signal_to_host): Rename to
+ m32c_signal_to_target. Change signal return values from SIGILL,
+ SIGTRAP, SIGSEGV, etc. to TARGET_SIGNAL_ILL, TARGET_SIGNAL_TRAP,
+ TARGET_SIGNAL_SEGV, etc. Fix all callers.
+
2009-01-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* r8c.opc, m32c.opc: Add parentheses to remove warnings.
@@ -406,5 +413,3 @@
* syscalls.h: New.
* trace.c: New.
* trace.h: New.
-
-
diff --git a/sim/or1k/ChangeLog b/sim/or1k/ChangeLog
new file mode 100644
index 000000000000..c4b103298edd
--- /dev/null
+++ b/sim/or1k/ChangeLog
@@ -0,0 +1,52 @@
+2019-06-13 Stafford Horne <shorne@gmail.com>
+
+ * cpu.c: Regenerate.
+ * cpu.h: Regenerate.
+ * decode.c: Regenerate.
+ * decode.h: Regenerate.
+ * model.c: Regenerate.
+ * sem-switch.c: Regenerate.
+ * sem.c: Regenerate.
+
+2018-10-05 Stafford Horne <shorne@gmail.com>
+
+ * cpu.h: Regenerate.
+ * decode.c: Regenerate.
+ * decode.h: Regenerate.
+ * model.c: Regenerate.
+ * sem-switch.c: Regenerate.
+ * sem.c: Regenerate:
+
+2017-12-12 Stafford Horne <shorne@gmail.com>
+ Peter Gavin <pgavin@gmail.com>
+
+ * aclocal.m4: Generated.
+ * config.in: Generated.
+ * configure: Generated.
+
+2017-12-12 Stafford Horne <shorne@gmail.com>
+ Peter Gavin <pgavin@gmail.com>
+
+ * arch.c: Generated.
+ * arch.h: Generated.
+ * cpu.c: Generated.
+ * cpu.h: Generated.
+ * cpuall.h: Generated.
+ * decode.c: Generated.
+ * decode.h: Generated.
+ * model.c: Generated.
+ * sem-switch.c: Generated.
+ * sem.c: Generated.
+
+2017-12-12 Stafford Horne <shorne@gmail.com>
+ Peter Gavin <pgavin@gmail.com>
+
+ * README: New file.
+ * Makefile.in: New file.
+ * configure.ac: New file.
+ * mloop.in: New file.
+ * or1k-sim.h: New file.
+ * or1k.c: New file.
+ * sim-if.c: New file.
+ * sim-main.h: New file.
+ * traps.c: New file.
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index 041e27a635b2..d0d96941d646 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -37,6 +37,10 @@
PR build/24572:
* Makefile.in (install-strip): New target.
+2019-09-20 Alan Modra <amodra@gmail.com>
+
+ * emul_generic.c (emul_add_tree_options): Delete old bfd code.
+
2019-01-26 Tom Tromey <tom@tromey.com>
* Makefile.in (version.c): Use sim's create-version.sh.
diff --git a/sim/testsuite/ChangeLog b/sim/testsuite/ChangeLog
index 4363bb566ddf..4767062a9bf2 100644
--- a/sim/testsuite/ChangeLog
+++ b/sim/testsuite/ChangeLog
@@ -15,27 +15,11 @@
* configure: Regnerate.
* configure.ac (AC_CONFIG_AUX_DIR): Update.
-2020-09-08 David Faust <david.faust@oracle.com>
-
- * sim/bpf/alu.s: Correct div and mod tests.
- * sim/bpf/alu32.s: Likewise.
-
2020-08-04 David Faust <david.faust@oracle.com>
Jose E. Marchesi <jose.marchesi@oracle.com>
* configure: Regenerate.
- * sim/bpf/allinsn.exp: New file.
- * sim/bpf/alu.s: Likewise.
- * sim/bpf/alu32.s: Likewise.
- * sim/bpf/endbe.s: Likewise.
- * sim/bpf/endle.s: Likewise.
- * sim/bpf/jmp.s: Likewise.
- * sim/bpf/jmp32.s: Likewise.
- * sim/bpf/ldabs.s: Likewise.
- * sim/bpf/mem.s: Likewise.
- * sim/bpf/mov.s: Likewise.
- * sim/bpf/testutils.inc: Likewise.
- * sim/bpf/xadd.s: Likewise.
+ * sim/bpf: New directory.
2020-07-29 Simon Marchi <simon.marchi@efficios.com>
diff --git a/sim/testsuite/sim/bpf/ChangeLog b/sim/testsuite/sim/bpf/ChangeLog
new file mode 100644
index 000000000000..17dd79b468a7
--- /dev/null
+++ b/sim/testsuite/sim/bpf/ChangeLog
@@ -0,0 +1,20 @@
+2020-09-08 David Faust <david.faust@oracle.com>
+
+ * alu.s: Correct div and mod tests.
+ * alu32.s: Likewise.
+
+2020-08-04 David Faust <david.faust@oracle.com>
+ Jose E. Marchesi <jose.marchesi@oracle.com>
+
+ * allinsn.exp: New file.
+ * alu.s: Likewise.
+ * alu32.s: Likewise.
+ * endbe.s: Likewise.
+ * endle.s: Likewise.
+ * jmp.s: Likewise.
+ * jmp32.s: Likewise.
+ * ldabs.s: Likewise.
+ * mem.s: Likewise.
+ * mov.s: Likewise.
+ * testutils.inc: Likewise.
+ * xadd.s: Likewise.
--
2.28.0
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] sim: ChangeLog: move arch-specific entries into the arch dir
2021-01-07 8:09 [PATCH] sim: ChangeLog: move arch-specific entries into the arch dir Mike Frysinger via Gdb-patches
@ 2021-01-07 9:33 ` Andrew Burgess
2021-01-07 17:12 ` Mike Frysinger via Gdb-patches
2021-01-07 12:14 ` Jose E. Marchesi via Gdb-patches
1 sibling, 1 reply; 14+ messages in thread
From: Andrew Burgess @ 2021-01-07 9:33 UTC (permalink / raw)
To: Mike Frysinger; +Cc: gdb-patches
I'm happy for this to go in.
It was discussed somewhere recently that we might want to consider
collapsing all the different sim/ ChangeLogs into a single file. I
mention this only so you're aware that conversation took place.
Thanks,
Andrew
* Mike Frysinger via Gdb-patches <gdb-patches@sourceware.org> [2021-01-07 03:09:47 -0500]:
> We don't want arch-specific entries in the common ChangeLog files.
> Most arches do this already, so clean up the recent additions, and
> move some older entries down to help avoid confusing newcomers.
> ---
> sim/ChangeLog | 490 --------------------------------
> sim/avr/ChangeLog | 23 ++
> sim/bpf/ChangeLog | 54 ++++
> sim/cris/ChangeLog | 355 +++++++++++++++++++++++
> sim/ft32/ChangeLog | 8 +
> sim/m32c/ChangeLog | 9 +-
> sim/or1k/ChangeLog | 52 ++++
> sim/ppc/ChangeLog | 4 +
> sim/testsuite/ChangeLog | 18 +-
> sim/testsuite/sim/bpf/ChangeLog | 20 ++
> 10 files changed, 524 insertions(+), 509 deletions(-)
> create mode 100644 sim/bpf/ChangeLog
> create mode 100644 sim/or1k/ChangeLog
> create mode 100644 sim/testsuite/sim/bpf/ChangeLog
>
> diff --git a/sim/ChangeLog b/sim/ChangeLog
> index 047ff6ba0800..121f005217a1 100644
> --- a/sim/ChangeLog
> +++ b/sim/ChangeLog
> @@ -1,66 +1,15 @@
> -2020-11-01 Simon Marchi <simon.marchi@polymtl.ca>
> -
> - * bpf/configure: Re-generate.
> -
> -2020-09-08 David Faust <david.faust@oracle.com>
> -
> - * bpf/sem-be.c: Regenerate.
> - * bpf/sem-le.c: Likewise.
> -
> -2020-09-03 Jose E. Marchesi <jose.marchesi@oracle.com>
> -
> - * bpf/bpf.c: Include bpf-helpers.h.
> - * bpf/bpf-helpers.h: Provide a prototype for bpf_trace_printk.
> - * bpf/configure.ac: Set simulator bitsize to 64.
> - * bpf/configure (includedir): Regenerate.
> - * bpf/sim-if.c: Include stdlib.h.
> - * bpf/traps.c: Likewise.
> -
> 2020-09-03 Jose E. Marchesi <jose.marchesi@oracle.com>
>
> * configure.ac: Do not configure sim/testsuite nor sim/igen if the
> primary target doesn't have a simulator.
> * configure: Regenerate.
>
> -2020-08-04 Jose E. Marchesi <jose.marchesi@oracle.com>
> - David Faust <david.faust@oracle.com>
> -
> - * bpf/arch.c: Likewise.
> - * bpf/arch.h: Likewise.
> - * bpf/cpu.c: Likewise.
> - * bpf/cpu.h: Likewise.
> - * bpf/cpuall.h: Likewise.
> - * bpf/decode-be.c: Likewise.
> - * bpf/decode-be.h: Likewise.
> - * bpf/decode-le.c: Likewise.
> - * bpf/decode-le.h: Likewise.
> - * bpf/defs-be.h: Likewise.
> - * bpf/defs-le.h: Likewise.
> - * bpf/sem-be.c: Likewise.
> - * bpf/sem-le.c: Likewise.
> -
> 2020-08-04 Jose E. Marchesi <jose.marchesi@oracle.com>
> David Faust <david.faust@oracle.com>
>
> * configure.tgt (sim_arch): Add entry for bpf-*-*.
> * configure: Regenerate.
> * MAINTAINERS: Add maintainer for the BPF simulator.
> - * bpf/Makefile.in: New file.
> - * bpf/bpf-helpers.c: Likewise.
> - * bpf/bpf-helpers.def: Likewise.
> - * bpf/bpf-helpers.h: Likewise.
> - * bpf/bpf-sim.h: Likewise.
> - * bpf/bpf.c: Likewise.
> - * bpf/config.in: Likewise.
> - * bpf/configure.ac: Likewise.
> - * bpf/decode.h: Likewise.
> - * bpf/eng.h: Likewise.
> - * bpf/mloop.in: Likewise.
> - * bpf/sim-if.c: Likewise.
> - * bpf/sim-main.h: Likewise.
> - * bpf/traps.c: Likewise.
> - * bpf/configure: Generate.
> - * bpf/aclocal.m4: Likewise.
>
> 2019-12-19 Tom Tromey <tromey@adacore.com>
>
> @@ -73,10 +22,6 @@
> * configure: Regenerated.
> * configure.tgt: Add PRU.
>
> -2019-09-20 Alan Modra <amodra@gmail.com>
> -
> - * ppc/emul_generic.c (emul_add_tree_options): Delete old bfd code.
> -
> 2019-09-18 Alan Modra <amodra@gmail.com>
>
> * common/sim-load.c, * common/sim-utils.c, * cris/sim-if.c,
> @@ -85,16 +30,6 @@
> * rl78/load.c, * rl78/trace.c, * rx/gdb-if.c, * rx/load.c,
> * rx/trace.c: Update throughout for bfd section macro changes.
>
> -2019-06-13 Stafford Horne <shorne@gmail.com>
> -
> - * or1k/cpu.c: Regenerate.
> - * or1k/cpu.h: Regenerate.
> - * or1k/decode.c: Regenerate.
> - * or1k/decode.h: Regenerate.
> - * or1k/model.c: Regenerate.
> - * or1k/sem-switch.c: Regenerate.
> - * or1k/sem.c: Regenerate.
> -
> 2019-02-28 Joel Brobecker <brobecker@adacore.com>
>
> * MAINTAINERS: Move Mike Frysinger to past maintainers' section.
> @@ -119,15 +54,6 @@
> * or1k/configure: Regenerate.
> * sh64/configure: Regenerate.
>
> -2018-10-05 Stafford Horne <shorne@gmail.com>
> -
> - * or1k/cpu.h: Regenerate.
> - * or1k/decode.c: Regenerate.
> - * or1k/decode.h: Regenerate.
> - * or1k/model.c: Regenerate.
> - * or1k/sem-switch.c: Regenerate.
> - * or1k/sem.c: Regenerate:
> -
> 2018-07-20 Maciej W. Rozycki <macro@mips.com>
>
> * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
> @@ -154,45 +80,11 @@
> Peter Gavin <pgavin@gmail.com>
>
> * configure: Regenerated.
> - * or1k/aclocal.m4: Generated.
> - * or1k/config.in: Generated.
> - * or1k/configure: Generated.
> -
> -2017-12-12 Stafford Horne <shorne@gmail.com>
> - Peter Gavin <pgavin@gmail.com>
> -
> - * or1k/arch.c: Generated.
> - * or1k/arch.h: Generated.
> - * or1k/cpu.c: Generated.
> - * or1k/cpu.h: Generated.
> - * or1k/cpuall.h: Generated.
> - * or1k/decode.c: Generated.
> - * or1k/decode.h: Generated.
> - * or1k/model.c: Generated.
> - * or1k/sem-switch.c: Generated.
> - * or1k/sem.c: Generated.
>
> 2017-12-12 Stafford Horne <shorne@gmail.com>
> Peter Gavin <pgavin@gmail.com>
>
> * configure.tgt: Add or1k sim.
> - * or1k/README: New file.
> - * or1k/Makefile.in: New file.
> - * or1k/configure.ac: New file.
> - * or1k/mloop.in: New file.
> - * or1k/or1k-sim.h: New file.
> - * or1k/or1k.c: New file.
> - * or1k/sim-if.c: New file.
> - * or1k/sim-main.h: New file.
> - * or1k/traps.c: New file.
> -
> -2017-11-01 James Bowman <james.bowman@ftdichip.com>
> -
> - * ft32/interp.c (step_once): Add ft32 shortcode decoder.
> -
> -2017-10-12 James Bowman <james.bowman@ftdichip.com>
> -
> - * ft32/interp.c (step_once): Replace FT32_FLD_K8 with K15.
>
> 2017-10-12 James Bowman <james.bowman@ftdichip.com>
>
> @@ -557,32 +449,12 @@
>
> * README-HACKING: Add more sections.
>
> -2010-02-11 Doug Evans <dje@sebabeach.org>
> -
> - * cris/cpuv10.h, * cris/cpuv32.h, * cris/cris-desc.c,
> - * cris/cris-desc.h, * cris/decodev10.c, * cris/decodev32.c,
> - * cris/modelv10.c, * cris/modelv32.c, * cris/semcrisv10f-switch.c,
> - * cris/semcrisv32f-switch.c: Regenerate.
> -
> 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
>
> * avr/configure: Regenerate.
> * cris/configure: Regenerate.
> * microblaze/configure: Regenerate.
>
> -2010-01-02 Doug Evans <dje@sebabeach.org>
> -
> - * cris/arch.c, * cris/arch.h, * cris/cpuall.h, * cris/cpuv10.c,
> - * cris/cpuv10.h, * cris/cpuv32.c, * cris/cpuv32.h, * cris/cris-desc.c,
> - * cris/cris-desc.h, * cris/cris-opc.h, * cris/decodev10.c,
> - * cris/decodev10.h, * cris/decodev32.c, * cris/decodev32.h,
> - * cris/modelv10.c, * cris/modelv32.c, * cris/semcrisv10f-switch.c,
> - * cris/semcrisv32f-switch.c: Regenerate, update copyright year.
> -
> -2010-01-01 Doug Evans <dje@sebabeach.org>
> -
> - * cris/mloop.in: Fix copyright year update snafu.
> -
> 2009-11-24 Joel Brobecker <brobecker@adacore.com>
>
> * common/aclocal.m4: Add include of ../../config/zlib.m4.
> @@ -602,54 +474,6 @@
> * configure.ac: Add entry for Renesas RX.
> * configure: Regenerate.
>
> -2009-11-22 Doug Evans <dje@sebabeach.org>
> -
> - * cris/cpuall.h: Regenerate.
> - * cris/cpuv10.h: Regenerate.
> - * cris/cpuv32.h: Regenerate.
> - * cris/decodev10.c: Regenerate.
> - * cris/decodev10.h: Regenerate.
> - * cris/decodev32.c: Regenerate.
> - * cris/decodev32.h: Regenerate.
> -
> -2009-11-12 Tristan Gingold <gingold@adacore.com>
> -
> - * avr/interp.c (sim_write): Allow byte access.
> - (sim_read): Ditto.
> -
> -2009-11-12 Tristan Gingold <gingold@adacore.com>
> -
> - * avr/interp.c (sim_load): Clear memory before loading.
> -
> -2009-11-09 Tristan Gingold <gingold@adacore.com>
> -
> - * avr/interp.c (sim_resume): Fix typo for OP_ret.
> -
> -2009-10-23 Doug Evans <dje@sebabeach.org>
> -
> - * cris/arch.c: Regenerate.
> - * cris/arch.h: Regenerate.
> - * cris/cpuall.h: Regenerate.
> - * cris/cpuv10.c: Regenerate.
> - * cris/cpuv10.h: Regenerate.
> - * cris/cpuv32.c: Regenerate.
> - * cris/cpuv32.h: Regenerate.
> - * cris/cris-desc.c: Regenerate.
> - * cris/cris-desc.h: Regenerate.
> - * cris/cris-opc.h: Regenerate.
> - * cris/decodev10.c: Regenerate.
> - * cris/decodev10.h: Regenerate.
> - * cris/decodev32.c: Regenerate.
> - * cris/decodev32.h: Regenerate.
> - * cris/modelv10.c: Regenerate.
> - * cris/modelv32.c: Regenerate.
> - * cris/semcrisv10f-switch.c: Regenerate.
> - * cris/semcrisv32f-switch.c: Regenerate.
> -
> -2009-10-22 Tristan Gingold <gingold@adacore.com>
> -
> - * avr/interp.c (sim_stop): Return 1.
> -
> 2009-10-16 Doug Evans <dje@sebabeach.org>
>
> * MAINTAINERS: Add myself as m32r maintainer.
> @@ -707,13 +531,6 @@
>
> * MAINTAINERS: Orphan ppc.
>
> -2009-05-08 Kevin Buettner <kevinb@redhat.com>
> -
> - * m32c/gdb-if.c (m32c_signal_to_host): Rename to
> - m32c_signal_to_target. Change signal return values from SIGILL,
> - SIGTRAP, SIGSEGV, etc. to TARGET_SIGNAL_ILL, TARGET_SIGNAL_TRAP,
> - TARGET_SIGNAL_SEGV, etc. Fix all callers.
> -
> 2009-04-30 Anthony Green <green@moxielogic.com>
>
> * MAINTAINERS: Add myself for the moxie port.
> @@ -724,9 +541,6 @@
> 2009-04-27 Tristan Gingold <gingold@adacore.com>
>
> * avr: New directory.
> - * avr/interp.c, avr/Makefile.in, avr/configure.ac: New files.
> - * avr/config.in: New file, generated by autoheader.
> - * avr/configure: New file generated by autoconf.
> * configure.ac: Add avr.
> * configure: Regenerated.
>
> @@ -735,121 +549,6 @@
> * Makefile.in: Add dummy install-pdf, html, and
> install-html targets.
>
> -2009-01-18 Hans-Peter Nilsson <hp@axis.com>
> -
> - * cris/sim-if.c: Include errno.h.
> - (cris_start_address, cris_program_offset): New variables.
> - (OPTION_CRIS_PROGRAM_OFFSET, OPTION_CRIS_STARTADDR): New option
> - enums.
> - (cris_options): New options --cris-program-offset and
> - --cris-start-address.
> - (cris_option_handler): Handle new options.
> - (cris_program_offset_write, cris_set_section_offset_iterator)
> - (cris_offset_sections, cris_offset_sections): New functions.
> - (sim_load): Use cris_program_offset_write as function argument to
> - cris_load_elf_file, not sim_write.
> - (struct offsetinfo): New struct.
> - (cris_handle_interpreter): Fix typo in comment.
> - (sim_open): Call cris_offset_sections as soon as the bfd of the
> - infile is available. Gate bfd validity checks on abfd non-NULL.
> - (sim_create_inferior): Let cris_start_address when != -1 override
> - other start-address choices.
> -
> -2009-01-06 Hans-Peter Nilsson <hp@axis.com>
> -
> - * cris/traps.c (abort): Define to call sim_io_error.
> - (create_map): Make -1 imply a non-fixed address, not 0. All
> - callers changed. Only prefer the next higher unmapped address if
> - the last mapped address is no less than 0x40000000. Check that
> - the address to be mapped is not already mapped. Update head
> - comment.
> - (unmap_pages): Don't call abort when recursive call fails, just
> - note and return an error if a page in the range couldn't be unmapped.
> - (cris_bmod_handler, h_supr_set_handler, h_supr_get_handler)
> - (schedule, make_first_thread, cris_pipe_empty): New local variable sd.
> - (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle
> - non-MAP_FIXED argument overlapping existing map. For MAP_FIXED,
> - don't abort on page not being mapped. Handle non-anon filemap
> - with length padded to pagesize.
> -
> -2009-01-03 Hans-Peter Nilsson <hp@axis.com>
> -
> - * cris/sim-if.c (TARGET_AT_NULL, TARGET_AT_PHDR, TARGET_AT_PHENT)
> - (TARGET_AT_PHNUM, TARGET_AT_PAGESZ, TARGET_AT_BASE)
> - (TARGET_AT_FLAGS, TARGET_AT_ENTRY, TARGET_AT_UID, TARGET_AT_EUID)
> - (TARGET_AT_GID, TARGET_AT_EGID, TARGET_AT_HWCAP)
> - (TARGET_AT_CLKTCK): Remove redundant macros.
> - (AUX_ENT): Adjust to use standard ELF AT_* macros.
> - (AUX_ENTF): Ditto. Remove always-0 middle argument. Update all
> - callers.
> - (sim_open): Also pass AT_SECURE.
> -
> - * cris/sim-main.h (struct _sim_cpu): New member
> - set_target_thread_data.
> - * cris/crisv32f.c (CRIS_TLS_REGISTER): Define.
> - * cris/crisv10f.c: Ditto.
> - * cris/cris-tmpl.c (MY (set_target_thread_data)): New function.
> - (MY (f_specific_init)): Set new _sim_cpu member to new function.
> - * cris/traps.c (TARGET_SYS_set_thread_area): Define.
> - (cris_break_13_handler) <case TARGET_SYS_set_thread_area>: New
> - case.
> -
> - * cris/traps.c (TARGET_SYS_exit_group): Define.
> - (cris_break_13_handler): Handle it like the exit for the last
> - thread.
> -
> - * cris/traps.c (TARGET_UTSNAME): Update to 2009-01-01.
> - (TARGET_EPOCH): Update to match TARGET_UTSNAME. Correct comment.
> - (cris_break_13_handler) <case TARGET_SYS_uname>: Update to
> - 2.6.27. Set machine field to the BFD printable name of the
> - machine.
> -
> - * cris/traps.c (TARGET_MAP_DENYWRITE): Define.
> - (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle
> - TARGET_MAP_DENYWRITE.
> -
> - * cris/traps.c (TARGET_SYS_access, TARGET_R_OK, TARGET_W_OK)
> - (TARGET_X_OK, TARGET_F_OK): Define.
> - (cris_break_13_handler) <case TARGET_SYS_access>: New case.
> -
> - * cris/semcrisv32f-switch.c: Regenerate.
> -
> -2008-12-30 Hans-Peter Nilsson <hp@axis.com>
> -
> - * cris/sim-if.c (sim_open): If sim_analyze_program fails, emit
> - just a short CRIS-specific notice. Tweak the wording for a
> - failing architecture test.
> -
> - * cris/traps.c (TARGET_SYS_writev): New macro.
> - (is_mapped_only, cris_dump_map): New functions.
> - (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle more flags
> - and prot combinations and a non-zero page-offset. If
> - TARGET_MAP_FIXED, unmap pages before mapping them.
> - <case TARGET_SYS_mprotect>: When checking, allow any length
> - argument. Don't actually do anything.
> - <case TARGET_SYS_writev>: New case.
> -
> - * cris/Makefile.in (SIM_OBJS): Remove sim-hload.o.
> - * cris/sim-if.c: Include elf-bfd.h.
> - (struct progbounds): New members end_loadmem, start_nonloadmem.
> - (xprintf, eprintf): New functions, copied from common/sim-load.c.
> - (cris_load_elf_file, sim_load, cris_get_progbounds): New functions.
> - (get_progbounds_iterator): Renamed from get_progbounds. Make
> - static. Update head comment. Set new struct progbounds members.
> - (exec_load_addr, interp_load_addr, interp_start_addr): New static
> - variables.
> - (aux_ent_phdr, aux_ent_phent, aux_ent_phnum, aux_ent_base)
> - (aux_ent_entry, cris_write_interp, cris_handle_interpreter): New
> - functions.
> - (sim_open): New constant array auxv_entries. Rewrite AUX_ENT
> - handling to use auxv_entries. Improve error message and checking
> - for invalid programs. Use new variable abfd for the program
> - instead of for each access reaching into sd to get it.
> - (sim_create_inferior): If non-zero, use interp_start_addr instead
> - of the program start address.
> - (cris_disassemble_insn): Remove incorrect and unclear, supposedly
> - stale comment. Always specify little-endian.
> -
> 2008-07-29 Nick Clifton <nickc@redhat.com>
>
> * common/genmloop.sh: Add new parameter: -shell to specify the
> @@ -866,17 +565,6 @@
>
> * frv/mloop.in: Add missing start of line comment marker.
>
> -2008-07-11 Hans-Peter Nilsson <hp@axis.com>
> -
> - * cris/configure: Regenerate to track ../common/common.m4 changes.
> - * cris/config.in: Ditto.
> -
> -2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
> - Daniel Jacobowitz <dan@codesourcery.com>
> - Joseph Myers <joseph@codesourcery.com>
> -
> - * cris/configure: Regenerate.
> -
> 2008-05-09 Olivier Hainque <hainque@adacore.com>
>
> * ppc/altivec.igen (vperm): Latch inputs into temporaries.
> @@ -906,15 +594,6 @@
> * frv/frv.c (frvbf_cut): Only look at the six LSBs of
> cut_point.
>
> -2007-10-22 Hans-Peter Nilsson <hp@axis.com>
> -
> - * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
> - cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c,
> - cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c,
> - cris/decodev10.h, cris/decodev32.c, cris/decodev32.h,
> - cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c,
> - cris/semcrisv32f-switch.c: Regenerate.
> -
> 2007-08-24 Joel Brobecker <brobecker@adacore.com>
>
> Switch the license of all files explicitly copyright the FSF
> @@ -924,11 +603,6 @@
>
> * Makefile.in: Add dummy "pdf" target.
>
> -2007-02-20 Hans-Peter Nilsson <hp@axis.com>
> -
> - * cris/traps.c (dump_statistics): Change format for cycle numbers
> - to %llu and cast parameters to unsigned long long.
> -
> 2007-02-16 Thiemo Seufer <ths@mips.com>
>
> * Makefile.in (FLAGS_TO_PASS, TARGET_FLAGS_TO_PASS): Add RUNTEST.
> @@ -958,54 +632,16 @@
>
> * MAINTAINERS: Add self as authorized committer for *.
>
> -2006-10-02 Edgar E. Iglesias <edgar@axis.com>
> - Hans-Peter Nilsson <hp@axis.com>
> -
> - * cris/cris-sim.h (enum cris_unknown_syscall_action_type)
> - (cris_unknown_syscall_action): Declare.
> - * cris/sim-if.c (cris_unknown_syscall_action): Define.
> - (cris_options): Add cris-unknown-syscall option.
> - (cris_option_handler): Correct comment about and error message for
> - invalid --cris-cycles argument. Handle --cris-unknown-syscall.
> - * cris/traps.c: Include stdarg.h
> - (cris_unknown_syscall): New function.
> - (cris_break_13_handler): Instead of sim_io_eprintf and
> - sim_engine_halt, call cris_unknown_syscall to handle more or less
> - unknown syscalls. Adjust code as necessary to handle return
> - value.
> -
> 2006-09-30 Daniel Jacobowitz <dan@codesourcery.com>
>
> * MAINTAINERS: Add Dave Brolley for sh64.
>
> -2006-09-30 Hans-Peter Nilsson <hp@axis.com>
> -
> - * cris/traps.c (TARGET_PIPE_BUF): New macro.
> - (cris_pipe_empty): Correct initialization of "remaining". Only
> - adjust the "write" return value if more than TARGET_PIPE_BUF bytes
> - are written.
> -
> -2006-09-29 Hans-Peter Nilsson <hp@axis.com>
> -
> - * cris/configure.ac: Check for limits.h and sys/param.h.
> - * cris/configure, cris/config.in: Rebuild.
> - * cris/traps.c (SIM_PATHMAX): New macro.
> - (cris_break_13_handler): Use SIM_PATHMAX, not MAXPATHLEN.
> -
> 2006-08-08 Joel Sherrill <joel.sherrill@oarcorp.com>
>
> * configure.ac (sparc-*-rtems*|sparc-*-elf*): Enable erc32 simulator.
> * Makefile.in (FLAGS_TO_PASS): Include libdir.
> * configure: Regenerated.
>
> -2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
> -
> - * cris/configure: Regenerated.
> -
> -2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
> -
> - * cris/configure: Regenerated.
> -
> 2006-05-05 Andreas Schwab <schwab@suse.de>
>
> * configure.ac (CFLAGS_FOR_BUILD): Set and substitute.
> @@ -1020,57 +656,10 @@
> * MAINTAINERS: Add an "Authorized committers" section, and list
> DJ Delorie for v850.
>
> -2006-04-08 Hans-Peter Nilsson <hp@axis.com>
> -
> - * cris/crisv32f.c (MY (deliver_interrupt)): Set CCS to new_ccs.
> -
> -2006-04-03 Hans-Peter Nilsson <hp@axis.com>
> -
> - * cris/dv-cris.c, cris/dv-rv.c, cris/rvdummy.c: New files.
> - * cris/Makefile.in (CONFIG_DEVICES): Remove redundant setting.
> - (dv-cris.o, dv-rv.o rvdummy$(EXEEXT), rvdummy.o): New rules.
> - (all): Depend on rvdummy$(EXEEXT).
> - * cris/configure.ac: Call SIM_AC_OPTION_WARNINGS. Check for
> - sys/socket.h and sys/select.h. Call SIM_AC_OPTION_HARDWARE,
> - default off.
> - * cris/configure: Regenerate.
> - * cris/cris-sim.h (cris_have_900000xxif): Declare here.
> - (enum cris_interrupt_type, crisv10deliver_interrupt)
> - (crisv32deliver_interrupt: New declarations.
> - * cris/cris-tmpl.c [WITH_HW] (MY (f_model_insn_after)): Call
> - sim_events_tickn and set state-events member work_pending when it's
> - time for the next event.
> - [WITH_HW] (MY (f_specific_init)): Set CPU-model-specific
> - interrupt-delivery function.
> - * cris/crisv10f.c (MY (deliver_interrupt)): New function.
> - * cris/crisv32f.c (MY (deliver_interrupt)): New function.
> - * cris/devices.c: Include hw-device.h.
> - (device_io_read_buffer) [WITH_HW]: Call hw_io_read_buffer.
> - (device_io_write_buffer): Only perform 0x900000xx-functions if
> - cris_have_900000xxif is nonzero. Else if WITH_HW defined,
> - call hw_io_write_buffer. Add return 0 last in function.
> - * cris/sim-if.c (cris_have_900000xxif): Now global.
> - (sim_open) [WITH_HW]: Clear deliver_interrupt cpu member.
> - Force "-model" option, effectively.
> - * cris/sim-main.h (cris_interrupt_delivery_fn): New type.
> - (struct _sim_cpu) [WITH_HW]: New member deliver_interrupt.
> -
> -2006-04-02 Hans-Peter Nilsson <hp@axis.com>
> -
> - * cris/Makefile.in (CRISV10F_OBJS): Remove semcrisv10f-switch.o.
> - (CRISV32F_OBJS): Remove semcrisv32f-switch.o.
> - (semcrisv10f-switch.o, semcrisv32f-switch.o: Remove dependency rules.
> -
> 2006-03-13 DJ Delorie <dj@redhat.com>
>
> * MAINTAINERS: Add self as m32c sim maintainer.
>
> -2006-02-23 Hans-Peter Nilsson <hp@axis.com>
> -
> - * cris/traps.c (syscall_map): Remove CB_SYS_time / TARGET_SYS_time
> - mapping.
> - (cris_break_13_handler) <case TARGET_SYS_time>: New case.
> -
> 2006-01-23 Jim Blandy <jimb@redhat.com>
>
> Add simulator for Renesas M32C and M16C.
> @@ -1079,59 +668,6 @@
> * configure.ac: Add entry for Renesas M32C.
> * configure: Regenerate.
>
> -2006-01-10 Hans-Peter Nilsson <hp@axis.com>
> -
> - * cris/cris-tmpl.c (MY (f_model_insn_before)): Only display basic
> - cycle count for the current insn.
> -
> -2005-12-06 Hans-Peter Nilsson <hp@axis.com>
> -
> - * cris/cpuv10.h, cris/cpuv32.h, cris/cris-desc.c, cris/cris-opc.h,
> - cris/decodev10.c, cris/decodev10.h, cris/decodev32.c,
> - cris/decodev32.h, cris/modelv10.c, cris/modelv32.c,
> - cris/semcrisv10f-switch.c, cris/semcrisv32f-switch.c: Regenerate.
> -
> -2005-12-05 Hans-Peter Nilsson <hp@axis.com>
> -
> - * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
> - cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c,
> - cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c,
> - cris/decodev10.h, cris/decodev32.c, cris/decodev32.h,
> - cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c,
> - cris/semcrisv32f-switch.c: Regenerate.
> -
> -2005-11-20 Hans-Peter Nilsson <hp@axis.com>
> -
> - * cris/traps.c (TARGET_O_RDONLY, TARGET_O_WRONLY): Define.
> - (open_map): Use TARGET_O_ACCMODE, TARGET_O_RDONLY and
> - TARGET_O_WRONLY.
> - (cris_break_13_handler) <case TARGET_SYS_fcntl>: Add support for
> - F_GETFL on fd 0, 1 and 2.
> -
> -2005-11-17 Hans-Peter Nilsson <hp@axis.com>
> -
> - * cris/sim-main.h (struct _sim_cpu): New members last_syscall,
> - last_open_fd, last_open_flags.
> - * cris/traps.c: Don't include targ-vals.h.
> - (TARGET_O_ACCMODE): Define.
> - (cris_break_13_handler): Set new _sim_cpu members.
> - <case TARGET_SYS_fcntl>: Support special case of F_GETFL.
> - Rearrange code as switch. Emit "unimplemented" abort for
> - unimplemented fcntl calls.
> -
> - * cris/traps.c (TARGET_SYS_stat): Define.
> - (syscall_stat32_map): Add entry for TARGET_SYS_stat.
> - (cris_break_13_handler) <case TARGET_SYS_stat>: New case.
> -
> -2005-11-16 Hans-Peter Nilsson <hp@axis.com>
> -
> - * cris/cris-tmpl.c (MY (f_model_insn_before)): Make sure only the
> - low 32 bits are used after an unsigned long cast.
> -
> -2005-05-28 Hans-Peter Nilsson <hp@axis.com>
> -
> - * cris/Makefile.in (stamp-v32fmloop): Depend on stamp-v10fmloop.
> -
> 2005-05-26 Chris Demetriou <cgd@netbsd.org>
>
> * MAINTAINERS: Update my mail address, move myself to the
> @@ -1156,12 +692,6 @@
>
> * common/Make-common.in: Add $(EXEEXT) to "run".
>
> -2005-04-18 Hans-Peter Nilsson <hp@axis.com>
> -
> - * cris/traps.c (cris_break_13_handler) <case TARGET_SYS_mmap2>:
> - For ((len & 8191) != 0 && fd == (USI) -1), don't say this isn't
> - implemented. In call to create_map, pad length argument to 8k.
> -
> 2005-04-15 Corinna Vinschen <vinschen@redhat.com>
>
> * configure.ac: Add explicit sh64 case.
> @@ -1171,26 +701,6 @@
>
> * arm/wrapper.c: Provide SIGTRAP and SIGBUS.
>
> -2005-03-24 Hans-Peter Nilsson <hp@axis.com>
> -
> - * cris/Makefile.in (stamp-v10fcpu, stamp-v32fcpu): Add kludge to
> - include cgen-ops.h in decodev10.c and decodev32.c.
> - * cris/sim-main.h: Don't include cgen-ops.h here.
> - * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
> - cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c,
> - cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c,
> - cris/decodev10.h, cris/decodev32.c, cris/decodev32.h,
> - cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c,
> - cris/semcrisv32f-switch.c: Regenerate.
> -
> - * cris/traps.c (cris_break_13_handler) <case
> - TARGET_SYS_rt_sigaction>: Rename sa_handler, sa_flags,
> - sa_restorer, sa_mask_low, sa_mask_high to target_sa_handler etc.
> -
> -2005-03-23 Mark Kettenis <kettenis@gnu.org>
> -
> - * cris/configure: Regenerate.
> -
> 2005-02-28 Jim Blandy <jimb@redhat.com>
>
> * d10v/configure.ac, igen/configure.ac, m68hc11/configure.ac,
> diff --git a/sim/avr/ChangeLog b/sim/avr/ChangeLog
> index f1a8366ab5d1..d03bc95a7e07 100644
> --- a/sim/avr/ChangeLog
> +++ b/sim/avr/ChangeLog
> @@ -282,3 +282,26 @@
> 2010-04-14 Mike Frysinger <vapier@gentoo.org>
>
> * interp.c (sim_write): Add const to buffer arg.
> +
> +2009-11-12 Tristan Gingold <gingold@adacore.com>
> +
> + * interp.c (sim_write): Allow byte access.
> + (sim_read): Ditto.
> +
> +2009-11-12 Tristan Gingold <gingold@adacore.com>
> +
> + * interp.c (sim_load): Clear memory before loading.
> +
> +2009-11-09 Tristan Gingold <gingold@adacore.com>
> +
> + * interp.c (sim_resume): Fix typo for OP_ret.
> +
> +2009-10-22 Tristan Gingold <gingold@adacore.com>
> +
> + * interp.c (sim_stop): Return 1.
> +
> +2009-04-27 Tristan Gingold <gingold@adacore.com>
> +
> + * interp.c, Makefile.in, configure.ac: New files.
> + * config.in: New file, generated by autoheader.
> + * configure: New file generated by autoconf.
> diff --git a/sim/bpf/ChangeLog b/sim/bpf/ChangeLog
> new file mode 100644
> index 000000000000..e5d820c5a142
> --- /dev/null
> +++ b/sim/bpf/ChangeLog
> @@ -0,0 +1,54 @@
> +2020-11-01 Simon Marchi <simon.marchi@polymtl.ca>
> +
> + * configure: Re-generate.
> +
> +2020-09-08 David Faust <david.faust@oracle.com>
> +
> + * sem-be.c: Regenerate.
> + * sem-le.c: Likewise.
> +
> +2020-09-03 Jose E. Marchesi <jose.marchesi@oracle.com>
> +
> + * bpf.c: Include bpf-helpers.h.
> + * bpf-helpers.h: Provide a prototype for bpf_trace_printk.
> + * configure.ac: Set simulator bitsize to 64.
> + * configure (includedir): Regenerate.
> + * sim-if.c: Include stdlib.h.
> + * traps.c: Likewise.
> +
> +2020-08-04 Jose E. Marchesi <jose.marchesi@oracle.com>
> + David Faust <david.faust@oracle.com>
> +
> + * arch.c: Likewise.
> + * arch.h: Likewise.
> + * cpu.c: Likewise.
> + * cpu.h: Likewise.
> + * cpuall.h: Likewise.
> + * decode-be.c: Likewise.
> + * decode-be.h: Likewise.
> + * decode-le.c: Likewise.
> + * decode-le.h: Likewise.
> + * defs-be.h: Likewise.
> + * defs-le.h: Likewise.
> + * sem-be.c: Likewise.
> + * sem-le.c: Likewise.
> +
> +2020-08-04 Jose E. Marchesi <jose.marchesi@oracle.com>
> + David Faust <david.faust@oracle.com>
> +
> + * Makefile.in: New file.
> + * bpf-helpers.c: Likewise.
> + * bpf-helpers.def: Likewise.
> + * bpf-helpers.h: Likewise.
> + * bpf-sim.h: Likewise.
> + * bpf.c: Likewise.
> + * config.in: Likewise.
> + * configure.ac: Likewise.
> + * decode.h: Likewise.
> + * eng.h: Likewise.
> + * mloop.in: Likewise.
> + * sim-if.c: Likewise.
> + * sim-main.h: Likewise.
> + * traps.c: Likewise.
> + * configure: Generate.
> + * aclocal.m4: Likewise.
> diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog
> index 3677182333ad..81f707d1af4b 100644
> --- a/sim/cris/ChangeLog
> +++ b/sim/cris/ChangeLog
> @@ -384,3 +384,358 @@
> 2010-03-30 Mike Frysinger <vapier@gentoo.org>
>
> * devices.c (device_error): Add const to message.
> +
> +2010-02-11 Doug Evans <dje@sebabeach.org>
> +
> + * cpuv10.h, * cpuv32.h, * cris-desc.c,
> + * cris-desc.h, * decodev10.c, * decodev32.c,
> + * modelv10.c, * modelv32.c, * semcrisv10f-switch.c,
> + * semcrisv32f-switch.c: Regenerate.
> +
> +2010-01-02 Doug Evans <dje@sebabeach.org>
> +
> + * arch.c, * arch.h, * cpuall.h, * cpuv10.c,
> + * cpuv10.h, * cpuv32.c, * cpuv32.h, * cris-desc.c,
> + * cris-desc.h, * cris-opc.h, * decodev10.c,
> + * decodev10.h, * decodev32.c, * decodev32.h,
> + * modelv10.c, * modelv32.c, * semcrisv10f-switch.c,
> + * semcrisv32f-switch.c: Regenerate, update copyright year.
> +
> +2010-01-01 Doug Evans <dje@sebabeach.org>
> +
> + * mloop.in: Fix copyright year update snafu.
> +
> +2009-11-22 Doug Evans <dje@sebabeach.org>
> +
> + * cpuall.h: Regenerate.
> + * cpuv10.h: Regenerate.
> + * cpuv32.h: Regenerate.
> + * decodev10.c: Regenerate.
> + * decodev10.h: Regenerate.
> + * decodev32.c: Regenerate.
> + * decodev32.h: Regenerate.
> +
> +2009-10-23 Doug Evans <dje@sebabeach.org>
> +
> + * arch.c: Regenerate.
> + * arch.h: Regenerate.
> + * cpuall.h: Regenerate.
> + * cpuv10.c: Regenerate.
> + * cpuv10.h: Regenerate.
> + * cpuv32.c: Regenerate.
> + * cpuv32.h: Regenerate.
> + * cris-desc.c: Regenerate.
> + * cris-desc.h: Regenerate.
> + * cris-opc.h: Regenerate.
> + * decodev10.c: Regenerate.
> + * decodev10.h: Regenerate.
> + * decodev32.c: Regenerate.
> + * decodev32.h: Regenerate.
> + * modelv10.c: Regenerate.
> + * modelv32.c: Regenerate.
> + * semcrisv10f-switch.c: Regenerate.
> + * semcrisv32f-switch.c: Regenerate.
> +
> +2009-01-18 Hans-Peter Nilsson <hp@axis.com>
> +
> + * sim-if.c: Include errno.h.
> + (cris_start_address, cris_program_offset): New variables.
> + (OPTION_CRIS_PROGRAM_OFFSET, OPTION_CRIS_STARTADDR): New option
> + enums.
> + (cris_options): New options --cris-program-offset and
> + --cris-start-address.
> + (cris_option_handler): Handle new options.
> + (cris_program_offset_write, cris_set_section_offset_iterator)
> + (cris_offset_sections, cris_offset_sections): New functions.
> + (sim_load): Use cris_program_offset_write as function argument to
> + cris_load_elf_file, not sim_write.
> + (struct offsetinfo): New struct.
> + (cris_handle_interpreter): Fix typo in comment.
> + (sim_open): Call cris_offset_sections as soon as the bfd of the
> + infile is available. Gate bfd validity checks on abfd non-NULL.
> + (sim_create_inferior): Let cris_start_address when != -1 override
> + other start-address choices.
> +
> +2009-01-06 Hans-Peter Nilsson <hp@axis.com>
> +
> + * traps.c (abort): Define to call sim_io_error.
> + (create_map): Make -1 imply a non-fixed address, not 0. All
> + callers changed. Only prefer the next higher unmapped address if
> + the last mapped address is no less than 0x40000000. Check that
> + the address to be mapped is not already mapped. Update head
> + comment.
> + (unmap_pages): Don't call abort when recursive call fails, just
> + note and return an error if a page in the range couldn't be unmapped.
> + (cris_bmod_handler, h_supr_set_handler, h_supr_get_handler)
> + (schedule, make_first_thread, cris_pipe_empty): New local variable sd.
> + (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle
> + non-MAP_FIXED argument overlapping existing map. For MAP_FIXED,
> + don't abort on page not being mapped. Handle non-anon filemap
> + with length padded to pagesize.
> +
> +2009-01-03 Hans-Peter Nilsson <hp@axis.com>
> +
> + * sim-if.c (TARGET_AT_NULL, TARGET_AT_PHDR, TARGET_AT_PHENT)
> + (TARGET_AT_PHNUM, TARGET_AT_PAGESZ, TARGET_AT_BASE)
> + (TARGET_AT_FLAGS, TARGET_AT_ENTRY, TARGET_AT_UID, TARGET_AT_EUID)
> + (TARGET_AT_GID, TARGET_AT_EGID, TARGET_AT_HWCAP)
> + (TARGET_AT_CLKTCK): Remove redundant macros.
> + (AUX_ENT): Adjust to use standard ELF AT_* macros.
> + (AUX_ENTF): Ditto. Remove always-0 middle argument. Update all
> + callers.
> + (sim_open): Also pass AT_SECURE.
> +
> + * sim-main.h (struct _sim_cpu): New member
> + set_target_thread_data.
> + * crisv32f.c (CRIS_TLS_REGISTER): Define.
> + * crisv10f.c: Ditto.
> + * cris-tmpl.c (MY (set_target_thread_data)): New function.
> + (MY (f_specific_init)): Set new _sim_cpu member to new function.
> + * traps.c (TARGET_SYS_set_thread_area): Define.
> + (cris_break_13_handler) <case TARGET_SYS_set_thread_area>: New
> + case.
> +
> + * traps.c (TARGET_SYS_exit_group): Define.
> + (cris_break_13_handler): Handle it like the exit for the last
> + thread.
> +
> + * traps.c (TARGET_UTSNAME): Update to 2009-01-01.
> + (TARGET_EPOCH): Update to match TARGET_UTSNAME. Correct comment.
> + (cris_break_13_handler) <case TARGET_SYS_uname>: Update to
> + 2.6.27. Set machine field to the BFD printable name of the
> + machine.
> +
> + * traps.c (TARGET_MAP_DENYWRITE): Define.
> + (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle
> + TARGET_MAP_DENYWRITE.
> +
> + * traps.c (TARGET_SYS_access, TARGET_R_OK, TARGET_W_OK)
> + (TARGET_X_OK, TARGET_F_OK): Define.
> + (cris_break_13_handler) <case TARGET_SYS_access>: New case.
> +
> + * semcrisv32f-switch.c: Regenerate.
> +
> +2008-12-30 Hans-Peter Nilsson <hp@axis.com>
> +
> + * sim-if.c (sim_open): If sim_analyze_program fails, emit
> + just a short CRIS-specific notice. Tweak the wording for a
> + failing architecture test.
> +
> + * traps.c (TARGET_SYS_writev): New macro.
> + (is_mapped_only, cris_dump_map): New functions.
> + (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle more flags
> + and prot combinations and a non-zero page-offset. If
> + TARGET_MAP_FIXED, unmap pages before mapping them.
> + <case TARGET_SYS_mprotect>: When checking, allow any length
> + argument. Don't actually do anything.
> + <case TARGET_SYS_writev>: New case.
> +
> + * Makefile.in (SIM_OBJS): Remove sim-hload.o.
> + * sim-if.c: Include elf-bfd.h.
> + (struct progbounds): New members end_loadmem, start_nonloadmem.
> + (xprintf, eprintf): New functions, copied from common/sim-load.c.
> + (cris_load_elf_file, sim_load, cris_get_progbounds): New functions.
> + (get_progbounds_iterator): Renamed from get_progbounds. Make
> + static. Update head comment. Set new struct progbounds members.
> + (exec_load_addr, interp_load_addr, interp_start_addr): New static
> + variables.
> + (aux_ent_phdr, aux_ent_phent, aux_ent_phnum, aux_ent_base)
> + (aux_ent_entry, cris_write_interp, cris_handle_interpreter): New
> + functions.
> + (sim_open): New constant array auxv_entries. Rewrite AUX_ENT
> + handling to use auxv_entries. Improve error message and checking
> + for invalid programs. Use new variable abfd for the program
> + instead of for each access reaching into sd to get it.
> + (sim_create_inferior): If non-zero, use interp_start_addr instead
> + of the program start address.
> + (cris_disassemble_insn): Remove incorrect and unclear, supposedly
> + stale comment. Always specify little-endian.
> +
> +2008-07-11 Hans-Peter Nilsson <hp@axis.com>
> +
> + * configure: Regenerate to track ../common/common.m4 changes.
> + * config.in: Ditto.
> +
> +2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
> + Daniel Jacobowitz <dan@codesourcery.com>
> + Joseph Myers <joseph@codesourcery.com>
> +
> + * configure: Regenerate.
> +
> +2007-10-22 Hans-Peter Nilsson <hp@axis.com>
> +
> + * arch.c, arch.h, cpuall.h, cpuv10.c,
> + cpuv10.h, cpuv32.c, cpuv32.h, cris-desc.c,
> + cris-desc.h, cris-opc.h, decodev10.c,
> + decodev10.h, decodev32.c, decodev32.h,
> + modelv10.c, modelv32.c, semcrisv10f-switch.c,
> + semcrisv32f-switch.c: Regenerate.
> +
> +2007-02-20 Hans-Peter Nilsson <hp@axis.com>
> +
> + * traps.c (dump_statistics): Change format for cycle numbers
> + to %llu and cast parameters to unsigned long long.
> +
> +2006-10-02 Edgar E. Iglesias <edgar@axis.com>
> + Hans-Peter Nilsson <hp@axis.com>
> +
> + * cris-sim.h (enum cris_unknown_syscall_action_type)
> + (cris_unknown_syscall_action): Declare.
> + * sim-if.c (cris_unknown_syscall_action): Define.
> + (cris_options): Add cris-unknown-syscall option.
> + (cris_option_handler): Correct comment about and error message for
> + invalid --cris-cycles argument. Handle --cris-unknown-syscall.
> + * traps.c: Include stdarg.h
> + (cris_unknown_syscall): New function.
> + (cris_break_13_handler): Instead of sim_io_eprintf and
> + sim_engine_halt, call cris_unknown_syscall to handle more or less
> + unknown syscalls. Adjust code as necessary to handle return
> + value.
> +
> +2006-09-30 Hans-Peter Nilsson <hp@axis.com>
> +
> + * traps.c (TARGET_PIPE_BUF): New macro.
> + (cris_pipe_empty): Correct initialization of "remaining". Only
> + adjust the "write" return value if more than TARGET_PIPE_BUF bytes
> + are written.
> +
> +2006-09-29 Hans-Peter Nilsson <hp@axis.com>
> +
> + * configure.ac: Check for limits.h and sys/param.h.
> + * configure, config.in: Rebuild.
> + * traps.c (SIM_PATHMAX): New macro.
> + (cris_break_13_handler): Use SIM_PATHMAX, not MAXPATHLEN.
> +
> +2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
> +
> + * configure: Regenerated.
> +
> +2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
> +
> + * configure: Regenerated.
> +
> +2006-04-08 Hans-Peter Nilsson <hp@axis.com>
> +
> + * crisv32f.c (MY (deliver_interrupt)): Set CCS to new_ccs.
> +
> +2006-04-03 Hans-Peter Nilsson <hp@axis.com>
> +
> + * dv-cris.c, dv-rv.c, rvdummy.c: New files.
> + * Makefile.in (CONFIG_DEVICES): Remove redundant setting.
> + (dv-cris.o, dv-rv.o rvdummy$(EXEEXT), rvdummy.o): New rules.
> + (all): Depend on rvdummy$(EXEEXT).
> + * configure.ac: Call SIM_AC_OPTION_WARNINGS. Check for
> + sys/socket.h and sys/select.h. Call SIM_AC_OPTION_HARDWARE,
> + default off.
> + * configure: Regenerate.
> + * cris-sim.h (cris_have_900000xxif): Declare here.
> + (enum cris_interrupt_type, crisv10deliver_interrupt)
> + (crisv32deliver_interrupt: New declarations.
> + * cris-tmpl.c [WITH_HW] (MY (f_model_insn_after)): Call
> + sim_events_tickn and set state-events member work_pending when it's
> + time for the next event.
> + [WITH_HW] (MY (f_specific_init)): Set CPU-model-specific
> + interrupt-delivery function.
> + * crisv10f.c (MY (deliver_interrupt)): New function.
> + * crisv32f.c (MY (deliver_interrupt)): New function.
> + * devices.c: Include hw-device.h.
> + (device_io_read_buffer) [WITH_HW]: Call hw_io_read_buffer.
> + (device_io_write_buffer): Only perform 0x900000xx-functions if
> + cris_have_900000xxif is nonzero. Else if WITH_HW defined,
> + call hw_io_write_buffer. Add return 0 last in function.
> + * sim-if.c (cris_have_900000xxif): Now global.
> + (sim_open) [WITH_HW]: Clear deliver_interrupt cpu member.
> + Force "-model" option, effectively.
> + * sim-main.h (cris_interrupt_delivery_fn): New type.
> + (struct _sim_cpu) [WITH_HW]: New member deliver_interrupt.
> +
> +2006-04-02 Hans-Peter Nilsson <hp@axis.com>
> +
> + * Makefile.in (CRISV10F_OBJS): Remove semcrisv10f-switch.o.
> + (CRISV32F_OBJS): Remove semcrisv32f-switch.o.
> + (semcrisv10f-switch.o, semcrisv32f-switch.o: Remove dependency rules.
> +
> +2006-02-23 Hans-Peter Nilsson <hp@axis.com>
> +
> + * traps.c (syscall_map): Remove CB_SYS_time / TARGET_SYS_time
> + mapping.
> + (cris_break_13_handler) <case TARGET_SYS_time>: New case.
> +
> +2006-01-10 Hans-Peter Nilsson <hp@axis.com>
> +
> + * cris-tmpl.c (MY (f_model_insn_before)): Only display basic
> + cycle count for the current insn.
> +
> +2005-12-06 Hans-Peter Nilsson <hp@axis.com>
> +
> + * cpuv10.h, cpuv32.h, cris-desc.c, cris-opc.h,
> + decodev10.c, decodev10.h, decodev32.c,
> + decodev32.h, modelv10.c, modelv32.c,
> + semcrisv10f-switch.c, semcrisv32f-switch.c: Regenerate.
> +
> +2005-12-05 Hans-Peter Nilsson <hp@axis.com>
> +
> + * arch.c, arch.h, cpuall.h, cpuv10.c,
> + cpuv10.h, cpuv32.c, cpuv32.h, cris-desc.c,
> + cris-desc.h, cris-opc.h, decodev10.c,
> + decodev10.h, decodev32.c, decodev32.h,
> + modelv10.c, modelv32.c, semcrisv10f-switch.c,
> + semcrisv32f-switch.c: Regenerate.
> +
> +2005-11-20 Hans-Peter Nilsson <hp@axis.com>
> +
> + * traps.c (TARGET_O_RDONLY, TARGET_O_WRONLY): Define.
> + (open_map): Use TARGET_O_ACCMODE, TARGET_O_RDONLY and
> + TARGET_O_WRONLY.
> + (cris_break_13_handler) <case TARGET_SYS_fcntl>: Add support for
> + F_GETFL on fd 0, 1 and 2.
> +
> +2005-11-17 Hans-Peter Nilsson <hp@axis.com>
> +
> + * sim-main.h (struct _sim_cpu): New members last_syscall,
> + last_open_fd, last_open_flags.
> + * traps.c: Don't include targ-vals.h.
> + (TARGET_O_ACCMODE): Define.
> + (cris_break_13_handler): Set new _sim_cpu members.
> + <case TARGET_SYS_fcntl>: Support special case of F_GETFL.
> + Rearrange code as switch. Emit "unimplemented" abort for
> + unimplemented fcntl calls.
> +
> + * traps.c (TARGET_SYS_stat): Define.
> + (syscall_stat32_map): Add entry for TARGET_SYS_stat.
> + (cris_break_13_handler) <case TARGET_SYS_stat>: New case.
> +
> +2005-11-16 Hans-Peter Nilsson <hp@axis.com>
> +
> + * cris-tmpl.c (MY (f_model_insn_before)): Make sure only the
> + low 32 bits are used after an unsigned long cast.
> +
> +2005-05-28 Hans-Peter Nilsson <hp@axis.com>
> +
> + * Makefile.in (stamp-v32fmloop): Depend on stamp-v10fmloop.
> +
> +2005-04-18 Hans-Peter Nilsson <hp@axis.com>
> +
> + * traps.c (cris_break_13_handler) <case TARGET_SYS_mmap2>:
> + For ((len & 8191) != 0 && fd == (USI) -1), don't say this isn't
> + implemented. In call to create_map, pad length argument to 8k.
> +
> +2005-03-24 Hans-Peter Nilsson <hp@axis.com>
> +
> + * Makefile.in (stamp-v10fcpu, stamp-v32fcpu): Add kludge to
> + include cgen-ops.h in decodev10.c and decodev32.c.
> + * sim-main.h: Don't include cgen-ops.h here.
> + * arch.c, arch.h, cpuall.h, cpuv10.c,
> + cpuv10.h, cpuv32.c, cpuv32.h, cris-desc.c,
> + cris-desc.h, cris-opc.h, decodev10.c,
> + decodev10.h, decodev32.c, decodev32.h,
> + modelv10.c, modelv32.c, semcrisv10f-switch.c,
> + semcrisv32f-switch.c: Regenerate.
> +
> + * traps.c (cris_break_13_handler) <case
> + TARGET_SYS_rt_sigaction>: Rename sa_handler, sa_flags,
> + sa_restorer, sa_mask_low, sa_mask_high to target_sa_handler etc.
> +
> +2005-03-23 Mark Kettenis <kettenis@gnu.org>
> +
> + * configure: Regenerate.
> diff --git a/sim/ft32/ChangeLog b/sim/ft32/ChangeLog
> index f04122c4c25a..bc768d5e4213 100644
> --- a/sim/ft32/ChangeLog
> +++ b/sim/ft32/ChangeLog
> @@ -2,6 +2,14 @@
>
> * configure: Regenerate.
>
> +2017-11-01 James Bowman <james.bowman@ftdichip.com>
> +
> + * interp.c (step_once): Add ft32 shortcode decoder.
> +
> +2017-10-12 James Bowman <james.bowman@ftdichip.com>
> +
> + * interp.c (step_once): Replace FT32_FLD_K8 with K15.
> +
> 2017-09-06 John Baldwin <jhb@FreeBSD.org>
>
> * configure: Regenerate.
> diff --git a/sim/m32c/ChangeLog b/sim/m32c/ChangeLog
> index 5fca9c59cc02..86cd750eede3 100644
> --- a/sim/m32c/ChangeLog
> +++ b/sim/m32c/ChangeLog
> @@ -269,6 +269,13 @@
> (m32c_sim_restore_console): Disable if no termios.
> (mem_get_byte): Disable console input if no termios.
>
> +2009-05-08 Kevin Buettner <kevinb@redhat.com>
> +
> + * gdb-if.c (m32c_signal_to_host): Rename to
> + m32c_signal_to_target. Change signal return values from SIGILL,
> + SIGTRAP, SIGSEGV, etc. to TARGET_SIGNAL_ILL, TARGET_SIGNAL_TRAP,
> + TARGET_SIGNAL_SEGV, etc. Fix all callers.
> +
> 2009-01-06 Joel Sherrill <joel.sherrill@oarcorp.com>
>
> * r8c.opc, m32c.opc: Add parentheses to remove warnings.
> @@ -406,5 +413,3 @@
> * syscalls.h: New.
> * trace.c: New.
> * trace.h: New.
> -
> -
> diff --git a/sim/or1k/ChangeLog b/sim/or1k/ChangeLog
> new file mode 100644
> index 000000000000..c4b103298edd
> --- /dev/null
> +++ b/sim/or1k/ChangeLog
> @@ -0,0 +1,52 @@
> +2019-06-13 Stafford Horne <shorne@gmail.com>
> +
> + * cpu.c: Regenerate.
> + * cpu.h: Regenerate.
> + * decode.c: Regenerate.
> + * decode.h: Regenerate.
> + * model.c: Regenerate.
> + * sem-switch.c: Regenerate.
> + * sem.c: Regenerate.
> +
> +2018-10-05 Stafford Horne <shorne@gmail.com>
> +
> + * cpu.h: Regenerate.
> + * decode.c: Regenerate.
> + * decode.h: Regenerate.
> + * model.c: Regenerate.
> + * sem-switch.c: Regenerate.
> + * sem.c: Regenerate:
> +
> +2017-12-12 Stafford Horne <shorne@gmail.com>
> + Peter Gavin <pgavin@gmail.com>
> +
> + * aclocal.m4: Generated.
> + * config.in: Generated.
> + * configure: Generated.
> +
> +2017-12-12 Stafford Horne <shorne@gmail.com>
> + Peter Gavin <pgavin@gmail.com>
> +
> + * arch.c: Generated.
> + * arch.h: Generated.
> + * cpu.c: Generated.
> + * cpu.h: Generated.
> + * cpuall.h: Generated.
> + * decode.c: Generated.
> + * decode.h: Generated.
> + * model.c: Generated.
> + * sem-switch.c: Generated.
> + * sem.c: Generated.
> +
> +2017-12-12 Stafford Horne <shorne@gmail.com>
> + Peter Gavin <pgavin@gmail.com>
> +
> + * README: New file.
> + * Makefile.in: New file.
> + * configure.ac: New file.
> + * mloop.in: New file.
> + * or1k-sim.h: New file.
> + * or1k.c: New file.
> + * sim-if.c: New file.
> + * sim-main.h: New file.
> + * traps.c: New file.
> diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
> index 041e27a635b2..d0d96941d646 100644
> --- a/sim/ppc/ChangeLog
> +++ b/sim/ppc/ChangeLog
> @@ -37,6 +37,10 @@
> PR build/24572:
> * Makefile.in (install-strip): New target.
>
> +2019-09-20 Alan Modra <amodra@gmail.com>
> +
> + * emul_generic.c (emul_add_tree_options): Delete old bfd code.
> +
> 2019-01-26 Tom Tromey <tom@tromey.com>
>
> * Makefile.in (version.c): Use sim's create-version.sh.
> diff --git a/sim/testsuite/ChangeLog b/sim/testsuite/ChangeLog
> index 4363bb566ddf..4767062a9bf2 100644
> --- a/sim/testsuite/ChangeLog
> +++ b/sim/testsuite/ChangeLog
> @@ -15,27 +15,11 @@
> * configure: Regnerate.
> * configure.ac (AC_CONFIG_AUX_DIR): Update.
>
> -2020-09-08 David Faust <david.faust@oracle.com>
> -
> - * sim/bpf/alu.s: Correct div and mod tests.
> - * sim/bpf/alu32.s: Likewise.
> -
> 2020-08-04 David Faust <david.faust@oracle.com>
> Jose E. Marchesi <jose.marchesi@oracle.com>
>
> * configure: Regenerate.
> - * sim/bpf/allinsn.exp: New file.
> - * sim/bpf/alu.s: Likewise.
> - * sim/bpf/alu32.s: Likewise.
> - * sim/bpf/endbe.s: Likewise.
> - * sim/bpf/endle.s: Likewise.
> - * sim/bpf/jmp.s: Likewise.
> - * sim/bpf/jmp32.s: Likewise.
> - * sim/bpf/ldabs.s: Likewise.
> - * sim/bpf/mem.s: Likewise.
> - * sim/bpf/mov.s: Likewise.
> - * sim/bpf/testutils.inc: Likewise.
> - * sim/bpf/xadd.s: Likewise.
> + * sim/bpf: New directory.
>
> 2020-07-29 Simon Marchi <simon.marchi@efficios.com>
>
> diff --git a/sim/testsuite/sim/bpf/ChangeLog b/sim/testsuite/sim/bpf/ChangeLog
> new file mode 100644
> index 000000000000..17dd79b468a7
> --- /dev/null
> +++ b/sim/testsuite/sim/bpf/ChangeLog
> @@ -0,0 +1,20 @@
> +2020-09-08 David Faust <david.faust@oracle.com>
> +
> + * alu.s: Correct div and mod tests.
> + * alu32.s: Likewise.
> +
> +2020-08-04 David Faust <david.faust@oracle.com>
> + Jose E. Marchesi <jose.marchesi@oracle.com>
> +
> + * allinsn.exp: New file.
> + * alu.s: Likewise.
> + * alu32.s: Likewise.
> + * endbe.s: Likewise.
> + * endle.s: Likewise.
> + * jmp.s: Likewise.
> + * jmp32.s: Likewise.
> + * ldabs.s: Likewise.
> + * mem.s: Likewise.
> + * mov.s: Likewise.
> + * testutils.inc: Likewise.
> + * xadd.s: Likewise.
> --
> 2.28.0
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] sim: ChangeLog: move arch-specific entries into the arch dir
2021-01-07 8:09 [PATCH] sim: ChangeLog: move arch-specific entries into the arch dir Mike Frysinger via Gdb-patches
2021-01-07 9:33 ` Andrew Burgess
@ 2021-01-07 12:14 ` Jose E. Marchesi via Gdb-patches
1 sibling, 0 replies; 14+ messages in thread
From: Jose E. Marchesi via Gdb-patches @ 2021-01-07 12:14 UTC (permalink / raw)
To: Mike Frysinger; +Cc: gdb-patches
> We don't want arch-specific entries in the common ChangeLog files.
> Most arches do this already, so clean up the recent additions, and
> move some older entries down to help avoid confusing newcomers.
The BPF bits LGTM.
Thanks!
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] sim: ChangeLog: move arch-specific entries into the arch dir
2021-01-07 9:33 ` Andrew Burgess
@ 2021-01-07 17:12 ` Mike Frysinger via Gdb-patches
2021-01-07 20:57 ` Tom Tromey
0 siblings, 1 reply; 14+ messages in thread
From: Mike Frysinger via Gdb-patches @ 2021-01-07 17:12 UTC (permalink / raw)
To: Andrew Burgess; +Cc: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 695 bytes --]
On 07 Jan 2021 09:33, Andrew Burgess wrote:
> I'm happy for this to go in.
>
> It was discussed somewhere recently that we might want to consider
> collapsing all the different sim/ ChangeLogs into a single file. I
> mention this only so you're aware that conversation took place.
merging them into one causes extra pain due to conflicts. having sep
arch ones alleviates that a little as you don't normally have people
working on the same arch at the same time.
ideally we'd throw away these archaic ChangeLog files entirely. they
are a huge waste of time for everyone and would be much better served
writing proper git commit messages. it isn't the 80s/90s anymore.
-mike
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] sim: ChangeLog: move arch-specific entries into the arch dir
2021-01-07 17:12 ` Mike Frysinger via Gdb-patches
@ 2021-01-07 20:57 ` Tom Tromey
2021-01-08 2:03 ` Mike Frysinger via Gdb-patches
2021-01-08 9:57 ` Andrew Burgess
0 siblings, 2 replies; 14+ messages in thread
From: Tom Tromey @ 2021-01-07 20:57 UTC (permalink / raw)
To: gdb-patches
Mike> merging them into one causes extra pain due to conflicts. having sep
Mike> arch ones alleviates that a little as you don't normally have people
Mike> working on the same arch at the same time.
Mike> ideally we'd throw away these archaic ChangeLog files entirely. they
Mike> are a huge waste of time for everyone and would be much better served
Mike> writing proper git commit messages. it isn't the 80s/90s anymore.
I'm +1 on that, but other maintainers like them, so we've been keeping
them around.
For conflicts, I do this:
https://gnu.wildebeest.org/blog/mjw/2012/03/16/automagically-merging-changelog-files-with-mercurial-or-git/
I rarely have ChangeLog conflicts or snafus. I can't really recall the
last one.
Tom
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] sim: ChangeLog: move arch-specific entries into the arch dir
2021-01-07 20:57 ` Tom Tromey
@ 2021-01-08 2:03 ` Mike Frysinger via Gdb-patches
2021-01-09 20:15 ` Tom Tromey
2021-01-08 9:57 ` Andrew Burgess
1 sibling, 1 reply; 14+ messages in thread
From: Mike Frysinger via Gdb-patches @ 2021-01-08 2:03 UTC (permalink / raw)
To: Tom Tromey; +Cc: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 982 bytes --]
On 07 Jan 2021 13:57, Tom Tromey wrote:
> Mike> merging them into one causes extra pain due to conflicts. having sep
> Mike> arch ones alleviates that a little as you don't normally have people
> Mike> working on the same arch at the same time.
>
> Mike> ideally we'd throw away these archaic ChangeLog files entirely. they
> Mike> are a huge waste of time for everyone and would be much better served
> Mike> writing proper git commit messages. it isn't the 80s/90s anymore.
>
> I'm +1 on that, but other maintainers like them, so we've been keeping
> them around.
>
> For conflicts, I do this:
>
> https://gnu.wildebeest.org/blog/mjw/2012/03/16/automagically-merging-changelog-files-with-mercurial-or-git/
>
> I rarely have ChangeLog conflicts or snafus. I can't really recall the
> last one.
merging is part of it. wasting time on writing them in the first
place is an equal drain.
do you know of a script to autogenerate boilerplates ?
-mike
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] sim: ChangeLog: move arch-specific entries into the arch dir
2021-01-07 20:57 ` Tom Tromey
2021-01-08 2:03 ` Mike Frysinger via Gdb-patches
@ 2021-01-08 9:57 ` Andrew Burgess
2021-01-09 17:02 ` Simon Marchi via Gdb-patches
1 sibling, 1 reply; 14+ messages in thread
From: Andrew Burgess @ 2021-01-08 9:57 UTC (permalink / raw)
To: Tom Tromey; +Cc: gdb-patches
* Tom Tromey <tom@tromey.com> [2021-01-07 13:57:14 -0700]:
> Mike> merging them into one causes extra pain due to conflicts. having sep
> Mike> arch ones alleviates that a little as you don't normally have people
> Mike> working on the same arch at the same time.
>
> Mike> ideally we'd throw away these archaic ChangeLog files entirely. they
> Mike> are a huge waste of time for everyone and would be much better served
> Mike> writing proper git commit messages. it isn't the 80s/90s anymore.
>
> I'm +1 on that, but other maintainers like them, so we've been keeping
> them around.
For the record I see them as a waste of time too.
>
> For conflicts, I do this:
>
> https://gnu.wildebeest.org/blog/mjw/2012/03/16/automagically-merging-changelog-files-with-mercurial-or-git/
>
> I rarely have ChangeLog conflicts or snafus. I can't really recall the
> last one.
That's what I use too, and I haven't had a ChangeLog conflict in
years.
Thanks,
Andrew
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] sim: ChangeLog: move arch-specific entries into the arch dir
2021-01-08 9:57 ` Andrew Burgess
@ 2021-01-09 17:02 ` Simon Marchi via Gdb-patches
2021-01-09 19:35 ` Mike Frysinger via Gdb-patches
2021-01-11 11:10 ` Andrew Burgess
0 siblings, 2 replies; 14+ messages in thread
From: Simon Marchi via Gdb-patches @ 2021-01-09 17:02 UTC (permalink / raw)
To: Andrew Burgess, Tom Tromey; +Cc: gdb-patches
On 2021-01-08 4:57 a.m., Andrew Burgess wrote:
> * Tom Tromey <tom@tromey.com> [2021-01-07 13:57:14 -0700]:
>
>> Mike> merging them into one causes extra pain due to conflicts. having sep
>> Mike> arch ones alleviates that a little as you don't normally have people
>> Mike> working on the same arch at the same time.
>>
>> Mike> ideally we'd throw away these archaic ChangeLog files entirely. they
>> Mike> are a huge waste of time for everyone and would be much better served
>> Mike> writing proper git commit messages. it isn't the 80s/90s anymore.
>>
>> I'm +1 on that, but other maintainers like them, so we've been keeping
>> them around.
>
> For the record I see them as a waste of time too.
Well, I'm not a maintainer of the sim project, but the maintainers of
the sim project could decide to not do ChangeLogs anymore.
See the section that talks about VCS:
https://www.gnu.org/prep/standards/html_node/Change-Logs.html
Simon
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] sim: ChangeLog: move arch-specific entries into the arch dir
2021-01-09 17:02 ` Simon Marchi via Gdb-patches
@ 2021-01-09 19:35 ` Mike Frysinger via Gdb-patches
2021-01-09 20:12 ` Tom Tromey
2021-01-11 11:10 ` Andrew Burgess
1 sibling, 1 reply; 14+ messages in thread
From: Mike Frysinger via Gdb-patches @ 2021-01-09 19:35 UTC (permalink / raw)
To: Simon Marchi; +Cc: Tom Tromey, gdb-patches
[-- Attachment #1: Type: text/plain, Size: 1461 bytes --]
On 09 Jan 2021 12:02, Simon Marchi via Gdb-patches wrote:
> On 2021-01-08 4:57 a.m., Andrew Burgess wrote:
> > * Tom Tromey <tom@tromey.com> [2021-01-07 13:57:14 -0700]:
> >> Mike> merging them into one causes extra pain due to conflicts. having sep
> >> Mike> arch ones alleviates that a little as you don't normally have people
> >> Mike> working on the same arch at the same time.
> >>
> >> Mike> ideally we'd throw away these archaic ChangeLog files entirely. they
> >> Mike> are a huge waste of time for everyone and would be much better served
> >> Mike> writing proper git commit messages. it isn't the 80s/90s anymore.
> >>
> >> I'm +1 on that, but other maintainers like them, so we've been keeping
> >> them around.
> >
> > For the record I see them as a waste of time too.
>
> Well, I'm not a maintainer of the sim project, but the maintainers of
> the sim project could decide to not do ChangeLogs anymore.
>
> See the section that talks about VCS:
>
> https://www.gnu.org/prep/standards/html_node/Change-Logs.html
i was thinking "project" encompassed everything in the git tree rather
than the individual ones. if it's defined more narrowly, then yes, lets
stop this pain in the sim/ tree.
i don't know what the gdb release process looks like, but it's def not
just `git archive`. we should see if we can integrate gnulib's script
(gitlog-to-changelog) to generate the sim/ChangeLog in the tarballs.
-mike
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] sim: ChangeLog: move arch-specific entries into the arch dir
2021-01-09 19:35 ` Mike Frysinger via Gdb-patches
@ 2021-01-09 20:12 ` Tom Tromey
2021-01-10 3:26 ` Mike Frysinger via Gdb-patches
0 siblings, 1 reply; 14+ messages in thread
From: Tom Tromey @ 2021-01-09 20:12 UTC (permalink / raw)
To: Simon Marchi; +Cc: Tom Tromey, gdb-patches
Mike> i don't know what the gdb release process looks like, but it's def not
Mike> just `git archive`.
There's a src-release.sh at the top level that drives the process.
I don't remember much more than that, but it's a spot to start.
Tom
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] sim: ChangeLog: move arch-specific entries into the arch dir
2021-01-08 2:03 ` Mike Frysinger via Gdb-patches
@ 2021-01-09 20:15 ` Tom Tromey
0 siblings, 0 replies; 14+ messages in thread
From: Tom Tromey @ 2021-01-09 20:15 UTC (permalink / raw)
To: Tom Tromey; +Cc: gdb-patches
Mike> do you know of a script to autogenerate boilerplates ?
There's one in the gcc repository, gcc/contrib/mklog.py.
I don't know whether it would work for gdb, but I assume it would be
fine for sim.
Tom
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] sim: ChangeLog: move arch-specific entries into the arch dir
2021-01-09 20:12 ` Tom Tromey
@ 2021-01-10 3:26 ` Mike Frysinger via Gdb-patches
0 siblings, 0 replies; 14+ messages in thread
From: Mike Frysinger via Gdb-patches @ 2021-01-10 3:26 UTC (permalink / raw)
To: Tom Tromey; +Cc: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 386 bytes --]
On 09 Jan 2021 13:12, Tom Tromey wrote:
> Mike> i don't know what the gdb release process looks like, but it's def not
> Mike> just `git archive`.
>
> There's a src-release.sh at the top level that drives the process.
> I don't remember much more than that, but it's a spot to start.
thanks for the tips. i have something working. lets see how people
feel about it.
-mike
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] sim: ChangeLog: move arch-specific entries into the arch dir
2021-01-09 17:02 ` Simon Marchi via Gdb-patches
2021-01-09 19:35 ` Mike Frysinger via Gdb-patches
@ 2021-01-11 11:10 ` Andrew Burgess
2021-01-11 12:22 ` Mike Frysinger via Gdb-patches
1 sibling, 1 reply; 14+ messages in thread
From: Andrew Burgess @ 2021-01-11 11:10 UTC (permalink / raw)
To: Simon Marchi; +Cc: Tom Tromey, gdb-patches
* Simon Marchi <simon.marchi@polymtl.ca> [2021-01-09 12:02:23 -0500]:
> On 2021-01-08 4:57 a.m., Andrew Burgess wrote:
> > * Tom Tromey <tom@tromey.com> [2021-01-07 13:57:14 -0700]:
> >
> >> Mike> merging them into one causes extra pain due to conflicts. having sep
> >> Mike> arch ones alleviates that a little as you don't normally have people
> >> Mike> working on the same arch at the same time.
> >>
> >> Mike> ideally we'd throw away these archaic ChangeLog files entirely. they
> >> Mike> are a huge waste of time for everyone and would be much better served
> >> Mike> writing proper git commit messages. it isn't the 80s/90s anymore.
> >>
> >> I'm +1 on that, but other maintainers like them, so we've been keeping
> >> them around.
> >
> > For the record I see them as a waste of time too.
>
> Well, I'm not a maintainer of the sim project, but the maintainers of
> the sim project could decide to not do ChangeLogs anymore.
If sim/ was released as a separate project then sure, but while it's
released as part of GDB I'd rather we just copied the policies of
gdb/.
Thanks,
Andrew
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] sim: ChangeLog: move arch-specific entries into the arch dir
2021-01-11 11:10 ` Andrew Burgess
@ 2021-01-11 12:22 ` Mike Frysinger via Gdb-patches
0 siblings, 0 replies; 14+ messages in thread
From: Mike Frysinger via Gdb-patches @ 2021-01-11 12:22 UTC (permalink / raw)
To: Andrew Burgess; +Cc: Tom Tromey, gdb-patches
[-- Attachment #1: Type: text/plain, Size: 1862 bytes --]
On 11 Jan 2021 11:10, Andrew Burgess wrote:
> * Simon Marchi <simon.marchi@polymtl.ca> [2021-01-09 12:02:23 -0500]:
> > On 2021-01-08 4:57 a.m., Andrew Burgess wrote:
> > > * Tom Tromey <tom@tromey.com> [2021-01-07 13:57:14 -0700]:
> > >
> > >> Mike> merging them into one causes extra pain due to conflicts. having sep
> > >> Mike> arch ones alleviates that a little as you don't normally have people
> > >> Mike> working on the same arch at the same time.
> > >>
> > >> Mike> ideally we'd throw away these archaic ChangeLog files entirely. they
> > >> Mike> are a huge waste of time for everyone and would be much better served
> > >> Mike> writing proper git commit messages. it isn't the 80s/90s anymore.
> > >>
> > >> I'm +1 on that, but other maintainers like them, so we've been keeping
> > >> them around.
> > >
> > > For the record I see them as a waste of time too.
> >
> > Well, I'm not a maintainer of the sim project, but the maintainers of
> > the sim project could decide to not do ChangeLogs anymore.
>
> If sim/ was released as a separate project then sure, but while it's
> released as part of GDB I'd rather we just copied the policies of
> gdb/.
it has the structure to be released by itself already. you can run
`./src-release.sh sim` and get a usuable release archive. you can't
do that for just any toplevel dir. this is because the project is
completely usable w/out gdb and always has been.
i don't think we've made sep releases for a very long time as people
have been fine reusing the gdb cycle: it's on a reasonable periodic
schedule, does all the release management/branching, sim changes have
often been slow, and the userbase for only the sim is small.
so i don't think saying "we have to make dedicated releases" just to
"prove" that we're independent from gdb is correct.
-mike
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2021-01-11 12:22 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-07 8:09 [PATCH] sim: ChangeLog: move arch-specific entries into the arch dir Mike Frysinger via Gdb-patches
2021-01-07 9:33 ` Andrew Burgess
2021-01-07 17:12 ` Mike Frysinger via Gdb-patches
2021-01-07 20:57 ` Tom Tromey
2021-01-08 2:03 ` Mike Frysinger via Gdb-patches
2021-01-09 20:15 ` Tom Tromey
2021-01-08 9:57 ` Andrew Burgess
2021-01-09 17:02 ` Simon Marchi via Gdb-patches
2021-01-09 19:35 ` Mike Frysinger via Gdb-patches
2021-01-09 20:12 ` Tom Tromey
2021-01-10 3:26 ` Mike Frysinger via Gdb-patches
2021-01-11 11:10 ` Andrew Burgess
2021-01-11 12:22 ` Mike Frysinger via Gdb-patches
2021-01-07 12:14 ` Jose E. Marchesi via Gdb-patches
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox