2014-12-27 23:19:49 +00:00
|
|
|
2014-12-27 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (EXTRACT_OFFSET): Define.
|
|
|
|
(sim_resume): ldo/sto instructions now use 16 bit offset instead
|
|
|
|
of 32. Also swap mul.x/umul.x opcodes (reversed by mistake).
|
|
|
|
|
2014-12-25 13:26:57 +00:00
|
|
|
2014-12-25 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_resume): Whitespace changes to align with GDB
|
|
|
|
coding standard.
|
|
|
|
|
2014-12-24 13:37:16 +00:00
|
|
|
2014-12-24 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_resume): Add mul.x and umul.x instructions.
|
|
|
|
|
2014-12-12 13:44:19 +00:00
|
|
|
2014-12-12 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_resume): Add zex instructions.
|
|
|
|
|
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-04-03 03:55:57 +00:00
|
|
|
2014-04-02 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_resume): Add new sign-extend instructions.
|
|
|
|
|
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-26 15:55:59 +00:00
|
|
|
2013-06-26 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
* Makefile.in (dtbdir): Don't use gdb's version.in.
|
|
|
|
|
2013-06-05 01:42:13 +00:00
|
|
|
2013-06-03 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
|
2013-01-17 09:44:53 +00:00
|
|
|
2013-01-17 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_open): Remove from debug output.
|
|
|
|
|
2012-09-08 01:26:07 +00:00
|
|
|
2012-09-07 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_resume): Branches are now relative to the
|
|
|
|
address of the instruction following the branch.
|
|
|
|
|
2012-06-17 23:33:42 +00:00
|
|
|
2012-06-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* interp.c: Include config.h first. Also include fcntl.h directly.
|
|
|
|
|
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.
|
|
|
|
|
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-02-27 01:24:37 +00:00
|
|
|
2010-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
* interp.c (sim_create_inferior): Fix crashes on zero PROG_BFD or ARGV.
|
|
|
|
|
2010-02-03 10:28:19 +00:00
|
|
|
2010-02-03 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_resume): nop is 0x0f, and 0x00 is an illegal
|
|
|
|
instruction.
|
|
|
|
|
2010-01-13 14:08:36 +00:00
|
|
|
2010-01-13 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_open): Add period to end of sentence in comment.
|
|
|
|
|
2010-01-13 08:28:26 +00:00
|
|
|
2010-01-13 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_open): Initialize the SIM_DESC object properly
|
|
|
|
with sim_config() and sim_post_argv_init().
|
|
|
|
|
2010-01-09 21:11:44 +00:00
|
|
|
2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2009-09-10 21:57:03 +00:00
|
|
|
2009-09-10 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* Makefile.in (install-dtb): New target.
|
|
|
|
(moxie-gdb.dtb): New target.
|
|
|
|
(SIM_CFLAGS): Define DTB macro on command line.
|
|
|
|
(SIM_OBJS): Use common infrastructire.
|
|
|
|
(dtbdir): Define install location for dtb file.
|
|
|
|
|
|
|
|
* sim-main.h: New file.
|
|
|
|
* moxie-gdb.dts: New file.
|
|
|
|
* configure.ac: Check for dtc. Install dtb file. Remove some old
|
|
|
|
cruft.
|
|
|
|
* configure: Regenerate.
|
|
|
|
* interp.c: Many changes to use common memory infrastructure.
|
|
|
|
(load_dtb): New function.
|
|
|
|
(sim_create_inferior): Call it.
|
|
|
|
|
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.
|
|
|
|
|
2009-07-31 11:40:16 +00:00
|
|
|
2009-07-31 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c: Increase simulated memory to 16MB.
|
|
|
|
(sim_resume): Tweak swi system calls to support new ABI (up to 5
|
|
|
|
args in regs). Also simluate proper exception processing for
|
|
|
|
Linux system calls.
|
|
|
|
|
|
|
|
2009-07-30 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_resume): Add system call software interrupt support.
|
|
|
|
|
2009-06-11 11:36:14 +00:00
|
|
|
2009-06-11 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (INST2OFFSET): Define.
|
|
|
|
(sim_resume): Support new PC relative branch instructions.
|
|
|
|
|
2009-05-10 13:25:57 +00:00
|
|
|
2009-05-09 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_resume): Add missing breaks in switch.
|
|
|
|
|
2009-05-01 03:03:41 +00:00
|
|
|
2008-10-03 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_resume): Add support for ldo.b, sto.b, ldo.s, sto.s.
|
|
|
|
|
|
|
|
2008-09-10 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (NUM_SPRO_SREGS): New.
|
|
|
|
(struct moxie_regset): Add sregs.
|
|
|
|
(set_initial_gprs): Initialize sregs.
|
|
|
|
(sim_resume): Add gsr and ssr support.
|
|
|
|
|
|
|
|
2008-09-04 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_resume): Add inc and dec instructions.
|
|
|
|
|
|
|
|
2008-09-04 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (struct moxie_regset): Use an unsigned long long to keep
|
|
|
|
track of instruction trace counts.
|
|
|
|
* interp.c (sim_resume): Ditto.
|
|
|
|
(sim_info): Ditto.
|
|
|
|
|
|
|
|
2008-08-22 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_resume): Remove debugging code.
|
|
|
|
|
|
|
|
2008-08-20 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (TRACE): Add new tracing infrastructure.
|
|
|
|
(sim_resume): Use it.
|
|
|
|
(reg_names): Add new registers.
|
|
|
|
(NUM_MOXIE_REGS): New registers.
|
|
|
|
(PC_REGNO): New registers.
|
|
|
|
(sim_resume): New instruction encodings.
|
|
|
|
|
|
|
|
2008-08-16 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_resume): Add SYS_read, and fix SYS_open and SYS_write.
|
|
|
|
(convert_target_flags): New function.
|
|
|
|
|
|
|
|
2008-08-08 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_resume): Add SYS_open and SYS_write system call support.
|
|
|
|
|
|
|
|
2008-08-04 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* Makefile.in (SIM_EXTRA_LIBS): Add -lz.
|
|
|
|
|
|
|
|
2008-08-04 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_create_inferior): Set argc & argv in the target.
|
|
|
|
|
|
|
|
2008-04-12 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_resume): Add brk.
|
|
|
|
|
|
|
|
2008-04-10 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_resume): Add static chain pointer to call frame.
|
|
|
|
|
|
|
|
2008-03-24 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_resume): Add missing breaks.
|
|
|
|
(sim_resume): Fix neg implementation.
|
|
|
|
|
|
|
|
2008-03-23 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_load): Don't require a .bss section.
|
|
|
|
|
|
|
|
2008-03-21 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_resume): Add swi, and, lshr, ashl, sub.l, neg, or,
|
|
|
|
not, ashr, xor.
|
|
|
|
|
|
|
|
2008-03-20 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (struct moxie_regset): Add condition code, cc.
|
|
|
|
(CC_GT, CC_LT, CC_EQ, CC_GTU, CC_LTU): Define.
|
|
|
|
(sim_resume): Add jmpa, jsr, cmp, beq, bne, blt, bgt, bltu, bgtu,
|
|
|
|
bge, ble, bgeu, and bleu.
|
|
|
|
(rbat, rsat, wbat, wsat): New functions.
|
|
|
|
(sim_resume): Add ld.b, lda.b, ldi.b, ld.s, lda.s, ldi.s, st.b,
|
|
|
|
sta.b, st.s, sta.s, jmp.
|
|
|
|
|
|
|
|
2008-03-19 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_resume): Add ld.l, st.l, lda.l, sta.l.
|
|
|
|
jsra should set $fp == $sp.
|
|
|
|
Fix jsra and ret semantics.
|
|
|
|
|
|
|
|
2008-03-18 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (sim_resume): Add push, pop and add.l.
|
|
|
|
|
|
|
|
2008-03-16 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (EXTRACT_WORD): Define.
|
|
|
|
(rlat): Use EXTRACT_WORD.
|
|
|
|
(sim_resume): Add jsra and ret.
|
|
|
|
|
|
|
|
2008-02-22 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* interp.c (reg_names): Define.
|
|
|
|
(sim_resume): Use reg_names.
|
|
|
|
|
|
|
|
2008-02-21 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
* config.in, configure, configure.ac, interp.c, Makefile.in,
|
|
|
|
sysdep.h: Created.
|