aboutsummaryrefslogtreecommitdiff
path: root/sim/msp430/ChangeLog
blob: 3fb96802f669f56112195543dd84ed89d55bd94f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
2021-04-18  Mike Frysinger  <vapier@gentoo.org>

	* configure: Regenerate.

2021-04-12  Mike Frysinger  <vapier@gentoo.org>

	* msp430-sim.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.

2021-04-02  Mike Frysinger  <vapier@gentoo.org>

	* aclocal.m4, configure: Regenerate.

2021-02-28  Mike Frysinger  <vapier@gentoo.org>

	* configure: Regenerate.

2021-02-28  Mike Frysinger  <vapier@gentoo.org>

	* Makefile.in (SIM_EXTRA_LIBDEPS): Delete.

2021-02-27  Mike Frysinger  <vapier@gentoo.org>

	* Makefile.in (SIM_EXTRA_ALL): Delete.

2021-02-21  Mike Frysinger  <vapier@gentoo.org>

	* configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
	* aclocal.m4, configure: Regenerate.

2021-02-13  Mike Frysinger  <vapier@gentoo.org>

	* configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
	* aclocal.m4, configure: Regenerate.

2021-02-06  Mike Frysinger  <vapier@gentoo.org>

	* configure: Regenerate.

2021-01-11  Mike Frysinger  <vapier@gentoo.org>

	* config.in, configure: Regenerate.

2021-01-09  Mike Frysinger  <vapier@gentoo.org>

	* configure: Regenerate.

2021-01-08  Mike Frysinger  <vapier@gentoo.org>

	* configure: Regenerate.

2021-01-04  Mike Frysinger  <vapier@gentoo.org>

	* configure: Regenerate.

2020-08-07  Jozef Lawrynowicz  <jozef.l@mittosystems.com>

	* msp430-sim.c (sim_open): Increase the size of the main memory region
	to 0xFAC0.

2020-08-05  Jozef Lawrynowicz  <jozef.l@mittosystems.com>

	* msp430-sim.c (put_op): For unsigned multiplication, explicitly cast
	operands to the unsigned type before multiplying.
	* msp430-sim.h (struct msp430_cpu_state): Fix types used to store hwmult
	operands.

2020-01-22  Jozef Lawrynowicz  <jozef.l@mittosystems.com>

	* msp430-sim.c (msp430_step_once): Ignore the carry flag when executing
	an RRC instruction, if the ZC bit of the extension word is set.

2017-09-06  John Baldwin  <jhb@FreeBSD.org>

	* configure: Regenerate.

2017-08-29  Jozef Lawrynowicz  <jozef.l@somniumtech.com>

	* sim/msp430/msp430-sim.c (maybe_perform_syscall): Fix passing of
	arguments for variadic syscall "open".

2016-08-15  Mike Frysinger  <vapier@gentoo.org>

	* msp430-sim.c: Delete bfd.h include.
	(lookup_symbol, msp430_sim_close): Delete.
	(sim_open): Change lookup_symbol to trace_sym_value.
	* sim-main.h (struct sim_state): Delete symbol_table and
	number_of_symbols.
	(STATE_SYMBOL_TABLE, STATE_NUM_SYMBOLS, msp430_sim_close,
	SIM_CLOSE_HOOK): Delete.

2016-01-10  Mike Frysinger  <vapier@gentoo.org>

	* config.in, configure: Regenerate.

2016-01-10  Mike Frysinger  <vapier@gentoo.org>

	* configure: Regenerate.

2016-01-10  Mike Frysinger  <vapier@gentoo.org>

	* configure: Regenerate.

2016-01-10  Mike Frysinger  <vapier@gentoo.org>

	* configure: Regenerate.

2016-01-10  Mike Frysinger  <vapier@gentoo.org>

	* configure: Regenerate.

2016-01-10  Mike Frysinger  <vapier@gentoo.org>

	* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
	* configure: Regenerate.

2016-01-10  Mike Frysinger  <vapier@gentoo.org>

	* configure: Regenerate.

2016-01-10  Mike Frysinger  <vapier@gentoo.org>

	* configure: Regenerate.

2016-01-09  Mike Frysinger  <vapier@gentoo.org>

	* config.in, configure: Regenerate.

2016-01-06  Mike Frysinger  <vapier@gentoo.org>

	* msp430-sim.c (sim_open): Mark argv const.
	(sim_create_inferior): Mark argv and env const.

2016-01-05  Mike Frysinger  <vapier@gentoo.org>

	* msp430-sim.c (loader_write_mem): Delete.
	(lookup_symbol): Return -1 when abfd is NULL.
	(sim_open): Delete prog_bfd variable.  Delete call to sim_load_file.
	Delete prog_bfd check.

2016-01-05  Mike Frysinger  <vapier@gentoo.org>

	* Makefile.in (SIM_OBJS): Delete trace.o.
	* msp430-sim.c: Delete dis-asm.h and trace.h includes.
	(sim_open): Delete msp430_trace_init call.
	(msp430_dis_read): Delete function.
	(msp430_step_once): Replace disassembly logic with a call
	to TRACE_DISASM.
	* trace.c, trace.h: Delete files.

2016-01-04  Mike Frysinger  <vapier@gentoo.org>

	* configure: Regenerate.

2016-01-03  Mike Frysinger  <vapier@gentoo.org>

	* config.in, configure: Regenerate.

2016-01-02  Mike Frysinger  <vapier@gentoo.org>

	* configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
	LITTLE.
	* configure: Regenerate.

2015-12-27  Mike Frysinger  <vapier@gentoo.org>

	* msp430-sim.c (sim_dis_read): Change private_data to application_data.
	(msp430_step_once): Likewise.

2015-12-27  Mike Frysinger  <vapier@gentoo.org>

	* Makefile.in (SIM_OBJS): Delete sim-hload.o.

2015-12-26  Mike Frysinger  <vapier@gentoo.org>

	* config.in, configure: Regenerate.

2015-12-15  Dominik Vogt  <vogt@linux.vnet.ibm.com>

	* msp430-sim.c (get_op, put_op): Fix left shift of negative value.

2015-12-07  Nick Clifton  <nickc@redhat.com>

	* msp430-sim.c (sim_open): Check for needed memory at address
	0x500 not 0x200.
	(get_op): Add support for F5 hardware multiply addresses.
	(put_op): Likewise.

2015-11-15  Mike Frysinger  <vapier@gentoo.org>

	* Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
	sim-stop.o.

2015-11-14  Mike Frysinger  <vapier@gentoo.org>

	* interp.c (sim_close): Rename to ...
	(msp430_sim_close): ... this.  Delete call to sim_state_free.
	* sim-main.h (msp430_sim_close): Declare.
	(SIM_CLOSE_HOOK): Define.

2015-06-24  Mike Frysinger  <vapier@gentoo.org>

	* msp430-sim.c (trace_reg_put): Change TRACE_VPU to TRACE_REGISTER.
	(trace_reg_get): Likewise.

2015-06-23  Mike Frysinger  <vapier@gentoo.org>

	* configure: Regenerate.

2015-06-17  Mike Frysinger  <vapier@gentoo.org>

	* msp430-sim.c (maybe_perform_syscall): Replace call to cb_syscall
	with sim_syscall.

2015-06-17  Mike Frysinger  <vapier@gentoo.org>

	* msp430-sim.c: Include sim-syscall.h.
	(syscall_read_mem, syscall_write_mem): Delete.
	(maybe_perform_syscall): Change syscall_read_mem/syscall_write_mem
	to sim_syscall_read_mem/sim_syscall_write_mem.

2015-06-12  Mike Frysinger  <vapier@gentoo.org>

	* configure: Regenerate.

2015-06-12  Mike Frysinger  <vapier@gentoo.org>

	* configure: Regenerate.

2015-06-12  Mike Frysinger  <vapier@gentoo.org>

	* msp430-sim.c (trace_reg_put): Replace TRACE_VPU_P/trace_generic
	with TRACE_VPU.
	(trace_reg_get): Likewise.
	(get_op): Replace TRACE_MEMORY_P/trace_generic with TRACE_MEMORY.
	(put_op): Likewise.
	(msp430_dis_read): Replace TRACE_ALU_P/trace_generic with TRACE_ALU.
	(do_flags): Likewise.
	(maybe_perform_syscall): Replace TRACE_SYSCALL_P/trace_generic with
	TRACE_SYSCALL.
	(msp430_step_once): Replace TRACE_ALU_P/trace_generic with TRACE_ALU.
	Replace TRACE_BRANCH_P/trace_generic with TRACE_BRANCH.

2015-06-11  Mike Frysinger  <vapier@gentoo.org>

	* sim-main.h (MAYBE_TRACE, TRACE_INSN, TRACE_DECODE, TRACE_EXTRACT,
	TRACE_SYSCALL, TRACE_CORE, TRACE_EVENTS, TRACE_BRANCH,
	trace_register, TRACE_REGISTER, TRACE_REG): Delete.

2015-04-18  Mike Frysinger  <vapier@gentoo.org>

	* sim-main.h (SIM_CPU): Delete.

2015-04-18  Mike Frysinger  <vapier@gentoo.org>

	* sim-main.h (sim_cia): Delete.

2015-04-17  Mike Frysinger  <vapier@gentoo.org>

	* sim-main.h (CIA_GET, CIA_SET): Delete.

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  Mike Frysinger  <vapier@gentoo.org>

	* configure: Regenerate.

2015-04-06  Mike Frysinger  <vapier@gentoo.org>

	* Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.

2015-04-01  Mike Frysinger  <vapier@gentoo.org>

	* Makefile.in (SIM_OBJS): Delete $(SIM_EXTRA_OBJS).

2015-03-31  Mike Frysinger  <vapier@gentoo.org>

	* config.in, configure: Regenerate.

2015-03-23  Mike Frysinger  <vapier@gentoo.org>

	* sim-main.h: Delete run-sim.h include.

2015-03-16  Mike Frysinger  <vapier@gentoo.org>

	* config.in, configure: Regenerate.

2015-03-14  Mike Frysinger  <vapier@gentoo.org>

	* aclocal.m4, configure: Regenerate.
	* configure.ac: Call the common inline & warning macros.
	* msp430-sim.c: Include unistd.h & trace.h.
	* trace.c: Include trace.h.
	(load_file_and_line): Move FILE* decl to top of scope.
	* trace.h (msp430_get_current_source_location): Adjust prototype to
	match the function definition.

2015-03-14  Mike Frysinger  <vapier@gentoo.org>

	* Makefile.in (SIM_RUN_OBJS): Delete.

2015-02-24  Nick Clifton  <nickc@redhat.com>

	* msp430-sim.c (sim_open): Allocate memory regions matching those
	declared in the libgloss/msp430 linker scripts.
	Allow sim_load_file to fail.
	(get_op): Test the correct address bit when checking for out of
	range addresses.
	Include the address in the error message when an illegal access to
	the hardware multiplier is detected.
	(put_op): Test the correct address bit when checking for out of
	range addresses.

2014-08-19  Alan Modra  <amodra@gmail.com>

	* configure: Regenerate.

2014-08-19  Nick Clifton  <nickc@redhat.com>

	* msp430-sim.c: Move static hardware multiply support variables
	from here...
	* msp430-sim.h (msp430_cpu_state): ... into here ...
	* msp430-sim.c (get_op, put_op): ... and update references to use
	the msp430_cpu_state structure.

2014-08-15  Roland McGrath  <mcgrathr@google.com>

	* configure: Regenerate.
	* config.in: Regenerate.

2014-06-03  Nick Clifton  <nickc@redhat.com>

	* msp430-sim.c (get_op): Handle reads of low result register when
	in MAC mode.
	(put_op): Copy MAC result into result words.
	Handle writes to the low result register.

2014-05-12  DJ Delorie  <dj@redhat.com>

	* msp43-sim.c (sign_ext): Change to "long long" to support
	sign-extending 32-bit values.

2014-05-08  Nick Clifton  <nickc@redhat.com>

	* msp430-sim.c (sim_open): Do not allocate memory over the
	hardware multiply registers.
	(get_op): Add support for reads from the hardware multiply
	registers.
	(put_op): Add support for writes to the hardware multiply
	registers.
	(msp430_step_once): Add support for the RETI instruction used by
	the CPUX architecture.

2014-03-10  Mike Frysinger  <vapier@gentoo.org>

	* msp430-sim.c (sim_create_inferior): Set new_pc to the result of
	bfd_get_start_address when abfd is not NULL and new_pc is zero.

2014-03-10  Mike Frysinger  <vapier@gentoo.org>

	* msp430-sim (maybe_perform_syscall): Change %d to %ld.
	(msp430_step_once): Cast fprintf to fprintf_ftype.

2013-09-23  Alan Modra  <amodra@gmail.com>

	* aclocal.m4, configure: Regenerate.

2013-06-21  Nick Clifton  <nickc@redhat.com>

	* Makefile.in: New.
	* aclocal.m4: Generate.
	* config.in: Generate.
	* configure.ac: New.
	* configure: Generate.
	* msp430-sim.c: New.
	* msp430-sim.h: New.
	* sim-main.h: New.
	* trace.c: New.
	* trace.h: New.