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-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-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 (cr16_pc_get, cr16_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-03-31 05:13:12 +00:00
|
|
|
2015-04-01 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (sim_set_profile, sim_set_profile_size): Delete.
|
|
|
|
|
2015-03-31 05:59:44 +00:00
|
|
|
2015-03-31 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (simops.o): New rule.
|
|
|
|
|
2015-03-30 04:13:38 +00:00
|
|
|
2015-03-29 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* cr16_sim.h (text, text_start, text_end, prog_bfd): Delete.
|
|
|
|
(SEXT8, SEXT16, SEXT32): Undefine.
|
|
|
|
* interp.c: Delete run-sim.h and cr16_sim.h includes. Include
|
|
|
|
sim-main.h and sim-options.h.
|
|
|
|
(myname, sim_kind, init_text_p, prog_bfd_was_opened_p, prog_bfd,
|
|
|
|
text, text_start, text_end, decode_pc, sim_set_profile,
|
|
|
|
sim_set_profile_size, sim_set_trace, sim_info, sim_set_callbacks,
|
|
|
|
sim_trace, sim_complete_command, sim_do_command, sim_load): Delete.
|
|
|
|
(do_run): Delete prototype.
|
|
|
|
(INLINE): Delete define.
|
|
|
|
(do_run, xfer_mem): Pass in SIM_DESC. Set cr16_callback locally from
|
|
|
|
it.
|
|
|
|
(sim_size): Mark static.
|
|
|
|
(sim_write, sim_read): Pass sd to xfer_mem.
|
|
|
|
(free_state): New function.
|
|
|
|
(trace_sd): Declare global variable.
|
|
|
|
(sim_open): Rewrite to use new common logic.
|
|
|
|
(sim_close): Delete body.
|
|
|
|
(sim_resume): Pass sd to do_run.
|
|
|
|
* Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS): Delete.
|
|
|
|
(SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
|
|
|
|
* sim-main.h: New file.
|
|
|
|
* simops.c: Change cr16_sim.h include to sim-main.h.
|
|
|
|
(trace_input_func): Rewrite pc checks to use trace_sd.
|
|
|
|
|
2015-03-30 04:10:27 +00:00
|
|
|
2015-03-29 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_EXTRA_CFLAGS): Delete -DNEED_UI_LOOP_HOOK.
|
|
|
|
* interp.c [NEED_UI_LOOP_HOOK] (UI_LOOP_POLL_INTERVAL,
|
|
|
|
ui_loop_hook_counter, deprecated_ui_loop_hook): Delete.
|
|
|
|
(sim_resume) [NEED_UI_LOOP_HOOK]: Delete ui code.
|
|
|
|
|
2015-03-30 04:08:46 +00:00
|
|
|
2015-03-29 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c (old_segment_mapping, ins_type_counters, add_commas,
|
|
|
|
set_dmap_register, set_imap_register, HELD_SPI_IDX, HELD_SPU_IDX,
|
|
|
|
spu_register, spi_register, set_spi_register, set_spu_register):
|
|
|
|
Delete.
|
|
|
|
(sim_cr16_translate_addr): Delete old_segment_mapping handling.
|
|
|
|
(sim_open): Likewise.
|
|
|
|
(sim_info): Delete function body.
|
|
|
|
|
2015-03-30 02:41:14 +00:00
|
|
|
2015-03-29 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (gencode.o, cr16-opc.o): Add $(WARN_CFLAGS).
|
|
|
|
(gencode): Add $(BUILD_LDFLAGS).
|
|
|
|
* endian.c (get_word, get_longword, get_longlong, write_word,
|
|
|
|
write_longword, write_longlong): Convert old style prototypes.
|
|
|
|
* gencode.c: Include string.h.
|
|
|
|
(write_header): Convert old style prototype and fix printf format.
|
|
|
|
(write_template, write_opcodes): Likewise.
|
|
|
|
(check_opcodes): Mark static void and put behind #if 0.
|
|
|
|
* interp.c: Include inttypes.h and run-sim.h.
|
|
|
|
(add_commas): Delete prototype.
|
|
|
|
(decode_pc): Convert old style prototype.
|
|
|
|
(do_run): Change h->op compare to 0.
|
|
|
|
(add_commas, set_dmap_register, set_imap_register, HELD_SPI_IDX,
|
|
|
|
HELD_SPU_IDX, spu_register, spi_register, set_spi_register,
|
|
|
|
set_spu_register): Wrap in #if 0.
|
|
|
|
(sim_write, sim_read, sim_close, sim_stop, sim_set_callbacks,
|
|
|
|
sim_stop_reason, sim_fetch_register, sim_store_register,
|
|
|
|
sim_do_command): Convert old style prototypes.
|
|
|
|
(sim_create_inferior): Fix pointer cast to use uintptr_t.
|
|
|
|
* simops.c [HAVE_TIME_H]: Include time.h.
|
|
|
|
[HAVE_SYS_TIME_H]: Include sys/time.h.
|
|
|
|
[TARGET_SYS_utime]: Include utime.h.
|
|
|
|
[TARGET_SYS_wait]: Include sys/wait.h.
|
|
|
|
(strrchr): Delete prototype.
|
|
|
|
(cond_stat): Mark static.
|
|
|
|
(trace_input_func): Mark name static.
|
|
|
|
(trace_input_func, trace_output_void, trace_output_flag): Convert old style prototypes.
|
|
|
|
(trace_output_40): Wrap in #if 0.
|
|
|
|
(OP_*): Convert old style prototypes. Move trace_input call below
|
|
|
|
all variable decls. Initialize tmp to 0 when appropriate.
|
|
|
|
|
2015-03-30 02:42:33 +00:00
|
|
|
2015-03-29 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_EXTRA_CFLAGS): Delete -DSIM_HAVE_ENVIRONMENT.
|
|
|
|
(interp.o, simops.o, endian.o, table.o): Delete rules.
|
|
|
|
* 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.
|
|
|
|
* interp.c (sim_trace): Define.
|
|
|
|
|
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): Add
|
|
|
|
-DSIM_USE_DEPRECATED_RUN_FRONTEND.
|
|
|
|
(SIM_RUN_OBJS): Set to run.o.
|
|
|
|
|
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.
|
|
|
|
|
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-20 03:29:37 +00:00
|
|
|
2014-03-04 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
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.
|
|
|
|
|
2013-05-10 16:10:40 +00:00
|
|
|
2013-05-10 Freddie Chopin <freddie_chopin@op.pl>
|
|
|
|
|
|
|
|
* configure: Rebuild.
|
|
|
|
|
2012-08-30 06:09:45 +00:00
|
|
|
2012-08-28 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
|
|
|
|
|
2012-08-30 06:10:28 +00:00
|
|
|
* cr16_sim.h: Add defines for TRAP handling.
|
2012-08-30 06:09:45 +00:00
|
|
|
* interp.c (sim_complete_command): New stub function.
|
2012-08-30 06:10:28 +00:00
|
|
|
* simops.c: Breakpoint handling code.
|
2012-08-30 06:09:45 +00:00
|
|
|
|
2012-06-17 23:34:17 +00:00
|
|
|
2012-06-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c: Include config.h first. Also include stdlib.h and
|
|
|
|
string.h so we can drop the sysdep.h include.
|
|
|
|
|
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-05-24 16:51:47 +00:00
|
|
|
2012-05-24 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
PR gdb/7205
|
|
|
|
|
|
|
|
Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
|
|
|
|
|
2012-03-24 05:38:43 +00:00
|
|
|
2012-03-24 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4, config.in, configure: Regenerate.
|
|
|
|
|
2011-12-30 09:12:36 +00:00
|
|
|
2011-12-30 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
PR sim/12862
|
|
|
|
* simops.c (OP_C_C): Only handle TARGET_SYS_fork, TARGET_SYS_execve,
|
|
|
|
TARGET_SYS_pipe, TARGET_SYS_rename, and TARGET_SYS_chown when they
|
|
|
|
are defined.
|
|
|
|
|
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.
|
|
|
|
|
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.
|
|
|
|
|
2010-01-09 21:11:44 +00:00
|
|
|
2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2009-08-22 11:36:40 +00:00
|
|
|
2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
2009-08-22 16:56:56 +00:00
|
|
|
* config.in: Regenerate.
|
|
|
|
* configure: Likewise.
|
|
|
|
|
2009-08-22 11:36:40 +00:00
|
|
|
* configure: Regenerate.
|
|
|
|
|
2008-07-11 01:32:00 +00:00
|
|
|
2008-07-11 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
2008-07-11 02:41:22 +00:00
|
|
|
* configure: Regenerate to track ../common/common.m4 changes.
|
|
|
|
* config.in: Ditto.
|
|
|
|
|
2008-07-11 01:32:00 +00:00
|
|
|
* interp.c (hash): Remove incorrect prototype.
|
|
|
|
|
2008-06-07 01:31:27 +00:00
|
|
|
2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
|
|
|
|
Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2008-05-05 09:35:16 +00:00
|
|
|
2008-05-02 M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
|
|
|
|
|
|
|
|
* interp.c: Update the machine code decode algorithm using hash table.
|
|
|
|
* Makefile.in, cr16_sim.h, gencode.c and simops.c: Update for typos
|
|
|
|
and coding standards.
|
|
|
|
|
2008-04-08 09:20:06 +00:00
|
|
|
2008-02-12 M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
|
|
|
|
|
|
|
|
* ChangeLog, Makefile.in, configure, configure.in, cr16_sim.h,
|
|
|
|
gencode.c, interp.c, simops.c, endian.c: Created.
|
|
|
|
|