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
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
|
2021-06-18 Mike Frysinger <vapier@gentoo.org>
* interp.c: Include sim-signal.h.
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
* aclocal.m4, configure: Regenerate.
2021-06-16 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-06-16 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
* config.in: Removed.
2021-06-15 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
2021-06-14 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
* configure: Regenerate.
2021-06-12 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
2021-06-12 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, config.in, configure: Regenerate.
2021-06-12 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
2021-05-17 Mike Frysinger <vapier@gentoo.org>
* sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
2021-05-17 Mike Frysinger <vapier@gentoo.org>
* sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
(struct sim_state): Delete.
2021-05-16 Mike Frysinger <vapier@gentoo.org>
* interp.c: Replace config.h include with defs.h.
2021-05-16 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
2021-05-14 Mike Frysinger <vapier@gentoo.org>
* interp.c: Update include path.
2021-05-04 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_engine_run): Call TRACE_INSN.
(INSTRUCTION): Likewise.
* microblaze.isa (addi): Call TRACE_REGISTER.
2021-05-04 Mike Frysinger <vapier@gentoo.org>
* interp.c: Include sim-syscall.h.
(sim_engine_run): Call sim_syscall for brki instructions.
2021-05-04 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-05-01 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
2021-04-26 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, config.in, configure: Regenerate.
2021-04-22 Tom Tromey <tom@tromey.com>
* configure, config.in: Rebuild.
2021-04-22 Tom Tromey <tom@tromey.com>
* configure: Rebuild.
2021-04-21 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4: Regenerate.
2021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
* configure: Regenerate.
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-12 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
2021-04-02 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, configure: Regenerate.
2021-04-01 Martin Liska <mliska@suse.cz>
* interp.c (sim_engine_run): Use bool instead of int.
2021-02-28 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
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.
2017-09-06 John Baldwin <jhb@FreeBSD.org>
* configure: Regenerate.
2017-05-30 Andrea Corallo <andrea_corallo@yahoo.it>
* interp.c: (target_big_endian): target endianess recognition fix.
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.ac (SIM_AC_OPTION_ENVIRONMENT): 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-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>
* interp.c (sim_open): Mark argv const.
(sim_create_inferior): Mark argv and env const.
2016-01-04 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2016-01-03 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Update sim_parse_args comment.
2016-01-03 Mike Frysinger <vapier@gentoo.org>
* configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
* configure: Regenerate.
2016-01-02 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2015-12-30 Mike Frysinger <vapier@gentoo.org>
* wrapper.c (sim_store_register): Rename to ...
(microblaze_reg_store): ... this. Delete local cpu var.
(sim_fetch_register): Rename to ...
(microblaze_reg_fetch): ... this. Delete local cpu var.
(sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
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-11-15 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
2015-11-14 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_close): Delete.
2015-06-23 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>
* configure: Regenerate.
2015-06-11 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_OBJS): Add sim-resume.o.
* interp.c (sim_resume): rename to ...
(sim_engine_run): ... this. Change CPU.exception setting to
sim_engine_halt calls. Change do/while to while(1). Call
sim_events_process when sim_events_tick is true.
(sim_stop_reason): Delete.
* sim-main.h (microblaze_regset): Delete exception member.
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 (issue_messages, wbat, wlat, what, rbat, rlat, rhat,
sim_memory_size, MEM_SIZE_FLOOR, sim_size, init_pointers, sim_write,
sim_read, sim_do_command): Delete.
(set_initial_gprs): Delete memsize and call to init_pointers.
(sim_resume): Change rlat to MEM_RD_WORD. Change issue_messages to
STATE_VERBOSE_P.
(sim_store_register, sim_fetch_register): Drop call to init_pointers.
(sim_open): Drop issue_messages setup. Delete osize and call to
sim_size. Call sim_do_commandf to set the memory size.
* microblaze.h (MEM): Delete.
(MEM_RD_BYTE): Change rbat to sim_core_read_1.
(MEM_RD_HALF): Change rhat to sim_core_read_2.
(MEM_RD_WORD): Change rlat to sim_core_read_4.
(MEM_WR_BYTE): Change wbat to sim_core_write_1.
(MEM_WR_HALF): Change what to sim_core_write_2.
(MEM_WR_WORD): Change wlat to sim_core_write_4.
* sim-main.h (microblaze_regset): Delete msize and memory.
2015-04-17 Mike Frysinger <vapier@gentoo.org>
* sim-main.h (CIA_GET, CIA_SET): Delete.
2015-04-17 Mike Frysinger <vapier@gentoo.org>
* interp.c (microblaze_pc_get, microblaze_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>
* Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS, SIM_EXTRA_LIBS): Delete.
(SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
* interp.c: Drop sys/times.h, sys/param.h, run-sim.h, and sim-utils.h
includes.
(target_big_endian): Replace with CURRENT_TARGET_BYTE_ORDER.
(callback, microblaze_state, sim_kind, myname, sim_trace, sim_stop,
sim_load, sim_set_callbacks, sim_complete_command): Delete.
(wbat, wlat, what, rbat, rlat, rhat): Add SIM_CPU* as first arg.
(sim_size): Mark static and add SIM_CPU* as first arg.
(init_pointers): Add SIM_CPU* as first arg and pass to sim_size.
(set_initial_gprs): Add SIM_CPU* as first arg and pass to init_pointers.
(sim_resume): Add local cpu variable. Pass it to rlat.
(sim_write, sim_read, sim_store_register, sim_fetch_register): Add local
cpu variable. Pass it to init_pointers.
(sim_stop_reason, sim_do_command): Add local cpu variable.
(sim_info): Add local cpu and callback variables.
(free_state): New cleanup function.
(sim_open): Rewrite to use new common logic.
(sim_close): Delete body.
(sim_create_inferior): Delete call to set_initial_gprs.
* microblaze.h (CPU): Redefine using cpu.
(MEM_RD_BYTE, MEM_RD_HALF, MEM_RD_WORD, MEM_WR_BYTE, MEM_WR_HALF,
MEM_WR_WORD): Pass in cpu as first arg.
* sim-main.h (CIA_GET, CIA_SET, SIM_CPU): Define.
(MAX_NR_PROCESSORS): Delete.
(struct sim_state): Change cpu to *cpu, and rewrite STATE_CPU.
2015-03-29 Mike Frysinger <vapier@gentoo.org>
* interp.c (NUM_ELEM, heap_ptr, stack_ptr, memcycles, struct aout,
LONG, SHORT): Delete.
[WATCHFUNCTIONS]: Delete.
(sim_info) [WATCHFUNCTIONS]: Delete.
(sim_create_inferior): Delete avp, nargs, nenv, s_length, strings,
pointers, and hi_stack.
(sim_do_command): Delete the "watch" command.
2015-03-29 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_load): Set verbose to 0 when calling sim_load_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-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: Include run-sim.h.
(microblaze_extract_unsigned_integer): Mark static.
(microblaze_store_unsigned_integer): Likewise.
(int_sbrk, SEXTB, SEXTW, IOMEM): Delete.
(init_pointers, set_initial_gprs): Add (void) to prototype.
(opened, log_open, log_close, is_opened, handle_trap1, process_stub,
util, iu_carry): Delete.
2015-03-16 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
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.
(SIM_EXTRA_CLEAN): Delete.
(interp.o, microblaze-clean): Delete rules.
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* configure.ac (AC_CHECK_HEADERS): Delete.
* aclocal.m4, configure: Regenerate.
2015-03-08 Mike Frysinger <vapier@gentoo.org>
* interp.c (microblaze_extract_unsigned_integer): Change %ld to %zu.
2015-02-20 Mike Frysinger <vapier@gentoo.org>
* interp.c: Delete sysdep.h and netinet/in.h includes.
Include stdlib.h and string.h and unistd.h.
* sysdep.h: Delete.
2015-02-19 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_kill): Delete unused func.
2015-02-19 Mike Frysinger <vapier@gentoo.org>
* microblaze.isa: Add "microblaze_" prefix to "or", "and", and "xor".
2015-02-02 Chen Gang <gang.chen.5i5j@gmail.com>
* interp.c (sim_do_command): Call freeargv() before return.
2014-07-01 Chen Gang <gang.chen.5i5j@gmail.com>
* interp.c: Use long int format instead of int format.
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-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.
2011-04-16 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_complete_command): New stub function.
2010-04-14 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_write): Add const to buffer arg.
|