sim: sim_{create_inferior,open,parse_args}: constify argv/env slightly
[binutils-gdb.git] / sim / msp430 / ChangeLog
1 2016-01-06 Mike Frysinger <vapier@gentoo.org>
2
3 * msp430-sim.c (sim_open): Mark argv const.
4 (sim_create_inferior): Mark argv and env const.
5
6 2016-01-05 Mike Frysinger <vapier@gentoo.org>
7
8 * msp430-sim.c (loader_write_mem): Delete.
9 (lookup_symbol): Return -1 when abfd is NULL.
10 (sim_open): Delete prog_bfd variable. Delete call to sim_load_file.
11 Delete prog_bfd check.
12
13 2016-01-05 Mike Frysinger <vapier@gentoo.org>
14
15 * Makefile.in (SIM_OBJS): Delete trace.o.
16 * msp430-sim.c: Delete dis-asm.h and trace.h includes.
17 (sim_open): Delete msp430_trace_init call.
18 (msp430_dis_read): Delete function.
19 (msp430_step_once): Replace disassembly logic with a call
20 to TRACE_DISASM.
21 * trace.c, trace.h: Delete files.
22
23 2016-01-04 Mike Frysinger <vapier@gentoo.org>
24
25 * configure: Regenerate.
26
27 2016-01-03 Mike Frysinger <vapier@gentoo.org>
28
29 * config.in, configure: Regenerate.
30
31 2016-01-02 Mike Frysinger <vapier@gentoo.org>
32
33 * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
34 LITTLE.
35 * configure: Regenerate.
36
37 2015-12-27 Mike Frysinger <vapier@gentoo.org>
38
39 * msp430-sim.c (sim_dis_read): Change private_data to application_data.
40 (msp430_step_once): Likewise.
41
42 2015-12-27 Mike Frysinger <vapier@gentoo.org>
43
44 * Makefile.in (SIM_OBJS): Delete sim-hload.o.
45
46 2015-12-26 Mike Frysinger <vapier@gentoo.org>
47
48 * config.in, configure: Regenerate.
49
50 2015-12-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
51
52 * msp430-sim.c (get_op, put_op): Fix left shift of negative value.
53
54 2015-12-07 Nick Clifton <nickc@redhat.com>
55
56 * msp430-sim.c (sim_open): Check for needed memory at address
57 0x500 not 0x200.
58 (get_op): Add support for F5 hardware multiply addresses.
59 (put_op): Likewise.
60
61 2015-11-15 Mike Frysinger <vapier@gentoo.org>
62
63 * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
64 sim-stop.o.
65
66 2015-11-14 Mike Frysinger <vapier@gentoo.org>
67
68 * interp.c (sim_close): Rename to ...
69 (msp430_sim_close): ... this. Delete call to sim_state_free.
70 * sim-main.h (msp430_sim_close): Declare.
71 (SIM_CLOSE_HOOK): Define.
72
73 2015-06-24 Mike Frysinger <vapier@gentoo.org>
74
75 * msp430-sim.c (trace_reg_put): Change TRACE_VPU to TRACE_REGISTER.
76 (trace_reg_get): Likewise.
77
78 2015-06-23 Mike Frysinger <vapier@gentoo.org>
79
80 * configure: Regenerate.
81
82 2015-06-17 Mike Frysinger <vapier@gentoo.org>
83
84 * msp430-sim.c (maybe_perform_syscall): Replace call to cb_syscall
85 with sim_syscall.
86
87 2015-06-17 Mike Frysinger <vapier@gentoo.org>
88
89 * msp430-sim.c: Include sim-syscall.h.
90 (syscall_read_mem, syscall_write_mem): Delete.
91 (maybe_perform_syscall): Change syscall_read_mem/syscall_write_mem
92 to sim_syscall_read_mem/sim_syscall_write_mem.
93
94 2015-06-12 Mike Frysinger <vapier@gentoo.org>
95
96 * configure: Regenerate.
97
98 2015-06-12 Mike Frysinger <vapier@gentoo.org>
99
100 * configure: Regenerate.
101
102 2015-06-12 Mike Frysinger <vapier@gentoo.org>
103
104 * msp430-sim.c (trace_reg_put): Replace TRACE_VPU_P/trace_generic
105 with TRACE_VPU.
106 (trace_reg_get): Likewise.
107 (get_op): Replace TRACE_MEMORY_P/trace_generic with TRACE_MEMORY.
108 (put_op): Likewise.
109 (msp430_dis_read): Replace TRACE_ALU_P/trace_generic with TRACE_ALU.
110 (do_flags): Likewise.
111 (maybe_perform_syscall): Replace TRACE_SYSCALL_P/trace_generic with
112 TRACE_SYSCALL.
113 (msp430_step_once): Replace TRACE_ALU_P/trace_generic with TRACE_ALU.
114 Replace TRACE_BRANCH_P/trace_generic with TRACE_BRANCH.
115
116 2015-06-11 Mike Frysinger <vapier@gentoo.org>
117
118 * sim-main.h (MAYBE_TRACE, TRACE_INSN, TRACE_DECODE, TRACE_EXTRACT,
119 TRACE_SYSCALL, TRACE_CORE, TRACE_EVENTS, TRACE_BRANCH,
120 trace_register, TRACE_REGISTER, TRACE_REG): Delete.
121
122 2015-04-18 Mike Frysinger <vapier@gentoo.org>
123
124 * sim-main.h (SIM_CPU): Delete.
125
126 2015-04-18 Mike Frysinger <vapier@gentoo.org>
127
128 * sim-main.h (sim_cia): Delete.
129
130 2015-04-17 Mike Frysinger <vapier@gentoo.org>
131
132 * sim-main.h (CIA_GET, CIA_SET): Delete.
133
134 2015-04-15 Mike Frysinger <vapier@gentoo.org>
135
136 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
137 * sim-main.h (STATE_CPU): Delete.
138
139 2015-04-13 Mike Frysinger <vapier@gentoo.org>
140
141 * configure: Regenerate.
142
143 2015-04-06 Mike Frysinger <vapier@gentoo.org>
144
145 * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
146
147 2015-04-01 Mike Frysinger <vapier@gentoo.org>
148
149 * Makefile.in (SIM_OBJS): Delete $(SIM_EXTRA_OBJS).
150
151 2015-03-31 Mike Frysinger <vapier@gentoo.org>
152
153 * config.in, configure: Regenerate.
154
155 2015-03-23 Mike Frysinger <vapier@gentoo.org>
156
157 * sim-main.h: Delete run-sim.h include.
158
159 2015-03-16 Mike Frysinger <vapier@gentoo.org>
160
161 * config.in, configure: Regenerate.
162
163 2015-03-14 Mike Frysinger <vapier@gentoo.org>
164
165 * aclocal.m4, configure: Regenerate.
166 * configure.ac: Call the common inline & warning macros.
167 * msp430-sim.c: Include unistd.h & trace.h.
168 * trace.c: Include trace.h.
169 (load_file_and_line): Move FILE* decl to top of scope.
170 * trace.h (msp430_get_current_source_location): Adjust prototype to
171 match the function definition.
172
173 2015-03-14 Mike Frysinger <vapier@gentoo.org>
174
175 * Makefile.in (SIM_RUN_OBJS): Delete.
176
177 2015-02-24 Nick Clifton <nickc@redhat.com>
178
179 * msp430-sim.c (sim_open): Allocate memory regions matching those
180 declared in the libgloss/msp430 linker scripts.
181 Allow sim_load_file to fail.
182 (get_op): Test the correct address bit when checking for out of
183 range addresses.
184 Include the address in the error message when an illegal access to
185 the hardware multiplier is detected.
186 (put_op): Test the correct address bit when checking for out of
187 range addresses.
188
189 2014-08-19 Alan Modra <amodra@gmail.com>
190
191 * configure: Regenerate.
192
193 2014-08-19 Nick Clifton <nickc@redhat.com>
194
195 * msp430-sim.c: Move static hardware multiply support variables
196 from here...
197 * msp430-sim.h (msp430_cpu_state): ... into here ...
198 * msp430-sim.c (get_op, put_op): ... and update references to use
199 the msp430_cpu_state structure.
200
201 2014-08-15 Roland McGrath <mcgrathr@google.com>
202
203 * configure: Regenerate.
204 * config.in: Regenerate.
205
206 2014-06-03 Nick Clifton <nickc@redhat.com>
207
208 * msp430-sim.c (get_op): Handle reads of low result register when
209 in MAC mode.
210 (put_op): Copy MAC result into result words.
211 Handle writes to the low result register.
212
213 2014-05-12 DJ Delorie <dj@redhat.com>
214
215 * msp43-sim.c (sign_ext): Change to "long long" to support
216 sign-extending 32-bit values.
217
218 2014-05-08 Nick Clifton <nickc@redhat.com>
219
220 * msp430-sim.c (sim_open): Do not allocate memory over the
221 hardware multiply registers.
222 (get_op): Add support for reads from the hardware multiply
223 registers.
224 (put_op): Add support for writes to the hardware multiply
225 registers.
226 (msp430_step_once): Add support for the RETI instruction used by
227 the CPUX architecture.
228
229 2014-03-10 Mike Frysinger <vapier@gentoo.org>
230
231 * msp430-sim.c (sim_create_inferior): Set new_pc to the result of
232 bfd_get_start_address when abfd is not NULL and new_pc is zero.
233
234 2014-03-10 Mike Frysinger <vapier@gentoo.org>
235
236 * msp430-sim (maybe_perform_syscall): Change %d to %ld.
237 (msp430_step_once): Cast fprintf to fprintf_ftype.
238
239 2013-09-23 Alan Modra <amodra@gmail.com>
240
241 * aclocal.m4, configure: Regenerate.
242
243 2013-06-21 Nick Clifton <nickc@redhat.com>
244
245 * Makefile.in: New.
246 * aclocal.m4: Generate.
247 * config.in: Generate.
248 * configure.ac: New.
249 * configure: Generate.
250 * msp430-sim.c: New.
251 * msp430-sim.h: New.
252 * sim-main.h: New.
253 * trace.c: New.
254 * trace.h: New.