2016-01-04 09:06:01 +00:00
|
|
|
2016-01-04 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-01-04 02:40:34 +00:00
|
|
|
2016-01-03 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (sim_open): Update sim_parse_args comment.
|
|
|
|
|
2016-01-03 05:36:13 +00:00
|
|
|
2016-01-03 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2016-01-02 22:46:16 +00:00
|
|
|
2016-01-02 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2015-12-30 08:28:45 +00:00
|
|
|
2015-12-30 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* wrapper.c (sim_store_register): Rename to ...
|
|
|
|
(microblaze_reg_store): ... this. Delete local cpu var.
|
|
|
|
(sim_fetch_register): Rename to ...
|
|
|
|
(microblaze_reg_fetch): ... this. Delete local cpu var.
|
|
|
|
(sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
|
|
|
|
|
2015-04-10 23:40:34 +00:00
|
|
|
2015-12-27 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_OBJS): Delete sim-hload.o.
|
|
|
|
|
2015-12-27 01:20:23 +00:00
|
|
|
2015-12-26 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2015-11-16 04:06:42 +00:00
|
|
|
2015-11-15 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
|
|
|
|
|
2015-03-23 03:10:09 +00:00
|
|
|
2015-11-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (sim_close): Delete.
|
|
|
|
|
2015-06-23 17:58:48 +00:00
|
|
|
2015-06-23 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2015-06-12 14:32:54 +00:00
|
|
|
2015-06-12 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2015-06-12 16:04:42 +00:00
|
|
|
2015-06-12 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2015-06-09 08:10:49 +00:00
|
|
|
2015-06-11 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_OBJS): Add sim-resume.o.
|
|
|
|
* interp.c (sim_resume): rename to ...
|
|
|
|
(sim_engine_run): ... this. Change CPU.exception setting to
|
|
|
|
sim_engine_halt calls. Change do/while to while(1). Call
|
|
|
|
sim_events_process when sim_events_tick is true.
|
|
|
|
(sim_stop_reason): Delete.
|
|
|
|
* sim-main.h (microblaze_regset): Delete exception member.
|
|
|
|
|
2015-04-18 08:19:56 +00:00
|
|
|
2015-04-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* sim-main.h (SIM_CPU): Delete.
|
|
|
|
|
2015-04-18 08:08:56 +00:00
|
|
|
2015-04-18 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* sim-main.h (sim_cia): Delete.
|
|
|
|
|
2015-04-12 09:49:31 +00:00
|
|
|
2015-04-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (issue_messages, wbat, wlat, what, rbat, rlat, rhat,
|
|
|
|
sim_memory_size, MEM_SIZE_FLOOR, sim_size, init_pointers, sim_write,
|
|
|
|
sim_read, sim_do_command): Delete.
|
|
|
|
(set_initial_gprs): Delete memsize and call to init_pointers.
|
|
|
|
(sim_resume): Change rlat to MEM_RD_WORD. Change issue_messages to
|
|
|
|
STATE_VERBOSE_P.
|
|
|
|
(sim_store_register, sim_fetch_register): Drop call to init_pointers.
|
|
|
|
(sim_open): Drop issue_messages setup. Delete osize and call to
|
|
|
|
sim_size. Call sim_do_commandf to set the memory size.
|
|
|
|
* microblaze.h (MEM): Delete.
|
|
|
|
(MEM_RD_BYTE): Change rbat to sim_core_read_1.
|
|
|
|
(MEM_RD_HALF): Change rhat to sim_core_read_2.
|
|
|
|
(MEM_RD_WORD): Change rlat to sim_core_read_4.
|
|
|
|
(MEM_WR_BYTE): Change wbat to sim_core_write_1.
|
|
|
|
(MEM_WR_HALF): Change what to sim_core_write_2.
|
|
|
|
(MEM_WR_WORD): Change wlat to sim_core_write_4.
|
|
|
|
* sim-main.h (microblaze_regset): Delete msize and memory.
|
|
|
|
|
2015-04-16 06:11:12 +00:00
|
|
|
2015-04-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* sim-main.h (CIA_GET, CIA_SET): Delete.
|
|
|
|
|
2015-04-17 06:16:10 +00:00
|
|
|
2015-04-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (microblaze_pc_get, microblaze_pc_set): New functions.
|
|
|
|
(sim_open): Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
|
|
|
|
|
2015-04-15 06:13:23 +00:00
|
|
|
2015-04-15 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_OBJS): Delete sim-cpu.o.
|
|
|
|
* sim-main.h (STATE_CPU): Delete.
|
|
|
|
|
2015-04-13 06:38:57 +00:00
|
|
|
2015-04-13 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2015-04-07 03:40:00 +00:00
|
|
|
2015-04-06 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_OBJS): Delete sim-engine.o.
|
|
|
|
|
2015-04-01 03:32:49 +00:00
|
|
|
2015-03-31 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2015-03-29 21:40:30 +00:00
|
|
|
2015-03-29 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS, SIM_EXTRA_LIBS): Delete.
|
|
|
|
(SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
|
|
|
|
* interp.c: Drop sys/times.h, sys/param.h, run-sim.h, and sim-utils.h
|
|
|
|
includes.
|
|
|
|
(target_big_endian): Replace with CURRENT_TARGET_BYTE_ORDER.
|
|
|
|
(callback, microblaze_state, sim_kind, myname, sim_trace, sim_stop,
|
|
|
|
sim_load, sim_set_callbacks, sim_complete_command): Delete.
|
|
|
|
(wbat, wlat, what, rbat, rlat, rhat): Add SIM_CPU* as first arg.
|
|
|
|
(sim_size): Mark static and add SIM_CPU* as first arg.
|
|
|
|
(init_pointers): Add SIM_CPU* as first arg and pass to sim_size.
|
|
|
|
(set_initial_gprs): Add SIM_CPU* as first arg and pass to init_pointers.
|
|
|
|
(sim_resume): Add local cpu variable. Pass it to rlat.
|
|
|
|
(sim_write, sim_read, sim_store_register, sim_fetch_register): Add local
|
|
|
|
cpu variable. Pass it to init_pointers.
|
|
|
|
(sim_stop_reason, sim_do_command): Add local cpu variable.
|
|
|
|
(sim_info): Add local cpu and callback variables.
|
|
|
|
(free_state): New cleanup function.
|
|
|
|
(sim_open): Rewrite to use new common logic.
|
|
|
|
(sim_close): Delete body.
|
|
|
|
(sim_create_inferior): Delete call to set_initial_gprs.
|
|
|
|
* microblaze.h (CPU): Redefine using cpu.
|
|
|
|
(MEM_RD_BYTE, MEM_RD_HALF, MEM_RD_WORD, MEM_WR_BYTE, MEM_WR_HALF,
|
|
|
|
MEM_WR_WORD): Pass in cpu as first arg.
|
|
|
|
* sim-main.h (CIA_GET, CIA_SET, SIM_CPU): Define.
|
|
|
|
(MAX_NR_PROCESSORS): Delete.
|
|
|
|
(struct sim_state): Change cpu to *cpu, and rewrite STATE_CPU.
|
|
|
|
|
2015-03-29 21:20:37 +00:00
|
|
|
2015-03-29 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (NUM_ELEM, heap_ptr, stack_ptr, memcycles, struct aout,
|
|
|
|
LONG, SHORT): Delete.
|
|
|
|
[WATCHFUNCTIONS]: Delete.
|
|
|
|
(sim_info) [WATCHFUNCTIONS]: Delete.
|
|
|
|
(sim_create_inferior): Delete avp, nargs, nenv, s_length, strings,
|
|
|
|
pointers, and hi_stack.
|
|
|
|
(sim_do_command): Delete the "watch" command.
|
|
|
|
|
2015-03-29 20:43:48 +00:00
|
|
|
2015-03-29 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (sim_load): Set verbose to 0 when calling sim_load_file.
|
|
|
|
|
2015-03-29 08:18:03 +00:00
|
|
|
2015-03-29 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
|
|
|
|
SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and
|
|
|
|
SIM_AC_OPTION_INLINE.
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2015-03-16 06:23:02 +00:00
|
|
|
2015-03-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c: Strip trailing whitespace.
|
|
|
|
|
2015-03-16 06:26:48 +00:00
|
|
|
2015-03-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac: Call SIM_AC_OPTION_WARNINGS.
|
|
|
|
* confingure: Regenerate.
|
|
|
|
* interp.c: Include run-sim.h.
|
|
|
|
(microblaze_extract_unsigned_integer): Mark static.
|
|
|
|
(microblaze_store_unsigned_integer): Likewise.
|
|
|
|
(int_sbrk, SEXTB, SEXTW, IOMEM): Delete.
|
|
|
|
(init_pointers, set_initial_gprs): Add (void) to prototype.
|
|
|
|
(opened, log_open, log_close, is_opened, handle_trap1, process_stub,
|
|
|
|
util, iu_carry): Delete.
|
|
|
|
|
2015-03-15 03:41:25 +00:00
|
|
|
2015-03-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2015-02-19 08:46:01 +00:00
|
|
|
2015-03-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_EXTRA_CFLAGS): Set to
|
|
|
|
-DSIM_USE_DEPRECATED_RUN_FRONTEND.
|
|
|
|
(SIM_RUN_OBJS): Set to run.o.
|
|
|
|
(SIM_EXTRA_CLEAN): Delete.
|
|
|
|
(interp.o, microblaze-clean): Delete rules.
|
|
|
|
|
2015-02-19 08:50:11 +00:00
|
|
|
2015-03-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac (AC_CHECK_HEADERS): Delete.
|
|
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
|
2015-03-08 07:24:03 +00:00
|
|
|
2015-03-08 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (microblaze_extract_unsigned_integer): Change %ld to %zu.
|
|
|
|
|
2015-02-19 09:09:54 +00:00
|
|
|
2015-02-20 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c: Delete sysdep.h and netinet/in.h includes.
|
|
|
|
Include stdlib.h and string.h and unistd.h.
|
|
|
|
* sysdep.h: Delete.
|
|
|
|
|
2015-02-19 09:04:02 +00:00
|
|
|
2015-02-19 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (sim_kill): Delete unused func.
|
|
|
|
|
2015-02-19 08:41:36 +00:00
|
|
|
2015-02-19 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* microblaze.isa: Add "microblaze_" prefix to "or", "and", and "xor".
|
|
|
|
|
2015-02-19 22:51:12 +00:00
|
|
|
2015-02-02 Chen Gang <gang.chen.5i5j@gmail.com>
|
|
|
|
|
|
|
|
* interp.c (sim_do_command): Call freeargv() before return.
|
|
|
|
|
|
|
|
2014-07-01 Chen Gang <gang.chen.5i5j@gmail.com>
|
|
|
|
|
|
|
|
* interp.c: Use long int format instead of int format.
|
|
|
|
|
2014-08-19 12:29:56 +00:00
|
|
|
2014-08-19 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2014-08-15 22:46:40 +00:00
|
|
|
2014-08-15 Roland McGrath <mcgrathr@google.com>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
2014-02-20 05:28:17 +00:00
|
|
|
2014-03-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (sim_do_command): Add const to cmd.
|
|
|
|
|
2014-02-20 05:13:48 +00:00
|
|
|
2014-03-05 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (sim_load): Add const to prog.
|
|
|
|
|
2014-02-17 23:24:10 +00:00
|
|
|
2014-02-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
PR gdb/16450
|
|
|
|
* interp.c (interrupt): Delete.
|
|
|
|
(sim_resume): Delete signal(SIGINT) handling.
|
|
|
|
|
2013-09-23 00:32:27 +00:00
|
|
|
2013-09-23 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2013-06-05 01:42:13 +00:00
|
|
|
2013-06-03 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
|
Define PACKAGE macro in all sims' config.h.
Some of the common includes in include/gdb such as callback.h
include bfd.h. But there was a recent change in bfd-in.h to
require that config.h be included before bfd.h can be included:
/* PR 14072: Ensure that config.h is included first. */
#if !defined PACKAGE && !defined PACKAGE_VERSION
#error config.h must be included before this header
#endif
PACKAGE_VERSION is always defined by default by the AC_INIT autoconf
macro, but PACKAGE isn't. This patch updates the SIM_AC_COMMON macro
to define it, and then regenerates all configure scripts and config.in
files.
sim/common/changeLog:
* acinclude.m4 (SIM_AC_COMMON): Define PACKAGE.
* config.in, configure: Regenerate.
sim/ChangeLog:
* configure: Regenerate.
sim/arm/ChangeLog:
* config.in, configure: Regenerate.
sim/avr/ChangeLog:
* config.in, configure: Regenerate.
sim/bfin/ChangeLog:
* config.in, configure: Regenerate.
sim/cr16/ChangeLog:
* config.in, configure: Regenerate.
sim/cris/ChangeLog:
* config.in, configure: Regenerate.
sim/d10v/ChangeLog:
* config.in, configure: Regenerate.
sim/erc32/ChangeLog:
* config.in, configure: Regenerate.
sim/frv/ChangeLog:
* config.in, configure: Regenerate.
sim/h8300/ChangeLog:
* config.in, configure: Regenerate.
sim/iq2000/ChangeLog:
* config.in, configure: Regenerate.
sim/lm32/ChangeLog:
* config.in, configure: Regenerate.
sim/m32c/ChangeLog:
* config.in, configure: Regenerate.
sim/m32r/ChangeLog:
* config.in, configure: Regenerate.
sim/m68hc11/ChangeLog:
* config.in, configure: Regenerate.
sim/mcore/ChangeLog:
* config.in, configure: Regenerate.
sim/microblaze/ChangeLog:
* config.in, configure: Regenerate.
sim/mips/ChangeLog:
* config.in, configure: Regenerate.
sim/mn10300/ChangeLog:
* config.in, configure: Regenerate.
sim/moxie/ChangeLog:
* config.in, configure: Regenerate.
sim/ppc/ChangeLog:
* configure: Regenerate.
sim/rl78/ChangeLog:
* config.in, configure: Regenerate.
sim/rx/ChangeLog:
* config.in, configure: Regenerate.
sim/sh/ChangeLog:
* config.in, configure: Regenerate.
sim/sh64/ChangeLog:
* config.in, configure: Regenerate.
sim/v850/ChangeLog:
* config.in, configure: Regenerate.
sim/testsuite/ChangeLog:
* configure: Regenerate.
2012-06-15 17:20:10 +00:00
|
|
|
2012-06-15 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2012-03-24 05:38:43 +00:00
|
|
|
2012-03-24 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4, config.in, configure: Regenerate.
|
|
|
|
|
2011-12-03 18:23:51 +00:00
|
|
|
2011-12-03 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4: New file.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2011-10-18 00:31:00 +00:00
|
|
|
2011-10-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac: Change include to common/acinclude.m4.
|
|
|
|
|
2011-10-18 00:17:24 +00:00
|
|
|
2011-10-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
|
|
|
|
call. Replace common.m4 include with SIM_AC_COMMON.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2011-04-16 18:16:36 +00:00
|
|
|
2011-04-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (sim_complete_command): New stub function.
|
|
|
|
|
2010-04-14 07:38:06 +00:00
|
|
|
2010-04-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (sim_write): Add const to buffer arg.
|