1 2013-01-17 Anthony Green <green@moxielogic.com>
3 * interp.c (sim_open): Remove from debug output.
5 2012-09-07 Anthony Green <green@moxielogic.com>
7 * interp.c (sim_resume): Branches are now relative to the
8 address of the instruction following the branch.
10 2012-06-17 Mike Frysinger <vapier@gentoo.org>
12 * interp.c: Include config.h first. Also include fcntl.h directly.
14 2012-06-15 Joel Brobecker <brobecker@adacore.com>
16 * config.in, configure: Regenerate.
18 2012-03-24 Mike Frysinger <vapier@gentoo.org>
20 * aclocal.m4, config.in, configure: Regenerate.
22 2011-12-03 Mike Frysinger <vapier@gentoo.org>
24 * aclocal.m4: New file.
25 * configure: Regenerate.
27 2011-10-17 Mike Frysinger <vapier@gentoo.org>
29 * configure.ac: Change include to common/acinclude.m4.
31 2011-10-17 Mike Frysinger <vapier@gentoo.org>
33 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
34 call. Replace common.m4 include with SIM_AC_COMMON.
35 * configure: Regenerate.
37 2010-04-14 Mike Frysinger <vapier@gentoo.org>
39 * interp.c (sim_write): Add const to buffer arg.
41 2010-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
43 * interp.c (sim_create_inferior): Fix crashes on zero PROG_BFD or ARGV.
45 2010-02-03 Anthony Green <green@moxielogic.com>
47 * interp.c (sim_resume): nop is 0x0f, and 0x00 is an illegal
50 2010-01-13 Anthony Green <green@moxielogic.com>
52 * interp.c (sim_open): Add period to end of sentence in comment.
54 2010-01-13 Anthony Green <green@moxielogic.com>
56 * interp.c (sim_open): Initialize the SIM_DESC object properly
57 with sim_config() and sim_post_argv_init().
59 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
61 * configure: Regenerate.
63 2009-09-10 Anthony Green <green@moxielogic.com>
65 * Makefile.in (install-dtb): New target.
66 (moxie-gdb.dtb): New target.
67 (SIM_CFLAGS): Define DTB macro on command line.
68 (SIM_OBJS): Use common infrastructire.
69 (dtbdir): Define install location for dtb file.
71 * sim-main.h: New file.
72 * moxie-gdb.dts: New file.
73 * configure.ac: Check for dtc. Install dtb file. Remove some old
75 * configure: Regenerate.
76 * interp.c: Many changes to use common memory infrastructure.
77 (load_dtb): New function.
78 (sim_create_inferior): Call it.
80 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
82 * config.in: Regenerate.
83 * configure: Likewise.
85 * configure: Regenerate.
87 2009-07-31 Anthony Green <green@moxielogic.com>
89 * interp.c: Increase simulated memory to 16MB.
90 (sim_resume): Tweak swi system calls to support new ABI (up to 5
91 args in regs). Also simluate proper exception processing for
94 2009-07-30 Anthony Green <green@moxielogic.com>
96 * interp.c (sim_resume): Add system call software interrupt support.
98 2009-06-11 Anthony Green <green@moxielogic.com>
100 * interp.c (INST2OFFSET): Define.
101 (sim_resume): Support new PC relative branch instructions.
103 2009-05-09 Anthony Green <green@moxielogic.com>
105 * interp.c (sim_resume): Add missing breaks in switch.
107 2008-10-03 Anthony Green <green@moxielogic.com>
109 * interp.c (sim_resume): Add support for ldo.b, sto.b, ldo.s, sto.s.
111 2008-09-10 Anthony Green <green@moxielogic.com>
113 * interp.c (NUM_SPRO_SREGS): New.
114 (struct moxie_regset): Add sregs.
115 (set_initial_gprs): Initialize sregs.
116 (sim_resume): Add gsr and ssr support.
118 2008-09-04 Anthony Green <green@moxielogic.com>
120 * interp.c (sim_resume): Add inc and dec instructions.
122 2008-09-04 Anthony Green <green@moxielogic.com>
124 * interp.c (struct moxie_regset): Use an unsigned long long to keep
125 track of instruction trace counts.
126 * interp.c (sim_resume): Ditto.
129 2008-08-22 Anthony Green <green@moxielogic.com>
131 * interp.c (sim_resume): Remove debugging code.
133 2008-08-20 Anthony Green <green@moxielogic.com>
135 * interp.c (TRACE): Add new tracing infrastructure.
136 (sim_resume): Use it.
137 (reg_names): Add new registers.
138 (NUM_MOXIE_REGS): New registers.
139 (PC_REGNO): New registers.
140 (sim_resume): New instruction encodings.
142 2008-08-16 Anthony Green <green@moxielogic.com>
144 * interp.c (sim_resume): Add SYS_read, and fix SYS_open and SYS_write.
145 (convert_target_flags): New function.
147 2008-08-08 Anthony Green <green@moxielogic.com>
149 * interp.c (sim_resume): Add SYS_open and SYS_write system call support.
151 2008-08-04 Anthony Green <green@moxielogic.com>
153 * Makefile.in (SIM_EXTRA_LIBS): Add -lz.
155 2008-08-04 Anthony Green <green@moxielogic.com>
157 * interp.c (sim_create_inferior): Set argc & argv in the target.
159 2008-04-12 Anthony Green <green@moxielogic.com>
161 * interp.c (sim_resume): Add brk.
163 2008-04-10 Anthony Green <green@moxielogic.com>
165 * interp.c (sim_resume): Add static chain pointer to call frame.
167 2008-03-24 Anthony Green <green@moxielogic.com>
169 * interp.c (sim_resume): Add missing breaks.
170 (sim_resume): Fix neg implementation.
172 2008-03-23 Anthony Green <green@moxielogic.com>
174 * interp.c (sim_load): Don't require a .bss section.
176 2008-03-21 Anthony Green <green@moxielogic.com>
178 * interp.c (sim_resume): Add swi, and, lshr, ashl, sub.l, neg, or,
181 2008-03-20 Anthony Green <green@moxielogic.com>
183 * interp.c (struct moxie_regset): Add condition code, cc.
184 (CC_GT, CC_LT, CC_EQ, CC_GTU, CC_LTU): Define.
185 (sim_resume): Add jmpa, jsr, cmp, beq, bne, blt, bgt, bltu, bgtu,
186 bge, ble, bgeu, and bleu.
187 (rbat, rsat, wbat, wsat): New functions.
188 (sim_resume): Add ld.b, lda.b, ldi.b, ld.s, lda.s, ldi.s, st.b,
189 sta.b, st.s, sta.s, jmp.
191 2008-03-19 Anthony Green <green@moxielogic.com>
193 * interp.c (sim_resume): Add ld.l, st.l, lda.l, sta.l.
194 jsra should set $fp == $sp.
195 Fix jsra and ret semantics.
197 2008-03-18 Anthony Green <green@moxielogic.com>
199 * interp.c (sim_resume): Add push, pop and add.l.
201 2008-03-16 Anthony Green <green@moxielogic.com>
203 * interp.c (EXTRACT_WORD): Define.
204 (rlat): Use EXTRACT_WORD.
205 (sim_resume): Add jsra and ret.
207 2008-02-22 Anthony Green <green@moxielogic.com>
209 * interp.c (reg_names): Define.
210 (sim_resume): Use reg_names.
212 2008-02-21 Anthony Green <green@moxielogic.com>
214 * config.in, configure, configure.ac, interp.c, Makefile.in,