summaryrefslogtreecommitdiff
path: root/sim/mcore/ChangeLog
blob: 20c6f773eef579d32d421e01effd9bbe16085fb9 (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
2015-04-21  Mike Frysinger  <vapier@gentoo.org>

	* interp.c (WATCHFUNCTIONS): Undef it.
	(sim_resume): Move WLhash behind WATCHFUNCTIONS.
	(sim_do_command): Delete.

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

	* Makefile.in (NL_TARGET): Define.
	* interp.c (NUM_ELEM, opened, log_open, log_close, is_opened): Delete.
	(syscall_read_mem, syscall_write_mem): New functions.
	(handle_trap1): Delete entire body.  Replace with call to cb_syscall.

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>

	* interp.c (set_initial_gprs): Change CIA_SET to CPU_PC_SET.
	(sim_resume): Change CIA_GET to CPU_PC_GET and CIA_SET to
	CPU_PC_SET.
	(sim_create_inferior): Change CIA_SET to CPU_PC_SET.
	* sim-main.h (CIA_GET, CIA_SET): Delete.

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

	* interp.c (mcore_pc_get, mcore_pc_set): New functions.
	(sim_open): Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.

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.

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

	* config.in, configure: Regenerate.

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

	* interp.c (struct aout, LONG, SHORT): Delete.

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

	* Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS, SIM_EXTRA_LIBS): Delete.
	(SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
	* interp.c: Include sim-main.h, sim-base.h, and sim-options.h.
	(word, uword): Move to sim-main.h.
	(callback, sim_kind, myname): Delete.
	(struct mcore_regset): Move pc to sim_cpu.
	(memcycles, sim_size): Mark static.
	(set_initial_gprs): Take a sim_cpu arg.  Set pc via CIA_SET.
	(handle_trap1): Take a SIM_DESC arg.  Get callback from it.
	(process_stub): Take a SIM_DESC arg.  Pass it to handle_trap1
	(util): Take a SIM_DESC arg.  Pass it to process_stub.
	(sim_resume): Get/set pc via CIA_GET/CIA_SET.  Pass sd to handle_trap1
	and util.
	(sim_trace, sim_stop, sim_load, sim_set_callbacks): Delete.
	(sim_info): Get callback from SIM_DESC.
	(free_state): New cleanup function.
	(sim_open): Rewrite to use new common logic.
	(sim_create_inferior): Get sim_cpu from sd.  Pass to set_initial_gprs
	and set pc via CIA_SET.
	* sim-main.h: New file.

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

	* configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
	SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and
	SIM_AC_OPTION_INLINE.
	* config.in, configure: Regenerate.

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

	* interp.c (heap_ptr, int_sbrk): Delete.
	(handle_trap1): Change case 69 (sbrk) to always return -1.
	(sim_load): Delete bss checks and heap_ptr setup.

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

	* interp.c: Strip trailing whitespace.

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

	* configure.ac: Call SIM_AC_OPTION_WARNINGS.
	* confingure: Regenerate.
	* interp.c (mcore_extract_unsigned_integer): Make static and update
	prototype.  Fix up printf string.
	(mcore_store_unsigned_integer): Make static and update prototype.
	(int_sbrk): Likewise.
	(wbat, wlat, what, rbat, rlat, rhat): Delete INLINE and update
	prototype.
	(SEXTB, SEXTW, IOMEM): Delete.
	(sim_size): Update prototype.  Fix up printf string.
	(init_pointers): Update prototype.
	(set_initial_gprs): Update prototype.  Fix up printf string.
	(log_open, log_close, is_opened, handle_trap1, process_stub, util,
	iu_carry): Update prototype.
	(sim_resume): Update prototype.  Change addr to a word.
	(sim_write, sim_read, sim_store_register, sim_fetch_register,
	sim_trace, sim_stop_reason, sim_stop, sim_info, sim_open,
	sim_close, sim_load, sim_create_inferior, sim_do_command,
	sim_set_callbacks): Update prototype.

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

	* config.in, configure: Regenerate.

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

	* Makefile.in (SIM_EXTRA_CLEAN): Delete.
	(interp.o, mcore-clean): Delete rules.

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

	* Makefile.in (SIM_EXTRA_CFLAGS): Set to
	-DSIM_USE_DEPRECATED_RUN_FRONTEND.
	(SIM_RUN_OBJS): Set to run.o.

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

	* configure.ac (AC_CHECK_HEADERS): Delete.
	* aclocal.m4, configure: Regenerate.

2015-02-20  Mike Frysinger  <vapier@gentoo.org>

	* interp.c: Delete sysdep.h and netinet/in.h includes.
	Include stdlib.h and string.h.
	* sysdep.h: Delete.

2015-02-19  Mike Frysinger  <vapier@gentoo.org>

	* interp.c (sim_kill): Delete unused func.

2015-02-11  Chen Gang <gang.chen.5i5j@gmail.com>

	* interp.c: Include "unistd.h".

2015-02-02  Chen Gang  <gang.chen.5i5j@gmail.com>

	* interp.c (sim_do_command): Call freeargv() before return.

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

	* configure: Regenerate.

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

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

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

	* interp.c (sim_do_command): Add const to cmd.

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

	* interp.c (sim_load): Add const to prog.

2014-02-17  Mike Frysinger  <vapier@gentoo.org>

	PR gdb/16450
	* interp.c (interrupt): Delete.
	(sim_resume): Delete signal(SIGINT) handling.

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

	* configure: Regenerate.

2013-06-03  Mike Frysinger  <vapier@gentoo.org>

	* aclocal.m4, configure: Regenerate.

2012-06-15  Joel Brobecker  <brobecker@adacore.com>

	* config.in, configure: Regenerate.

2012-05-20  Hans-Peter Nilsson  <hp@axis.com>

	PR 14072
	* interp.c: Include config.h before system header files.

2012-03-24  Mike Frysinger  <vapier@gentoo.org>

	* aclocal.m4, config.in, configure: Regenerate.

2011-12-03  Mike Frysinger  <vapier@gentoo.org>

	* aclocal.m4: New file.
	* configure: Regenerate.

2011-10-17  Mike Frysinger  <vapier@gentoo.org>

	* configure.ac: Change include to common/acinclude.m4.

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

	* interp.c (sim_write): Add const to buffer arg.

2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* configure: Regenerate.

2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

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

	* configure: Regenerate.

2008-07-11  Hans-Peter Nilsson  <hp@axis.com>

	* configure: Regenerate to track ../common/common.m4 changes.
	* config.in: Ditto.

2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

	* configure: Regenerate.

2006-12-21  Hans-Peter Nilsson  <hp@axis.com>

	* config.in: Regenerate.

2006-06-13  Richard Earnshaw  <rearnsha@arm.com>

	* configure: Regenerated.

2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>

	* configure: Regenerated.

2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>

	* configure: Regenerated.

2005-03-23  Mark Kettenis  <kettenis@gnu.org>

	* configure: Regenerate.

2005-01-14  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Sinclude aclocal.m4 before common.m4.  Add
	explicit call to AC_CONFIG_HEADER.
	* configure: Regenerate.

2005-01-12  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Update to use ../common/common.m4.
	* configure: Re-generate.

2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>

	* configure: Regenerated to track ../common/aclocal.m4 changes.

2005-01-07  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Rename configure.in, require autoconf 2.59.
	* configure: Re-generate.

2004-12-08  Hans-Peter Nilsson  <hp@axis.com>

	* configure: Regenerate for ../common/aclocal.m4 update.

2003-10-11  Alan Modra  <amodra@bigpond.net.au>

	* interp.c (sim_load): Don't refer directly to _cooked_size and vma;
	Use bfd_section_size and bfd_get_section_vma.

2003-02-27  Andrew Cagney  <cagney@redhat.com>

	* interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.

2002-06-16  Andrew Cagney  <ac131313@redhat.com>

	* configure: Regenerated to track ../common/aclocal.m4 changes.

2002-06-08  Andrew Cagney  <cagney@redhat.com>

	* interp.c: Include "gdb/callback.h" and "gdb/remote-sim.h".

Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>

	* configure: Regenerated to track ../common/aclocal.m4 changes.

2000-02-14  Nick Clifton  <nickc@cygnus.com>

	* interp.c (handle_trap1): Fix handling of fclose system call.
	Patch submitted by <drew.sarkisian@motorola.com>.

2000-02-10  Nick Clifton  <nickc@cygnus.com>

	* interp.c (target_big_endian): New variable.
	(mcore_extract_unsigned_integer, mcore_store_unsigned_integer,
	wlat, rlat, sim_resume, sim_load): Add supprot for little
	endian targets. 

2000-01-13  Nick Clifton  <nickc@cygnus.com>

	* interp.c (sim_resume): Do not rely upon host semantics of shift
	operators to implement M*Core semantics.

Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>

	* configure: Regenerated to track ../common/aclocal.m4 changes.

1999-06-23  Nick Clifton  <nickc@cygnus.com>

	* sysdep.h: Do not define prototypes for memcpy and strchr if they
	are macros.

1999-05-21  Nick Clifton  <nickc@cygnus.com>

	* interp.c (sim_resume): Add more tracing output.

1999-05-17  Keith Seitz  <keiths@cygnus.com>

	* interp.c (NUM_MCORE_REGS): Increase by one to allow access to PC.
	(sim_resume): Correct off by one instruction error when a breakpoint
	is hit.

1999-05-08  Felix Lee  <flee@cygnus.com>

	* configure: Regenerated to track ../common/aclocal.m4 changes.
	
1999-05-10  Nick Clifton  <nickc@cygnus.com>

	* interp.c (sim_resume): Record PC in case it is needed for error
	messages and the original has been corrupted.

1999-05-07  Nick Clifton  <nickc@cygnus.com>

	* interp.c (sim_resume): Fix typo 'oze' -> 'doze'.
	(util): Handle 0x50FF stubs properly.


1999-04-29  Nick Clifton  <nickc@cygnus.com>

	* interp.c (set_initial_gprs): Only display memory range if
	verbose option has been set.

1999-04-22  Nick Clifton  <nickc@cygnus.com>

	* interp.c: Add tracing and verbose options.
	Fixed trap and syscall emulations.

1999-04-08  Nick Clifton  <nickc@cygnus.com>

	* interp.c: New file: Simulator for MCore.
	* sysdep.h: New file: Systems definitions for MCore simulator.
	* configure.in: New file: Configure script for MCore simulator.
	* configure: New file: Genreated.
	* config,in: New file: Config support.
	* Makefile.in: New file: Meta makefile for MCore simulator.