ChangeLog 237 KB
Newer Older
1
2
3
4
2019-01-16  Pavel I. Kryukov  <kryukov@frtk.ru>

	* sim-arange.c: eliminate DEFINE_NON_INLINE_P

5
6
7
8
2019-01-15  Simon Marchi  <simon.marchi@ericsson.com>

	* sim-arange.h (SIM_ARANGE_INLINE): Change EXTERN to extern.

9
10
11
12
13
2018-12-18  Andrew Burgess  <andrew.burgess@embecosm.com>

	* sim-syscall.c (sim_syscall_multi): Don't update sc->errcode at
	this point, it should have already been set in cb_syscall.

14
15
16
17
18
19
20
2018-10-05  Stafford Horne  <shorne@gmail.com>

	* cgen-ops.h (ADDCFDI): New function, add carry flag DI variant.
	(ADDOFDI): New function, add overflow flag DI variant.
	(SUBCFDI): New function, subtract carry flag DI variant.
	(SUBOFDI): New function, subtract overflow flag DI variant.

21
22
23
24
25
26
27
28
2018-09-28  Компан, Вячеслав Олегович  <kompan.vo@phystech.edu>

	* sim-core.h (sim_cpu_core): Rename cpu_core.xor to
	cpu_core.byte_xor.
	* sim-core.c (sim_core_set_xor): Likewise.
	(sim_core_xor_read_buffer): Likewise.
	(sim_core_xor_write_buffer): Likewise.

29
30
31
32
33
34
35
2017-12-12  Peter Gavin  <pgavin@gmail.com>
	    Stafford Horne  <shorne@gmail.com>

	* cgen-ops.h (MUL2OFSI): New function, 2's complement overflow
	flag.
	(MUL1OFSI): New function, 1's complement overflow flag.

36
37
38
39
40
41
42
43
44
45
46
2017-12-12  Peter Gavin  <pgavin@gmail.com>
	    Stafford Horne <shorne@gmail.com>

	* cgen-accfp.c (remsf, remdf): New function.
	(cgen_init_accurate_fpu): Add remsf and remdf.
	* cgen-fpu.h (cgen_fp_ops): Add remsf, remdf, remxf and remtf.
	* sim-fpu.c (sim_fpu_rem): New function.
	* sim-fpu.h (sim_fpu_status_invalid_irx): New enum.
	(sim_fpu_rem): New function.
	(sim_fpu_print_status): Add case for sim_fpu_status_invalid_irx.

47
48
49
50
51
2017-09-06  John Baldwin  <jhb@FreeBSD.org>

	* acinclude.m4 (SIM_AC_COMMON): Honor existing CC_FOR_BUILD in
	environment.

Yao Qi's avatar
Yao Qi committed
52
53
54
55
2017-05-24  Yao Qi  <yao.qi@linaro.org>

	* sim-trace.c (trace_disasm): Caller update.

56
57
58
59
60
61
62
63
64
65
66
67
2016-08-15  Mike Frysinger  <vapier@gentoo.org>

	* sim-base.h (sim_state_base): Add prog_syms_count.
	(STATE_PROG_SYMS_COUNT): Define.
	* sim-trace.c (trace_uninstall): Free STATE_PROG_SYMS memory.
	(trace_load_symbols): New function.
	(trace_sym_value): Likewise.
	(trace_prefix): Change STATE_CPU(cpu) to sd.  Replace symbol
	loading logic with a call to trace_load_symbols.
	* sim-trace.h (trace_load_symbols, trace_sym_value): New
	prototypes.

68
69
70
71
72
2016-08-13  Mike Frysinger  <vapier@gentoo.org>

	* cgen-types.h (mode_names): Mark const.
	* cgen-utils.c (mode_names): Likewise.

73
74
75
76
77
2016-08-13  Mike Frysinger  <vapier@gentoo.org>

	* cgen-defs.h (struct cgen_state): Delete argv and envp.
	(STATE_ARGV, STATE_ENVP): Delete.

78
79
80
81
82
83
2016-02-04  Nick Clifton  <nickc@redhat.com>

	* cgen-scache.c (scache_option_handler): Prevent possible
	undefined behaviour computing the size of the scache by using
	unsigned integers instead of signed integers.

84
85
86
87
2016-01-17  Joel Brobecker  <brobecker@adacore.com>

	* sim-fpu.c: Minor comment fixes throughout.

88
89
90
91
92
2016-01-17  Joel Brobecker  <brobecker@adacore.com>

	* sim-fpu.c (print_bits): Minor reformatting (no code change).
	(sim_fpu_map): Likewise.

93
94
95
96
97
2016-01-11  Mike Frysinger  <vapier@gentoo.org>

	* sim-config.c (print_sim_config): Drop extra whitespace before =
	in output for byte order, stdio, and msb settings.

98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
2016-01-10  Mike Frysinger  <vapier@gentoo.org>

	* acinclude.m4 (SIM_AC_COMMON): Call AC_MSG_CHECKING,
	AC_DEFINE_UNQUOTED, and AC_MSG_RESULT for sim-debug.  Likewise for
	sim-stdio, sim-trace, and sim-profile.
	(SIM_AC_OPTION_ENVIRONMENT): Likewise.
	(SIM_AC_OPTION_ASSERT): Likewise.
	(SIM_AC_OPTION_SMP): Likewise.
	(SIM_AC_OPTION_XOR_ENDIAN): Likewise.
	* configure: Regenerate.
	* Make-common.in (SIM_DEBUG, SIM_TRACE, SIM_PROFILE, SIM_ASSERT,
	SIM_ENVIRONMENT, SIM_SMP, SIM_XOR_ENDIAN): Delete.
	(CONFIG_CFLAGS): Delete $(SIM_DEBUG), $(SIM_TRACE), $(SIM_PROFILE),
	$(SIM_ASSERT), $(SIM_ENVIRONMENT), $(SIM_SMP), and $(SIM_XOR_ENDIAN).
	* sim-config.c (sim_config): Change DEFAULT_ENVIRONMENT to
	WITH_ENVIRONMENT & USER_ENVIRONMENT.
	* sim-config.h (SIM_HAVE_ENVIRONMENT, WITH_ENVIRONMENT,
	DEFAULT_ENVIRONMENT, WITH_DEBUG, WITH_TRACE, WITH_PROFILE,
	WITH_ASSERT, WITH_STDIO): Delete.
	* sim-options.c (standard_options): Delete SIM_HAVE_ENVIRONMENT
	check.

120
121
122
123
124
125
126
2016-01-10  Mike Frysinger  <vapier@gentoo.org>

	* acinclude.m4 (SIM_AC_OPTION_PACKAGES): Delete.
	* configure: Regenerate.
	* Make-common.in (SIM_PACKAGES): Delete.
	(CONFIG_CFLAGS): Delete $(SIM_PACKAGES).

127
128
129
130
2016-01-10  Mike Frysinger  <vapier@gentoo.org>

	* acinclude.m4 (SIM_AC_COMMON): Call SIM_AC_OPTION_ENVIRONMENT.

131
132
133
134
2016-01-10  Mike Frysinger  <vapier@gentoo.org>

	* acinclude.m4 (SIM_AC_COMMON): Call SIM_AC_OPTION_ASSERT.

135
136
137
138
139
140
141
142
143
144
145
2016-01-10  Mike Frysinger  <vapier@gentoo.org>

	* acinclude.m4 (SIM_AC_COMMON): Delete sim_link_files and
	sim_link_links.
	(SIM_AC_OUTPUT): Delete AC_LINK_FILES call.
	* gentmap.c: Change targ-vals.def include to nltvals.def.
	* Make-common.in (gentmap): Change targ-vals.def to
	$(srccom)/nltvals.def.
	(distclean): Delete rm -f targ-vals.def.
	* Makefile.in: Update comment.

146
147
148
149
150
151
2016-01-10  Mike Frysinger  <vapier@gentoo.org>

	* acinclude.m4 (SIM_AC_COMMON): Call SIM_AC_OPTION_INLINE.
	(SIM_AC_OPTION_INLINE): Rename default_sim_inline to sim_inline
	and always set -DDEFAULT_INLINE.  Delete AC_ARG_ENABLE 4th arg.

152
153
154
155
156
157
158
159
160
161
162
2016-01-10  Mike Frysinger  <vapier@gentoo.org>

	* acinclude.m4: Delete --enable-sim-regparm and sim_regparm,
	and --enable-sim-stdcall and sim_stdcall.
	* configure: Regenerate.
	* Make-common.in (SIM_REGPARM, SIM_STDCALL): Delete.
	(CONFIG_CFLAGS): Delete $(SIM_REGPARM) and $(SIM_STDCALL).
	* sim-config.h (WITH_REGPARM, WITH_STDCALL): Delete.
	* sim-inline.h (REGPARM_MODULE, REGPARM): Delete.
	(REGPARM_*): Delete all regparm defines and their use.

163
164
165
166
167
168
169
2016-01-10  Mike Frysinger  <vapier@gentoo.org>

	* acinclude.m4: Delete --enable-sim-cflags and sim_cflags.
	* Make-common.in (SIM_CFLAGS): Delete.
	(CONFIG_CFLAGS): Delete $(SIM_CFLAGS).
	* Makefile.in: Likewise.

170
171
172
173
174
175
176
177
178
179
180
181
182
183
2016-01-09  Mike Frysinger  <vapier@gentoo.org>

	* configure.ac: Change SIM_AC_COMMON to AC_PROG_CC.  Drop 2nd arg
	to AC_OUTPUT.  Move AC_CHECK_HEADERS, AC_CHECK_FUNCS,
	AC_CHECK_MEMBERS, and -AC_CHECK_TYPES ...
	* acinclude.m4 (SIM_AC_COMMON): ... here.
	* aclocal.m4, configure: Regenerate.
	* config.in: Delete file.
	* callback.c: Change cconfig.h include to config.h.
	* dv-cfi.c, nrun.c, sim-basics.h, sim-load.c, sim-memopt.c,
	syscall.c: Likewise.
	* Make-common.in (sim-basics_h): Delete ../common/cconfig.h.
	* Makefile.in (distclean): Delete rm -f cconfig.h config.h stamp-h.

184
185
186
187
188
2016-01-06  Mike Frysinger  <vapier@gentoo.org>

	* sim-config.c (print_sim_config): Delete sim_io_printf of version,
	date, and time information.

189
190
191
192
193
2016-01-06  Mike Frysinger  <vapier@gentoo.org>

	* sim-options.c (sim_parse_args): Mark argv array const.
	* sim-options.h (sim_parse_args): Likewise.

194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
2016-01-05  Mike Frysinger  <vapier@gentoo.org>

	* sim-trace.c: Include dis-asm.h.
	(OPTION_TRACE_DISASM): New enum.
	(trace_options): Add trace-disasm flag.
	(trace_option_handler): Handle OPTION_TRACE_DISASM.
	(trace_idx_to_str): Handle TRACE_DISASM_IDX.
	(dis_read, dis_printf, trace_disasm): New functions.
	* sim-trace.h: Include dis-asm.h.
	(TRACE_INSN_IDX): Clarify comment.
	(TRACE_DISASM_IDX): New enum.
	(TRACE_disasm): New define.
	(WITH_TRACE_DISASM_P): New define.
	(struct _trace_data): Add dis_bfd, disassembler, and dis_info.
	(STRACE_DISASM_P): New define.
	(TRACE_DISASM_P): Likewise.
	(TRACE_DISASM_P): Likewise.
	(TRACE_DISASM): Likewise.
	(trace_disasm): New function.

Mike Frysinger's avatar
Mike Frysinger committed
214
215
216
217
2016-01-04  Mike Frysinger  <vapier@gentoo.org>

	* sim-utils.c (sim_state_free): Change to STATE_MAGIC.

Mike Frysinger's avatar
Mike Frysinger committed
218
219
220
221
222
223
224
225
226
2016-01-04  Mike Frysinger  <vapier@gentoo.org>

	* cgen-scache.c (MAX): Delete.
	(scache_init): Change MAX to max.
	* cgen-trace.c (min): Delete.
	* cgen-utils.c (min): Delete.
	* sim-basics.h [!min] (min): Define.
	[!max] (max): Define.

227
228
229
230
2016-01-04  Mike Frysinger  <vapier@gentoo.org>

	* sim-options.c (sim_parse_args): Tweak getopt error message.

231
232
233
234
235
236
237
238
239
2016-01-04  Mike Frysinger  <vapier@gentoo.org>

	* acinclude.m4 (sim-bswap): Delete.
	* configure: Regenerate.
	* Make-common.in (SIM_BSWAP): Delete.
	(CONFIG_CFLAGS): Delete $(SIM_BSWAP).
	* sim-config.h (htonl, ntohl): Delete.
	(WITH_BSWAP): Delete.

240
241
242
243
244
245
2016-01-03  Mike Frysinger  <vapier@gentoo.org>

	* sim-options.c (sim_parse_args): Declare local save_opterr.  Save
	opterr state to it before calling getopt_long and restore afterwards.
	Set opterr to 0.  When optc is '?', call sim_io_eprintf.

246
247
248
249
250
2016-01-03  Mike Frysinger  <vapier@gentoo.org>

	* hw-device.h (device): Delete commented typedef.
	* sim-basics.h (device): Delete typedef.

251
252
253
254
255
2016-01-03  Mike Frysinger  <vapier@gentoo.org>

	* sim-options.c (sim_parse_args): Replace for loop with a call
	to countargv.

Mike Frysinger's avatar
Mike Frysinger committed
256
257
258
259
260
261
2016-01-03  Mike Frysinger  <vapier@gentoo.org>

	* nrun.c (myname): Mark const.
	(main): Mark name const.  Replace myname parsing loop with a
	call to lbasename.

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

	(CONFIG_CFLAGS): Delte $(SIM_HOSTENDIAN).
	* acinclude.m4 (SIM_AC_COMMON): Call AC_C_BIGENDIAN.
	(SIM_AC_OPTION_HOSTENDIAN): Delete.
	* config.in, configure: Regenerate.
	* Make-common.in (SIM_HOSTENDIAN): Delete.
	* sim-config.c (current_host_byte_order): Delete.
	(sim_config): Delete current_host_byte_order assignments and
	CURRENT_HOST_BYTE_ORDER checks.
	(print_sim_config): Change WITH_HOST_BYTE_ORDER to HOST_BYTE_ORDER.
	* sim-config.h (WITH_HOST_BYTE_ORDER): Change to ...
	(HOST_BYTE_ORDER): ... this.  Define based on WORDS_BIGENDIAN.
	(current_host_byte_order): Delete.
	(CURRENT_HOST_BYTE_ORDER): Likewise.
	* sim-endian.c (WITH_HOST_BYTE_ORDER): Rename to ...
	(HOST_BYTE_ORDER): ... this.
	(sim_endian_split_16): Change WITH_HOST_BYTE_ORDER to
	HOST_BYTE_ORDER.
	(sim_endian_join_16): Likewise.
	* sim-n-core.h (sim_core_read_misaligned_N): Change
	CURRENT_HOST_BYTE_ORDER to HOST_BYTE_ORDER.
	(sim_core_write_misaligned_N): Likewise.
	* sim-n-endian.h (endian_t2h_N): Likewise.
	(endian_h2t_N, endian_h2be_N, endian_be2h_N, endian_h2le_N,
	endian_le2h_N): Likewise.
	(offset_N): Change WITH_HOST_BYTE_ORDER to HOST_BYTE_ORDER.

Mike Frysinger's avatar
Mike Frysinger committed
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
2016-01-02  Mike Frysinger  <vapier@gentoo.org>

	* acinclude.m4 (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to
	BFD_ENDIAN_BIG, LITTLE_ENDIAN to BFD_ENDIAN_LITTLE, and 0 to
	BFD_ENDIAN_UNKNOWN.
	(SIM_AC_OPTION_HOSTENDIAN): Likewise.
	* cgen-ops.h (SUBWORDXFSI): Change BIG_ENDIAN to BFD_ENDIAN_BIG.
	(SUBWORDTFSI, JOINSIDF, JOINSIXF, JOINSITF): Likewise.
	* nrun.c (main): Likewise.
	* sim-config.c (current_host_byte_order): Change type to enum
	bfd_endian.  Initialize to BFD_ENDIAN_UNKNOWN.
	(current_target_byte_order): Likewise.
	(config_byte_order_to_a): Likewise.  Change BIG_ENDIAN to
	BFD_ENDIAN_BIG, LITTLE_ENDIAN to BFD_ENDIAN_LITTLE, and 0 to
	BFD_ENDIAN_UNKNOWN.
	(sim_config): Change prefered_target_byte_order type to enum
	bfd_endian.  Change BIG_ENDIAN to BFD_ENDIAN_BIG, LITTLE_ENDIAN
	to BFD_ENDIAN_LITTLE, and 0 to BFD_ENDIAN_UNKNOWN.
	* sim-config.h: Change BIG_ENDIAN to BFD_ENDIAN_BIG, LITTLE_ENDIAN
	to BFD_ENDIAN_LITTLE, and 0 to BFD_ENDIAN_UNKNOWN.
	Delete all the various arch/OS endian includes & defines.
	(current_host_byte_order): Change type to enum bfd_endian.
	(current_target_byte_order): Likewise.
	(CURRENT_HOST_BYTE_ORDER): Compare to BFD_ENDIAN_UNKNOWN, not 0.
	(CURRENT_TARGET_BYTE_ORDER): Likewise.
	* sim-endian.c: Change LITTLE_ENDIAN to BFD_ENDIAN_LITTLE.
	* sim-events.c (sim_events_watch_sim): Change BIG_ENDIAN to
	BFD_ENDIAN_BIG, LITTLE_ENDIAN to BFD_ENDIAN_LITTLE, and 0 to
	BFD_ENDIAN_UNKNOWN.
	(sim_events_watch_core): Likewise.
	* sim-events.h: Likewise.
	* sim-n-core.h (sim_core_read_misaligned_N): Change BIG_ENDIAN to
	BFD_ENDIAN_BIG.
	(sim_core_write_misaligned_N): Likewise.
	* sim-n-endian.h (endian_h2be_N): Likewise.
	(endian_be2h_N): Likewise.
	(endian_h2le_N): Change LITTLE_ENDIAN to BFD_ENDIAN_LITTLE.
	(offset_N): Likewise.
	* sim-options.c (standard_option_handler): Change LITTLE_ENDIAN to
	BFD_ENDIAN_LITTLE and BIG_ENDIAN to BFD_ENDIAN_BIG.

331
332
333
334
335
336
2016-01-02  Mike Frysinger  <vapier@gentoo.org>

	* cgen-defs.h (current_state): Delete.
	* sim-base.h (CURRENT_STATE_REG, CURRENT_STATE): Delete.
	* sim-utils.c (current_state): Delete.

337
338
339
340
341
2015-12-30  Mike Frysinger  <vapier@gentoo.org>

	* sim-module.c (sim_pre_argv_init): Change STATE_MY_NAME assignment
	to use lbasename.

Mike Frysinger's avatar
Mike Frysinger committed
342
343
344
345
2015-12-27  Mike Frysinger  <vapier@gentoo.org>

	* Makefile.in (SIM_NEW_COMMON_OBJS): Add sim-hload.o.

346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
2015-12-26  Mike Frysinger  <vapier@gentoo.org>

	* acinclude.m4 (AH_BOTTOM): Delete tconfig.h appending.
	* config.in, configure: Regenerate.
	* Make-common.in (sim-basics_h): Delete tconfig.h.
	(distclean): Likewise.
	* sim-core.c (device_io_read_buffer, device_io_write_buffer): Delete.
	(new_sim_core_mapping): Delete WITH_HW and device *device.
	(sim_core_map_attach, sim_core_attach): Likewise.
	(sim_core_read_buffer): Delete WITH_DEVICES logic.
	(sim_core_write_buffer): Likewise.
	* sim-core.h (struct _sim_core_mapping): Delete WITH_HW and device
	*device.
	(sim_core_attach): Likewise.
	(device_io_read_buffer, device_io_write_buffer): Delete.
	* sim-n-core.h (sim_core_read_aligned_N): Delete WITH_DEVICES logic.
	(sim_core_write_aligned_N): Likewise.
	* tconfig.h: Delete file.

365
366
367
368
369
370
371
2015-12-26  Mike Frysinger  <vapier@gentoo.org>

	* sim-core.c (sim_core_read_buffer): Move cia decl to top of func.
	Call sim_cpu_hw_io_read_buffer if cpu is valid.
	(sim_core_write_buffer): Move cia decl to top of func.  Call
	sim_cpu_hw_io_write_buffer if cpu is valid.

372
373
374
375
376
377
378
379
2015-12-25  Mike Frysinger  <vapier@gentoo.org>

	* hw-properties.c (hw_find_ihandle_runtime_property): Delete
	HW_TRACE call.
	(hw_find_integer_property): Likewise.
	(hw_find_integer_array_property): Likewise.
	(hw_add_duplicate_property): Likewise.

Mike Frysinger's avatar
Mike Frysinger committed
380
381
382
383
384
2015-12-25  Mike Frysinger  <vapier@gentoo.org>

	* sim-config.h (WITH_ENGINE): Delete.
	* sim-module.c (modules): Always include sim_engine_install.

385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
2015-12-25  Mike Frysinger  <vapier@gentoo.org>

	* Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-model.o.
	* cgen-types.h (SIM_HAVE_MODEL): Delete.
	* sim-base.h: Always include sim-model.h.
	* sim-config.h (WITH_DEFAULT_MODEL): Delete.
	* sim-cpu.h (sim_cpu_base): Always declare mach/model members.
	* sim-model.c (sim_model_init): Return when !WITH_MODEL_P.
	[!WITH_MODEL_P] (sim_machs): Define.
	* sim-model.h: Add some developer docs.
	[!WITH_DEFAULT_MODEL] (mach_attr, WITH_DEFAULT_MODEL): Define.
	(WITH_MODEL_P): Define.
	* sim-module.c (modules): Always include sim_model_install.
	* sim-profile.h (WITH_PROFILE_MODEL_P): Delete.

400
401
402
403
404
405
406
2015-12-25  Mike Frysinger  <vapier@gentoo.org>

	* sim-cpu.h: Rename MACH to SIM_MACH and MODEL to SIM_MODEL.
	* sim-model.c: Likewise.
	* sim-model.h: Likewise.  Rename MACH_IMP_PROPERTIES to
	SIM_MACH_IMP_PROPERTIES

Mike Frysinger's avatar
Mike Frysinger committed
407
408
409
410
411
412
413
414
415
416
2015-12-25  Mike Frysinger  <vapier@gentoo.org>

	* sim-core.c (device_error): Delete.
	(sim_core_map_attach): Delete calls to device_error.
	(sim_core_attach): Likewise.
	* sim-core.h (device_error): Delete.
	* sim-n-core.h (sim_core_read_aligned_N): Change device_error call
	to sim_engine_abort.
	(sim_core_write_aligned_N): Likewise.

417
418
419
420
421
422
423
2015-12-25  Mike Frysinger  <vapier@gentoo.org>

	* sim-config.h (WITH_CALLBACK_MEMORY): Delete.
	* sim-core.c (sim_core_write_buffer): Likewise.
	* sim-n-core.h (sim_core_read_aligned_N): Likewise.
	(sim_core_write_aligned_N): Likewise.

424
425
426
427
428
2015-12-25  Mike Frysinger  <vapier@gentoo.org>

	* dv-pal.c: Include config.h and sim-main.h.
	(hw_pal_io_read_buffer): Always call CPU_INDEX.

429
430
431
432
433
434
2015-12-24  Mike Frysinger  <vapier@gentoo.org>

	* sim-options.c (standard_options): Always enable load-lma and
	load-vma options.
	(standard_install): Always set STATE_LOAD_AT_LMA_P(sd) to 1.

435
436
437
438
2015-12-24  Mike Frysinger  <vapier@gentoo.org>

	* sim-module.c (MODULE_LIST): Delete.

439
440
441
442
443
444
445
2015-12-24  Mike Frysinger  <vapier@gentoo.org>

	* sim-options.c (OPTION_H8300H, OPTION_H8300S, OPTION_H8300SX):
	Move to h8300/compile.c.
	[SIM_H8300] (standard_options): Likewise.
	(standard_option_handler): Likewise.

446
447
448
449
450
2015-12-24  Mike Frysinger  <vapier@gentoo.org>

	* sim-module.c [WITH_WATCHPOINTS] (modules): Always call
	sim_watchpoint_install.

451
452
453
454
455
456
457
458
459
2015-12-24  Mike Frysinger  <vapier@gentoo.org>

	* sim-base.h [SIM_HAVE_FLATMEM] (sim_state_base): Delete flatmem code.
	* sim-module.c [SIM_HAVE_FLATMEM] (modules): Always call
	sim_memopt_install.
	* sim-options.c (OPTION_MEM_SIZE): Delete.
	[SIM_HAVE_FLATMEM] (standard_options): Delete flatmem code.
	(standard_option_handler): Likewise.

Mike Frysinger's avatar
Mike Frysinger committed
460
461
462
463
2015-12-24  Mike Frysinger  <vapier@gentoo.org>

	* tconfig.h (SIM_HAVE_SIMCACHE): Delete.

464
465
466
467
468
2015-11-21  Mike Frysinger  <vapier@gentoo.org>

	PR sim/18762
	* Makefile.in (CPPFLAGS, CXXFLAGS, LDFLAGS): Define.

469
470
471
472
473
474
2015-11-21  Mike Frysinger  <vapier@gentoo.org>

	PR sim/19273
	* sim-utils.c (sim_do_commandf): Declare ret.  Call va_start,
	vasprintf, and va_end together.  Check ret after va_end call.

475
476
477
478
479
480
481
482
2015-11-21  Mike Frysinger  <vapier@gentoo.org>

	* sim-types.h (SIM_PRI_TB): Define.
	(PRI_TW, PRIiTW, PRIxTW): New PRI target word defines.
	(PRI_TA, PRIiTA, PRIxTA): New PRI target address defines.
	(PRI_TC, PRIiTC, PRIxTC): New PRI target cell defines.
	(PRI_TF, PRIiTF, PRIxTF): New PRI target floating point defines.

483
484
485
486
487
488
489
490
2015-11-17  Mike Frysinger  <vapier@gentoo.org>

	* sim-main.h (WITH_MODULO_MEMORY): Delete.
	* sim-core.c (new_sim_core_mapping): Always assign mask to modulo-1.
	(sim_core_attach): Delete WITH_MODULO_MEMORY == 0 logic.
	(sim_core_translate): Likewise.
	* sim-core.h: Delete mention of WITH_MODULO_MEMORY.

491
492
493
494
495
2015-11-16  Mike Frysinger  <vapier@gentoo.org>

	* sim-close.c (__cgen_cpu_close, _cgen_cpu_close): Delete.
	(cgen_cpu_close): Change to XCONCAT2.

496
497
498
499
500
2015-11-15  Mike Frysinger  <vapier@gentoo.org>

	* Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-reason.o, sim-reg.o,
	and sim-stop.o.

501
502
503
504
505
2015-11-14  Mike Frysinger  <vapier@gentoo.org>

	* Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-close.o
	* sim-close.c: New file.

506
507
508
509
510
511
512
2015-09-25  Andrew Bennett  <andrew.bennett@imgtec.com>
	    Ali Lown  <ali.lown@imgtec.com>

	* sim-bits.h (EXTEND6): New macro.
	(EXTEND12): New macro.
	(EXTEND25): New macro.

513
514
515
516
517
2015-06-24  Mike Frysinger  <vapier@gentoo.org>

	* sim-trace.c (trace_one_insn): Delete.
	* sim-trace.h (trace_one_insn): Delete.

518
519
520
521
522
523
524
525
2015-06-24  Mike Frysinger  <vapier@gentoo.org>

	* sim-trace.c (debug_printf): Rename to ...
	(sim_debug_printf): ... this.
	* sim-trace.h (debug_printf): Delete define.
	(debug_printf): Rename to ...
	(sim_debug_printf): ... this.

526
527
528
529
530
531
532
533
534
535
2015-06-24  Mike Frysinger  <vapier@gentoo.org>

	* sim-trace.c (OPTION_TRACE_REGISTER): New enum.
	(trace_options): Add trace-register option.
	(trace_option_handler): Handle OPTION_TRACE_REGISTER case.
	(trace_idx_to_str): Handle TRACE_REGISTER_IDX case and re-indent.
	* sim-trace.h (TRACE_REGISTER_IDX): New enum.
	(TRACE_register, WITH_TRACE_REGISTER_P, STRACE_REGISTER_P,
	TRACE_REGISTER_P, TRACE_REGISTER): Define.

536
537
538
539
540
541
542
2015-06-24  Mike Frysinger  <vapier@gentoo.org>

	* sim-trace.h (STRACE, STRACE_INSN, STRACE_DECODE, STRACE_EXTRACT,
	STRACE_LINENUM, STRACE_MEMORY, STRACE_MODEL, STRACE_ALU, STRACE_CORE,
	STRACE_EVENTS, STRACE_FPU, STRACE_VPU, STRACE_BRANCH, STRACE_SYSCALL,
	STRACE_DEBUG): Define.

543
544
545
546
547
548
549
2015-06-24  Mike Frysinger  <vapier@gentoo.org>

	* sim-trace.c (trace_options): Update help text for trace-alu,
	trace-fpu, trace-vpu, and trace-semantics.
	* sim-trace.h (TRACE_ALU_IDX): Update comment text.
	(TRACE_FPU_IDX, TRACE_VPU_IDX): Likewise.

550
551
552
553
554
555
556
557
558
559
2015-06-24  Mike Frysinger  <vapier@gentoo.org>

	* sim-assert.h (SIM_FILTER_PATH): Delete.
	[!SIM_ASSERT, WITH_ASSERT]: Include libiberty.h.
	(SIM_ASSERT): Replace SIM_FILTER_PATH with lbasename.
	[!ASSERT, WITH_ASSERT]: Include libiberty.h.
	(ASSERT): Replace SIM_FILTER_PATH with lbasename.
	* sim-events.c: Include libiberty.h.
	(ETRACE): Replace SIM_FILTER_PATH with lbasename.

560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
2015-06-23  Mike Frysinger  <vapier@gentoo.org>

	* acinclude.m4 (AC_ARG_ENABLE(sim-bswap)): Call AS_HELP_STRING.
	(AC_ARG_ENABLE(sim-cflags)): Likewise.
	(AC_ARG_ENABLE(sim-debug)): Likewise.
	(AC_ARG_ENABLE(sim-stdio)): Likewise.
	(AC_ARG_ENABLE(sim-trace)): Likewise.
	(AC_ARG_ENABLE(sim-profile)): Likewise.
	(AC_ARG_ENABLE(sim-environment)): Likewise.
	(AC_ARG_ENABLE(sim-alignment)): Likewise.
	(AC_ARG_ENABLE(sim-assert)): Likewise.
	(AC_ARG_ENABLE(sim-bitsize)): Likewise.
	(AC_ARG_ENABLE(sim-endian)): Likewise.
	(AC_ARG_ENABLE(sim-hostendian)): Likewise.
	(AC_ARG_ENABLE(sim-float)): Likewise.
	(AC_ARG_ENABLE(sim-scache)): Likewise.
	(AC_ARG_ENABLE(sim-default-model)): Likewise.
	(AC_ARG_ENABLE(sim-inline)): Likewise.
	(AC_ARG_ENABLE(sim-packages)): Likewise.
	(AC_ARG_ENABLE(sim-regparm)): Likewise.
	(AC_ARG_ENABLE(sim-reserved-bits)): Likewise.
	(AC_ARG_ENABLE(sim-smp)): Likewise.
	(AC_ARG_ENABLE(sim-stdcall)): Likewise.
	(AC_ARG_ENABLE(sim-xor-endian)): Likewise.
	(AC_ARG_ENABLE(cgen-maint)): Likewise.
	* configure: Regenerate.

587
588
589
590
2015-06-23  Mike Frysinger  <vapier@gentoo.org>

	* sim-config.h (WITH_TRACE): Define to ~TRACE_debug.

591
592
593
594
595
2015-06-23  Mike Frysinger  <vapier@gentoo.org>

	* cgen-trace.c [!__STDC__]: Delete.
	* sim-trace.h [!__STDC__]: Likewise.

596
597
598
599
2015-06-21  Mike Frysinger  <vapier@gentoo.org>

	* sim-model.c (sim_model_init): Assert model is not NULL.

600
601
602
603
604
605
2015-06-21  Mike Frysinger  <vapier@gentoo.org>

	* sim-types.h: Move SIM_TYPES_H define to top of file.  Include
	stdint.h.  Replace all signed/unsigned typedefs with int#_t and
	uint#_t.

606
607
608
609
610
611
612
613
614
615
616
617
618
2015-06-21  Mike Frysinger  <vapier@gentoo.org>

	* sim-alu.h (_SIM_ALU_H_): Rename to ...
	(SIM_ALU_H): ... this.
	* sim-assert.h (_SIM_ASSERT_H_): Rename to ...
	(SIM_ASSERT_H): ... this.
	* sim-basics.h (_SIM_BASICS_H_): Rename to ...
	(SIM_BASICS_H): ... this.
	* sim-bits.h (_SIM_BITS_H_): Rename to ...
	(SIM_BITS_H): ... this.
	* sim-endian.h (_SIM_ENDIAN_H_): Rename to ...
	(SIM_ENDIAN_H): ... this.

619
620
621
622
623
2015-06-18  Mike Frysinger  <vapier@gentoo.org>

	* sim-syscall.c (sim_syscall_multi): Change unknown_syscall to a
	constant string.

624
625
626
627
628
2015-06-18  Mike Frysinger  <vapier@gentoo.org>

	* callback.c (cb_target_map_entry, cb_host_map_entry): Change map to
	m for sentinel testing.

629
630
631
632
633
634
635
2015-06-17  Mike Frysinger  <vapier@gentoo.org>

	* sim-syscall.c: Include errno.h and targ-vals.h.
	(sim_syscall_multi, sim_syscall): Define.
	* sim-syscall.h (sim_syscall_multi, sim_syscall): Declare.
	* syscall.c (cb_syscall): Extend comment.

636
637
638
639
640
641
2015-06-17  Mike Frysinger  <vapier@gentoo.org>

	* Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-syscall.o.
	* sim-syscall.c: New file.
	* sim-syscall.h: New file.

642
643
644
645
646
647
648
649
650
651
2015-06-17  Mike Frysinger  <vapier@gentoo.org>

	* callback.c (cb_target_map_entry, cb_host_map_entry): Define.
	(cb_target_to_host_syscall): Rewrite to use cb_target_map_entry.
	(cb_host_to_target_errno): Rewrite to use cb_host_map_entry.
	(cb_host_str_syscall, cb_host_str_errno, cb_host_str_signal,
	cb_target_str_syscall, cb_target_str_errno, cb_target_str_signal):
	Define.
	* gentmap.c (gen_targ_map_c): Output name field.

652
653
654
655
656
2015-06-12  Mike Frysinger  <vapier@gentoo.org>

	* acinclude.m4: Change configure.in to configure.ac.
	* sim-config.h: Likewise.

657
658
659
660
661
2015-06-12  Mike Frysinger  <vapier@gentoo.org>

	* acinclude.m4 (sim-trace): Delete -DTRACE flags.
	* configure: Regenerate.

662
663
664
665
666
667
668
2015-06-12  Mike Frysinger  <vapier@gentoo.org>

	* sim-trace.h (TRACE, TRACE_INSN, TRACE_DECODE, TRACE_EXTRACT,
	TRACE_LINENUM, TRACE_MEMORY, TRACE_MODEL, TRACE_ALU, TRACE_CORE,
	TRACE_EVENTS, TRACE_FPU, TRACE_VPU, TRACE_BRANCH, TRACE_SYSCALL,
	TRACE_DEBUG): Define.

669
670
671
672
673
674
675
676
2015-06-12  Mike Frysinger  <vapier@gentoo.org>

	* sim-module.c (modules): Change WITH_TRACE to WITH_TRACE_ANY_P.
	* sim-trace.c (trace_option_handler): Likewise.
	* sim-trace.h (WITH_TRACE_ANY_P): Define.
	(STRACE_ANY_P): Use WITH_TRACE_ANY_P.
	(TRACE_ANY_P): Likewise.

677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
2015-06-12  Mike Frysinger  <vapier@gentoo.org>

	* cgen-run.c (sim_resume): Rename TRACE_INSN_FINI to
	CGEN_TRACE_INSN_FINI.
	* cgen-trace.c: Rename trace_insn to cgen_trace_insn,
	trace_result to cgen_trace_result, trace_insn_fini to
	cgen_trace_insn_fini, trace_insn_init to cgen_trace_insn_init,
	and trace_extract to cgen_trace_extract.
	* cgen-trace.h (trace_insn_init): Rename to ...
	(cgen_trace_insn_init): ... this.
	(trace_insn_fini): Rename to ...
	(cgen_trace_insn_fini): ... this.
	(trace_insn): Rename to ...
	(cgen_trace_insn): ... this.
	(trace_extract): Rename to ...
	(cgen_trace_extract): ... this.
	(trace_result): Rename to ...
	(cgen_trace_result): ... this.
	(TRACE_RESULT_P): Rename to ...
	(CGEN_TRACE_RESULT_P): ... this.
	(TRACE_INSN_INIT): Rename to ...
	(CGEN_TRACE_INSN_INIT): ... this.  Change trace_insn_init to
	cgen_trace_insn_init.
	(TRACE_INSN_FINI): Rename to ...
	(CGEN_TRACE_INSN_FINI): ... this.  Change trace_insn_fini to
	cgen_trace_insn_fini.
	(TRACE_PRINTF): Rename to ...
	(CGEN_TRACE_PRINTF): ... this.
	(TRACE_INSN): Rename to ...
	(CGEN_TRACE_INSN): ... this.  Change trace_insn to cgen_trace_insn.
	(TRACE_EXTRACT): Rename to ...
	(CGEN_TRACE_EXTRACT): ... this.  Change trace_extract to
	cgen_trace_extract.
	(TRACE_RESULT): Rename to ...
	(CGEN_TRACE_RESULT): ... this.  Change TRACE_RESULT_P to
	CGEN_TRACE_RESULT_P and trace_result to cgen_trace_result.
	* genmloop.sh (@prefix@_pbb_before): Change TRACE_INSN_FINI to
	CGEN_TRACE_INSN_FINI, TRACE_INSN_INIT to CGEN_TRACE_INSN_INIT, and
	TRACE_INSN to CGEN_TRACE_INSN.
	(@prefix@_pbb_after): Change TRACE_INSN_FINI to CGEN_TRACE_INSN_FINI.

718
719
720
721
722
723
724
725
726
2015-06-11  Mike Frysinger  <vapier@gentoo.org>

	* sim-events.c (ETRACE_P): Delete.
	(ETRACE): Change ETRACE_P to STRACE_EVENTS_P(sd).
	(update_time_from_event, sim_events_schedule_vtracef): Likewise.
	* sim-events.h (struct _sim_events): Delete trace member.
	* sim-trace.c (set_trace_option_mask): Delete trace_nr check and
	always set STATE_TRACE_FLAGS(sd)[trace_nr] element.

727
728
729
730
731
732
733
2015-06-11  Mike Frysinger  <vapier@gentoo.org>

	* sim-trace.h (STRACE_ANY_P, STRACE_INSN_P, STRACE_DECODE_P,
	STRACE_EXTRACT_P, STRACE_LINENUM_P, STRACE_MEMORY_P, STRACE_MODEL_P,
	STRACE_ALU_P, STRACE_CORE_P, STRACE_EVENTS_P, STRACE_FPU_P,
	STRACE_VPU_P, STRACE_BRANCH_P, STRACE_SYSCALL_P): Define.

734
735
736
737
2015-06-11  Mike Frysinger  <vapier@gentoo.org>

	* sim-trace.h (TRACE_USEFUL_MASK): Change to TRACE_xxx defines.

738
739
740
741
742
743
744
745
746
747
748
2015-06-11  Mike Frysinger  <vapier@gentoo.org>

	* sim-trace.h (WITH_TRACE_P): New define.
	(WITH_TRACE_INSN_P, WITH_TRACE_DECODE_P, WITH_TRACE_EXTRACT_P,
	WITH_TRACE_LINENUM_P, WITH_TRACE_MEMORY_P, WITH_TRACE_MODEL_P,
	WITH_TRACE_ALU_P, WITH_TRACE_CORE_P, WITH_TRACE_EVENTS_P,
	WITH_TRACE_FPU_P, WITH_TRACE_VPU_P, WITH_TRACE_BRANCH_P,
	WITH_TRACE_SYSCALL_P, WITH_TRACE_DEBUG_P, STRACE_P, TRACE_P):
	Redefine to use WITH_TRACE_P.

2015-06-09  Mike Stump  <mrs@mrs.kithrup.com>
749
750
751
752

	* sim-events.c (sim_events_schedule_after_signal): Fix spelling
	mistake in call to sim_engine_abort.

753
754
755
756
757
758
2015-04-29  Nick Clifton  <nickc@redhat.com>

	PR 18273
	* sim-fpu.c (INLINE_SIM_FPU): Fix static analysis warning by
	increasing parenthesis around casts to signed values.

759
760
761
762
763
2015-04-21  Mike Frysinger  <vapier@gentoo.org>

	* gennltvals.sh: Add mcore support.
	* nltvals.def: Regenerate.

764
765
766
767
768
769
770
771
2015-04-21  Mike Frysinger  <vapier@gentoo.org>

	* cgen.sh: Add +x permissions.
	* genmloop.sh: Likewise.
	* gentvals.sh: Likewise.
	* gennltvals.sh (newlibroot): New variable to hold the path to newlib.
	Change all uses of srcroot for newlib to newlibroot.

Mike Frysinger's avatar
Mike Frysinger committed
772
773
774
775
2015-04-18  Mike Frysinger  <vapier@gentoo.org>

	* sim-base.h (SIM_CPU): New typedef.

Mike Frysinger's avatar
Mike Frysinger committed
776
777
778
779
780
781
2015-04-18  Mike Frysinger  <vapier@gentoo.org>

	* cgen-engine.h (CIA_ADDR): Delete.
	* sim-base.h: Update sim_cia example.
	[!CIA_ADDR] (sim_cia): New typedef.

782
783
784
785
786
787
788
789
2015-04-17  Mike Frysinger  <vapier@gentoo.org>

	* cgen-utils.c (cgen_rtx_error): Change CIA_GET to CPU_PC_GET.
	* sim-core.c (sim_core_read_buffer, sim_core_write_buffer): Likewise.
	* sim-engine.h (SIM_ENGINE_HALT_HOOK): Change CIA_SET to CPU_PC_SET.
	* sim-run.c (sim_engine_run): Change CIA_GET to CPU_PC_GET and
	CIA_SET to CPU_PC_SET.

Mike Frysinger's avatar
Mike Frysinger committed
790
791
792
793
794
2015-04-15  Mike Frysinger  <vapier@gentoo.org>

	* Makefile.in (SIM_NEW_COMMON_OBJS): Add sim-cpu.o.
	* sim-main.h (STATE_CPU): Remove from comment and define.

795
796
797
798
799
2015-04-13  Mike Frysinger  <vapier@gentoo.org>

	* acinclude.m4 (ACX_PKGVERSION): Change GDB to SIM.
	* configure: Regenerate.

800
801
802
803
804
805
806
2015-04-13  Mike Frysinger  <vapier@gentoo.org>

	* sim-options.c: Include version.h.
	(OPTIONS_VERSION): New enum.
	(standard_options): Add "version".
	(standard_option_handler): Handle OPTIONS_VERSION.

807
808
809
810
811
2015-04-13  Mike Frysinger  <vapier@gentoo.org>

	* Makefile.in (version.o): Change to using create-version.sh from gdb.
	(create-version.sh): Delete.

812
813
814
815
2015-04-06  Mike Frysinger  <vapier@gentoo.org>

	* Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-engine.o and sim-hrw.o.

Mike Frysinger's avatar
Mike Frysinger committed
816
817
818
819
820
2015-04-01  Mike Frysinger  <vapier@gentoo.org>

	* run-sim.h, run.c: Delete.
	* tconfig.h (SIM_HAVE_PROFILE, SIM_HAVE_BIENDIAN): Delete.

Mike Frysinger's avatar
Mike Frysinger committed
821
822
823
824
825
826
827
2015-03-31  Mike Frysinger  <vapier@gentoo.org>

	* config.in, configure: Regenerate.
	* Make-common.in (CSEARCH): Add $(ZLIBINC).
	(ZLIB, ZLIBINC): Define.
	(BFD_LIB): Add $(ZLIB).

828
829
830
831
832
2015-03-31  Mike Frysinger  <vapier@gentoo.org>

	* cgen-mem.h (MEMOPS_INLINE): Change to EXTERN_INLINE.
	* cgen-ops.h (SEMOPS_INLINE): Likewise.

833
834
835
836
837
838
2015-03-29  Mike Frysinger  <vapier@gentoo.org>

	* sim-arange.h (SIM_ARANGE_INLINE): Move above sim_addr_range_hit_p.
	(sim_addr_range_hit_p): Change INLINE to SIM_ARANGE_INLINE.
	* sim-inline.h (INLINE2): Define to gnu_inline when available.

839
840
841
842
843
844
845
2015-03-24  Mike Frysinger  <vapier@gentoo.org>

	* sim-profile.c (profile_pc_event): Get pc via sim_pc_get.  Delete
	usage of STATE_WATCHPOINTS.
	(profile_pc_init): Delete STATE_WATCHPOINTS (sd)->pc check.  Change
	STATE_WATCHPOINTS (sd)->sizeof_pc to sizeof (sim_cia).

846
847
848
849
2015-03-24  Mike Frysinger  <vapier@gentoo.org>

	* tconfig.h: Note SIM_HAVE_PROFILE is deprecated.

850
851
852
853
2015-03-24  Mike Frysinger  <vapier@gentoo.org>

	* tconfig.h: Note SIM_HAVE_BIENDIAN is deprecated.

854
855
856
857
858
2015-03-24  Mike Frysinger  <vapier@gentoo.org>

	* acinclude.m4 (SIM_AC_OPTION_HARDWARE): Move default option setting
	of enable_sim_hardware to AC_ARG_ENABLE.

859
860
861
862
863
2015-03-23  Mike Frysinger  <vapier@gentoo.org>

	* acinclude.m4 (SIM_AC_OPTION_HARDWARE): Delete SIM_DV_SOCKSER_O.
	Add dv-sockser.o to sim_hw_objs.

864
865
866
867
868
869
870
871
2015-03-23  Mike Frysinger  <vapier@gentoo.org>

	* dv-sockser.c: Include config.h.
	* dv-sockser.h: Include sim-inline.h.
	[HAVE_DV_SOCKSER]: Move all prototypes here.
	[!HAVE_DV_SOCKSER] (dv_sockser_status, dv_sockser_write,
	dv_sockser_write_buffer, dv_sockser_read): New stub functions.

872
873
874
875
2015-03-16  Mike Frysinger  <vapier@gentoo.org>

	* gentmap.c, run.c: Convert old style prototypes.

876
877
878
879
880
881
882
883
884
2015-03-16  Mike Frysinger  <vapier@gentoo.org>

	* acinclude.m4 (SIM_AC_COMMON): Call AH_BOTTOM.  Delete logic for
	symlinking tconfig.h to tconfig.in.
	* config.in, configure: Regenerate.
	* nrun.c, run.c, sim-basics.h: Delete tconfig.h include.
	* tconfig.in: Rename file ...
	* tconfig.h: ... here.

885
886
887
888
889
890
891
892
2015-03-15  Mike Frysinger  <vapier@gentoo.org>

	* dv-socker.h (dv_sockser_install): Declare.
	* sim-module.c: Include config.h.
	[HAVE_DV_SOCKSER]: Include dv-sockser.h.
	(modules) [HAVE_DV_SOCKSER]: Add dv_sockser_install.
	* sim-module.h: Include gdb/remote-sim.h.

893
894
895
896
897
2015-03-14  Mike Frysinger  <vapier@gentoo.org>

	* Make-common.in (BUILT_SRC_FROM_COMMON): Delete.
	(sim-inline.c): Delete rule.

898
899
900
901
902
903
2015-03-14  Mike Frysinger  <vapier@gentoo.org>

	* Make-common.in (SIM_RUN_OBJS): Change to nrun.o.
	* run.c [SIM_USE_DEPRECATED_RUN_FRONTEND]: Issue a warning.
	[!SIM_USE_DEPRECATED_RUN_FRONTEND]: Throw an error.

904
905
906
907
908
909
2015-03-14  Mike Frysinger  <vapier@gentoo.org>

	* sim-assert.h [!SIM_ASSERT, WITH_ASSERT]: Include sim-io.h.
	[!ASSERT, WITH_ASSERT]: Likewise.
	* sim-endian.c: Delete sim-io.h include.

910
911
912
913
2015-02-19  Mike Frysinger  <vapier@gentoo.org>

	* run-sim.h (sim_kill): Delete unused prototype.

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

916
917
918
919
920
921
	* gentmap.c: Include "string.h".

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

	* sim-options.c (sim_args_command): Call freeargv() when failure
	occurs.
922

923
924
925
926
2015-01-07  Joel Brobecker  <brobecker@adacore.com>

	* aclocal.m4, configure: Regenerate using automake 1.11.1.

927
928
929
930
931
932
933
934
2014-12-03  Joel Brobecker  <brobecker@adacore.com>

	* sim-io.c (sim_io_stat, sim_io_fstat): Adjust calls to "stat"
	and "fstat" callbacks by calls to "to_stat" and "to_fstat" (resp)
	callbacks following renaming in callback.h.
	* syscall.c (cb_syscall): Likewise.  Adjust calls to "lstat"
	callback by call to "to_lstat" callback

935
936
937
938
2014-08-28  Gary Benson  <gbenson@redhat.com>

	* sim-trace.h (debug_printf): New define.

939
940
941
942
2014-08-19  Alan Modra  <amodra@gmail.com>

	* configure: Regenerate.

Roland McGrath's avatar
Roland McGrath committed
943
944
945
946
947
2014-08-15  Roland McGrath  <mcgrathr@google.com>

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

948
949
950
951
952
953
2014-03-10  Mike Frysinger  <vapier@gentoo.org>

	* sim-command.c (sim_do_command): Add const to cmd.
	* sim-options.c (sim_args_command): Add const to cmd.
	* sim-options.h (sim_args_command): Add const to cmd.

Mike Frysinger's avatar
Mike Frysinger committed
954
955
956
957
958
959
960
961
2014-03-05  Mike Frysinger  <vapier@gentoo.org>

	* sim-hload.c (sim_load): Add const to prog.
	* sim-load.c (sim_load_file): Likewise.
	* sim-utils.c (sim_analyze_program): Likewise.
	* sim-utils.h (sim_analyze_program): Likewise.
	(sim_load_file): Likewise.

962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2014-03-04  Mike Frysinger  <vapier@gentoo.org>

	* acinclude.m4 (build_warnings): Copy from gdb/configure.ac.
	* callback.c (system): Delete unused prototype.
	(os_init): Likewise.
	(os_shutdown): Likewise.
	(os_unlink): Likewise.
	(os_time): Likewise.
	(os_system): Likewise.
	(os_rename): Likewise.
	(os_write_stdout): Likewise.
	(os_flush_stdout): Likewise.
	(os_write_stderr): Likewise.
	(os_flush_stderr): Likewise.
	(os_write): Likewise.
	(os_read_stdin): Likewise.
	(os_read): Likewise.
	(os_open): Likewise.
	(os_lseek): Likewise.
	(os_isatty): Likewise.
	(os_get_errno): Likewise.
	(os_close): Likewise.
	(os_vprintf_filtered): Likewise.
	(os_evprintf_filtered): Likewise.
	(os_error): Likewise.
	(fdmap): Likewise.
	(fdbad): Likewise.
	(wrap): Likewise.
	(wrap): Change to new style prototype.
	(fdbad): Likewise.
	(fdmap): Likewise.
	(os_close): Likewise.
	(os_poll_quit): Likewise.
	(os_get_errno): Likewise.
	(os_isatty): Likewise.
	(os_lseek): Likewise.
	(os_open): Likewise.
	(os_read): Likewise.
	(os_read_stdin): Likewise.
For faster browsing, not all history is shown. View entire blame