1 2011-10-17 Mike Frysinger <vapier@gentoo.org>
3 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
4 call. Replace common.m4 include with SIM_AC_COMMON.
5 * configure: Regenerate.
7 2010-04-14 Mike Frysinger <vapier@gentoo.org>
9 * interp.c (sim_write): Add const to buffer arg.
11 2010-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13 * interp.c (sim_create_inferior): Fix crashes on zero PROG_BFD or ARGV.
15 2010-02-03 Anthony Green <green@moxielogic.com>
17 * interp.c (sim_resume): nop is 0x0f, and 0x00 is an illegal
20 2010-01-13 Anthony Green <green@moxielogic.com>
22 * interp.c (sim_open): Add period to end of sentence in comment.
24 2010-01-13 Anthony Green <green@moxielogic.com>
26 * interp.c (sim_open): Initialize the SIM_DESC object properly
27 with sim_config() and sim_post_argv_init().
29 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
31 * configure: Regenerate.
33 2009-09-10 Anthony Green <green@moxielogic.com>
35 * Makefile.in (install-dtb): New target.
36 (moxie-gdb.dtb): New target.
37 (SIM_CFLAGS): Define DTB macro on command line.
38 (SIM_OBJS): Use common infrastructire.
39 (dtbdir): Define install location for dtb file.
41 * sim-main.h: New file.
42 * moxie-gdb.dts: New file.
43 * configure.ac: Check for dtc. Install dtb file. Remove some old
45 * configure: Regenerate.
46 * interp.c: Many changes to use common memory infrastructure.
47 (load_dtb): New function.
48 (sim_create_inferior): Call it.
50 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
52 * config.in: Regenerate.
53 * configure: Likewise.
55 * configure: Regenerate.
57 2009-07-31 Anthony Green <green@moxielogic.com>
59 * interp.c: Increase simulated memory to 16MB.
60 (sim_resume): Tweak swi system calls to support new ABI (up to 5
61 args in regs). Also simluate proper exception processing for
64 2009-07-30 Anthony Green <green@moxielogic.com>
66 * interp.c (sim_resume): Add system call software interrupt support.
68 2009-06-11 Anthony Green <green@moxielogic.com>
70 * interp.c (INST2OFFSET): Define.
71 (sim_resume): Support new PC relative branch instructions.
73 2009-05-09 Anthony Green <green@moxielogic.com>
75 * interp.c (sim_resume): Add missing breaks in switch.
77 2008-10-03 Anthony Green <green@moxielogic.com>
79 * interp.c (sim_resume): Add support for ldo.b, sto.b, ldo.s, sto.s.
81 2008-09-10 Anthony Green <green@moxielogic.com>
83 * interp.c (NUM_SPRO_SREGS): New.
84 (struct moxie_regset): Add sregs.
85 (set_initial_gprs): Initialize sregs.
86 (sim_resume): Add gsr and ssr support.
88 2008-09-04 Anthony Green <green@moxielogic.com>
90 * interp.c (sim_resume): Add inc and dec instructions.
92 2008-09-04 Anthony Green <green@moxielogic.com>
94 * interp.c (struct moxie_regset): Use an unsigned long long to keep
95 track of instruction trace counts.
96 * interp.c (sim_resume): Ditto.
99 2008-08-22 Anthony Green <green@moxielogic.com>
101 * interp.c (sim_resume): Remove debugging code.
103 2008-08-20 Anthony Green <green@moxielogic.com>
105 * interp.c (TRACE): Add new tracing infrastructure.
106 (sim_resume): Use it.
107 (reg_names): Add new registers.
108 (NUM_MOXIE_REGS): New registers.
109 (PC_REGNO): New registers.
110 (sim_resume): New instruction encodings.
112 2008-08-16 Anthony Green <green@moxielogic.com>
114 * interp.c (sim_resume): Add SYS_read, and fix SYS_open and SYS_write.
115 (convert_target_flags): New function.
117 2008-08-08 Anthony Green <green@moxielogic.com>
119 * interp.c (sim_resume): Add SYS_open and SYS_write system call support.
121 2008-08-04 Anthony Green <green@moxielogic.com>
123 * Makefile.in (SIM_EXTRA_LIBS): Add -lz.
125 2008-08-04 Anthony Green <green@moxielogic.com>
127 * interp.c (sim_create_inferior): Set argc & argv in the target.
129 2008-04-12 Anthony Green <green@moxielogic.com>
131 * interp.c (sim_resume): Add brk.
133 2008-04-10 Anthony Green <green@moxielogic.com>
135 * interp.c (sim_resume): Add static chain pointer to call frame.
137 2008-03-24 Anthony Green <green@moxielogic.com>
139 * interp.c (sim_resume): Add missing breaks.
140 (sim_resume): Fix neg implementation.
142 2008-03-23 Anthony Green <green@moxielogic.com>
144 * interp.c (sim_load): Don't require a .bss section.
146 2008-03-21 Anthony Green <green@moxielogic.com>
148 * interp.c (sim_resume): Add swi, and, lshr, ashl, sub.l, neg, or,
151 2008-03-20 Anthony Green <green@moxielogic.com>
153 * interp.c (struct moxie_regset): Add condition code, cc.
154 (CC_GT, CC_LT, CC_EQ, CC_GTU, CC_LTU): Define.
155 (sim_resume): Add jmpa, jsr, cmp, beq, bne, blt, bgt, bltu, bgtu,
156 bge, ble, bgeu, and bleu.
157 (rbat, rsat, wbat, wsat): New functions.
158 (sim_resume): Add ld.b, lda.b, ldi.b, ld.s, lda.s, ldi.s, st.b,
159 sta.b, st.s, sta.s, jmp.
161 2008-03-19 Anthony Green <green@moxielogic.com>
163 * interp.c (sim_resume): Add ld.l, st.l, lda.l, sta.l.
164 jsra should set $fp == $sp.
165 Fix jsra and ret semantics.
167 2008-03-18 Anthony Green <green@moxielogic.com>
169 * interp.c (sim_resume): Add push, pop and add.l.
171 2008-03-16 Anthony Green <green@moxielogic.com>
173 * interp.c (EXTRACT_WORD): Define.
174 (rlat): Use EXTRACT_WORD.
175 (sim_resume): Add jsra and ret.
177 2008-02-22 Anthony Green <green@moxielogic.com>
179 * interp.c (reg_names): Define.
180 (sim_resume): Use reg_names.
182 2008-02-21 Anthony Green <green@moxielogic.com>
184 * config.in, configure, configure.ac, interp.c, Makefile.in,