* coff-tic80.c (tic80_howto_table): Add PP relocations. Change
[deliverable/binutils-gdb.git] / sim / common / ChangeLog
CommitLineData
6e61ecfc
GRK
1Thu May 22 09:12:16 1997 Gavin Koch <gavin@cygnus.com>
2
3 * sim-engine.c (sim_engine_restart):
4 * sim-resume.c (sim_resume): Change longjmp param/setjmp
5 return value used for simulator restart from 0 to 2.
6
50a2a691
AC
7Wed May 21 08:47:30 1997 Andrew Cagney <cagney@b1.cygnus.com>
8
9 * cgen-scache.c (scache_option_handler): Add is_command arg.
10
11 * sim-model.c (model_option_handler): Add is_command argument.
12
13 * sim-profile.c (profile_option_handler): Add is_command arg.
14
15 * sim-events.c (sim_watch_valid): Use ub64, lb64 when 64bit value
16 involved.
17
18 * sim-module.c (sim_module_add_init_fn): Call init fn in the same
19 order that they are registered.
20
21 * sim-options.h (OPTION_HANDLER): Add argument to differentiate
22 between option and command line processing.
23
24 * sim-options.c: Include stdlib.h, ctype.h.
25
26 * Make-common.in (sim-watch.o): Add rule.
27 (sim_main_headers): Assume sim-assert.h included.
28 (sim-*.o): Simplify make rule.
29
30 * sim-module.c: Add sim_watch_install to module list.
31
32Tue May 20 14:15:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
33
34 * sim-base.h (STATE_LOADED_P): New predicate. Set once everything
35 has been loaded.
36
37 * sim-trace.c (trace_install): Check magic. Include sim-assert.h.
38 * sim-events.c (sim_events_install): Ditto.
39 * sim-core.c (sim_core_install): Ditto.
40 * sim-model.c (model_install): Ditto.
41 * sim-options.c (standard_install): Ditto.
42 * sim-profile.c (profile_install): Ditto.
43 * sim-reason.c (sim_stop_reason): Ditto.
44 * sim-run.c (sim_engine_run): Ditto.
45 * sim-utils.c (sim_analyze_program): Ditto.
46
47 * sim-module.c (modules): Make profile_install and trace_install
48 optional.
49
50 * sim-base.h (STATE_MEM_BASE): Define for flat memory systems.
51
52 * sim-options.c (standard_option_handler): Set the byte order.
53
54 * sim-events.c (sim_events_process): Allow multi tick processing.
55 (sim_events_tickn): New function - multi cycle tick.
56
57 * sim-events.h (sim_events_tickn, sim_events_timewarp): Add
58 prototypes. Under development.
59 (sim_events): Replace processing with nr_ticks_to_process.
60
61Tue May 20 09:39:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
62
63 * nrun.c (main): Pass callbacks to sim_open instead of using
64 sim_set_callbacks.
65
66 * run.c (main): Ditto.
67
f03b093c
AC
68Mon May 19 12:07:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
69
fd76456b
AC
70 * sim-events.c (sim_events_zalloc): Signal save memory allocator -
71 stop tk interrupting malloc calls.
72 (sim_events_zalloc): Converse.
73
74 * Make-common.in (sim_main_headers): Add sim-events.h.
75
76 * sim-events.c (sim_events_schedule_after_signal): Change return
77 type to void - signal events are strictly internal.
78 (sim_events_init): Allocate a finite buffer for signal events.
79 (sim_events_schedule_after_signal): Enter signal events into the
80 signal buffer.
81
82 * sim-engine.c (sim_engine_halt): Check SIM_DESC magic.
83 (sim_engine_restart): Ditto.
84 (sim_engine_abort): Ditto.
85 * sim-stop.c (sim_stop): Ditto.
86 (control_c_simulation): Ditto.
87 * sim-resume.c (sim_resume): Ditto.
88 (has_stepped): Ditto.
89 * sim-abort.c (sim_engine_abort): Ditto.
90
f03b093c
AC
91 * sim-basics.h (transfer_type): New type.
92
93 * sim-core.c (sim_core_signal): New function. Print core signal
94 information.
95 (sim_core_find_mapping): Add transfer argument.
96
97 * sim-n-core.h (sim_core_{write,write}_unaligned_N): Call
98 SIM_CORE_SIGNAL if a recoverable abort.
99 * sim-core.c (sim_core_find_mapping): Ditto.
100
101Fri May 16 15:13:21 1997 Andrew Cagney <cagney@b1.cygnus.com>
102
103 * sim-core.c (sim_core_find_mapping): Replace calls to
104 sim_io_error to more resiliant sim_engine_abort.
105
106 * sim-n-core.h (sim_core_read_unaligned_N): Ditto.
107 (sim_core_write_unaligned_N): Ditto.
108
109Tue May 13 13:50:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
110
111 * sim-module.c: Add sim_events_install to list.
112
113 * sim-events.c (sim_events_install, sim_events_uninstall): Clonse
114 from sim_core_*.
115 (sim_events_init): Now returns SIG_RC.
116
117 * sim-run.c: New file. Generic sim_engine_run.
118 * sim-reason.c: New file. Generic sim_stop_reason.
119 * sim-stop.c: New file. Generic sim_stop.
120 * sim-resume.c: New file. Generic sim_resume.
121
122 * Make-common.in (sim-engine.o): Add rule.
123 (sim-run.o, sim-reason.o, sim-stop.o, sim-resume.o): Ditto.
124
125 * sim-engine.h, sim-engine.c: New file. Provide generic
126 implementation of sim_engine_halt, sim_engine_error. et.al.
127
128 * sim-base.h (sim_state_base): Add member halt.
129 (sim-engine.h): Include.
130
131 * sim-events.h (sim_event_handler): Always pass SIM_DESC to event
132 handlers.
133 * sim-events.c (sim_events_poll): Update event handler.
134
135Tue May 13 09:57:49 1997 Andrew Cagney <cagney@b2.cygnus.com>
136
137 * sim-events.h, sim-events.c (sim_events_watch_clock): New
138 function.
139 (sim_events_watch_sim): New function.
140 (sim_events_watch_core): New function.
141 (sim_watch_valid): New function.
142 (sim_events_preprocess): New function.
143 (sim_events_process): Process the watchpoints as well as the timer
144 queue.
145 (sim_events_tick): Check WORK_PENDING instead of the hold queue.
146 (sim_events_deschedule): Check all the queues when removing an
147 event.
148 (sim_events_init): Ditto for cleaning.
149
150Mon May 19 12:07:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
151
152 * sim-fpu.c (is_ufpu_number): Comment out - currently unused.
153
11ab132f
AC
154Mon May 19 11:23:03 1997 Andrew Cagney <cagney@b1.cygnus.com>
155
156 * callback.c (os_open): Type of arg flags is int.
157
63aa80ff
MM
158Fri May 16 22:26:43 1997 Michael Meissner <meissner@cygnus.com>
159
160 * sim-fpu.c (sim_fpu_is_{eq,ne,lt,le,gt,ge}): Compare Infinities
161 just like normal numbers as per IEEE rules.
162
248c1fb8
JL
163Wed May 14 21:20:38 1997 Bob Manson <manson@charmed.cygnus.com>
164
165 * callback.c (os_close): Mark the descriptor as being
166 available if the close succeeded.
167 (os_open): Pass 0644 as the mode of the file being created.
168
d24f06ee
AC
169Thu May 15 10:58:52 1997 Andrew Cagney <cagney@b1.cygnus.com>
170
07b4c0a6
AC
171 * sim-fpu.c (pack_fpu, unpack_fpu): New functions - decode a
172 float.
173
174 * sim-inline.c (SIM_INLINE_C): Rename from _SIM_INLINE_C_.
175 * sim-lnline.h: Update.
176
177 * sim-fpu.h, sim-fpu.c (sim_fpu_[iu]{32,64}to): New int2fp
d24f06ee 178 conversion functions.
07b4c0a6 179 (sim_fpu_to{32,64}[iu]): New fp2int functions.
d24f06ee
AC
180
181 * sim-fpu.h, sim-fpu.c (sim_fpu_is_{lt,le,eq,ne,ge,gt}): New fp
182 compare functions. Replacing.
183 (sim_fpu_cmp): This. Delete.
184
c445af5a
AC
185Mon May 12 14:49:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
186
187 * sim-core.c (sim_core_find_mapping): Call engine_error not
188 sim_io_error when possible.
189
190Mon May 12 08:55:07 1997 Andrew Cagney <cagney@b2.cygnus.com>
191
192 * sim-endian.h (V1_H2): Add macro's to insert a word into a
193 high/low double word.
194
195 * sim-trace.h: Remove definition of attribute - defined in
196 sim_basics.h.
197
e05e76e8
AC
198Mon May 12 08:55:07 1997 Andrew Cagney <cagney@b1.cygnus.com>
199
200 * sim-options.h (struct OPTION): Add doc_opt as the documenting
201 name of the option - or family of options.
202
203 * sim-options.c (sim_args_command): Match command `a-b c' with
204 option `--a-b-c' from option table.
205
43c53e07
AC
206Thu May 8 12:40:07 1997 Andrew Cagney <cagney@b1.cygnus.com>
207
208 * sim-options.c (sim_print_help): For optional arguments, wrap
209 them in [].
210
211 * sim-trace.c (set_trace_options): New function, handle optional
212 argument and multiple assignment.
213 (trace_option_handler): Update.
214
215 * sim-trace.c (trace_option_handler): Trace branch and not fpu
216 when branch tracing selected.
217
381f42ef
AC
218Wed May 7 15:19:58 1997 Andrew Cagney <cagney@b1.cygnus.com>
219
220 * sim-trace.c (trace_one_insn): Make a va-args function.
221
222 * sim-trace.c (trace_vprintf): New function, va-arg version of
223 trace_printf.
224
ea4e4493
DE
225Tue May 6 16:38:16 1997 Doug Evans <dje@canuck.cygnus.com>
226
227 * sim-trace.c (trace_uninstall): Don't close a file twice.
bd3274c6 228 * sim-profile.c (profile_uninstall): Likewise.
ea4e4493 229
a7724171
MM
230Tue May 6 06:14:01 1997 Mike Meissner <meissner@cygnus.com>
231
232 * sim-trace.c (toplevel): Include bfd.h.
233 (trace_options): Note that --trace-linenum also turns on
7b167b09 234 --trace-insn. Add --trace-{branch,semantics}.
a7724171 235 (trace_option_handler): If --trace-linenum, also turn on
7b167b09
MM
236 --trace-insn. Add --trace-branch support. If --trace-semantics,
237 turn on ALU, FPU, branch, and memory tracing.
a7724171
MM
238 (trace_one_insn): New function to trace an instruction. Support
239 --trace-linenum.
7b167b09 240 (OPTION_TRACE_*): Use an enum, rather than lots of defines.
a7724171 241
7b167b09
MM
242 * sim-trace.h (TRACE_{SEMANTICS,BRANCH}_IDX): Add new macros.
243 (MAX_TRACE_VALUES): Use 32, not 12 by default.
244 (TRACE_branch): Add new mask.
245 (TRACE_*_P): Define all possible trace_p macros.
a7724171
MM
246 (trace_one_insn): Declare function.
247
23b04e79
MM
248Mon May 5 14:08:34 1997 Mike Meissner <meissner@cygnus.com>
249
250 * sim-trace.h (__attribute__): Define as nothing if not GNU C or
251 GNU C doesn't support __attributes__.
252 ({trace,debug}_printf): Add attribute's so -Wformat can check the
253 format strings.
254
7a418800
AC
255Mon May 5 11:16:12 1997 Andrew Cagney <cagney@b1.cygnus.com>
256
257 * sim-config.h (FORCED_ALIGNMENT): New alignment option -
258 addresses are masked forcing them to be correctly aligned.
259 (WITH_ALIGNMENT): Make NONSTRICT_ALIGNMENT the default.
260 * sim-config.c (config_alignment_to_a): Update.
261
262 * sim-core.h (sim_cpu_core): New data type contains cpu specific
263 core data.
264 * sim-base.h (CPU_CORE): Add cpu specific core data to cpu base
265 type.
266 * sim-core.c (sim_core_attach): Add CPU argument. Ready for
267 processor specific core maps.
268 (sim_core_map_attach): Copy the core map data to each of the
269 processor specific core data structures.
270 * sim-core.c (sim_core_find_mapping): Update.
271
272 * sim-n-core.h (sim_core_read_N, sim_core_write_N): Rename.
273 (sim_core_write_aligned_N, sim_core_write_aligned_N): New names.
274 (sim_core_write_unaligned_N, sim_core_write_unaligned_N): New
275 alternatives that handle unaligned addresses.
276 (sim_core_{read,write}_{,un}aligned_N): Drop SIM_DESC arg, replace
277 with just CPU arg.
278 * cgen-utils.c (sim_disassemble_insn): Update.
279
3971886a
AC
280Mon May 5 13:19:16 1997 Andrew Cagney <cagney@b1.cygnus.com>
281
282 * sim-trace.h (TRACE_FPU_IDX): Add Floating-point specific
283 tracing.
284
285 * sim-fpu.h, sim-fpu.c: New files - prototype for generic target
286 fpu support.
287
288 * sim-inline.h, sim-inline.c: Add support for SIM_FPU.
289
1fe05280
AC
290Fri May 2 17:59:42 1997 Andrew Cagney <cagney@b1.cygnus.com>
291
292 * sim-core.c (sim_core_map_to_str): New function ascii equivalent
293 to map type.
294
295 * sim-n-core.h (sim_core_read_N, sim_core_write_N): Use in trace
296 statement.
297
298Fri May 2 17:28:02 1997 Andrew Cagney <cagney@b2.cygnus.com>
299
300 * cgen-trace.c: Prepend additional trace_printf argument.
301
302 * cgen-utils.c (sim_disassemble_insn): Add additional core
303 arguments.
304
305Fri May 2 11:40:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
306
307 * nrun.c (main): Catch/report errorenous simulator states.
308
309 * sim-module.c: #include "libiberty.h" so that xmalloc is defined.
310 * sim-trace.c: #include string.h/strings.h so that memset is
311 defined.
312 * sim-utils.c: Ditto.
313 * sim-profile.c: Ditto. And stdlib.h.
314 (print_bar): Only define when used by instruction or memory profiler.
315
316 * sim-options.c (standard_option_handler): Make ul more local.
317
318 * sim-load.c (sim_load_file): Make the name constant.
319 (sim_load_file): Passify gcc.
320
321 * sim-utils.h: New file, pre-declare utilites in corresponding .c
322 file.
323 * sim-utils.c, sim-load.c: Include sim-utils.h.
324
325 * sim-base.h (sim_cpu): Pre define here so available to all.
326
327 * sim-core.h (DECLARE_SIM_CORE_WRITE_N, DECLARE_SIM_CORE_READ_N):
328 Restore the sim_cpu and instruction_address arguments so that full
329 information is available to the abort function.
330 * sim-core.c (sim_core_find_mapping, sim_core_write_buffer): Ditto.
331 * sim-n-core.h (sim_core_write_N, sim_core_read_N): Update.
332
333 * sim-trace.h, sim-trace.c (trace_option_handler): Add interim
334 tracing support for sim-events and sim-core.
335 (trace_option_handler): Convert #if to if where possible so always
336 compiled/checked by C compiler.
337 * sim-n-core.h (sim_core_write_N, sim_core_read_N): Update.
338
339 * sim-base.h: Adjust comment documenting how to define the cpu
340 structure.
341 (sim_state_base): Add sim_core and sim_events to simulator base
342 object.
343
344 * sim-trace.h, sim-trace.c (trace_printf): Add SIM_DESC argument.
345 * sim-core.c (sim_core_init, sim_core_attach,
346 sim_core_find_mapping): Update.
347 * sim-events.c (ETRACE, sim_events_init, sim_events_time,
348 update_time_from_event, insert_sim_event,
349 sim_events_schedule_after_signal, sim_events_deschedule,
350 sim_events_tick): Ditto.
351
352 * sim-basics.h (sim-module.h, sim-trace.h, sim-profile.h,
353 sim-model.h): Move #includes from here.
354 * sim-base.h: To here.
355 (sim-core.h, sim-events.h, sim-io.h): Include also
356
357Wed Apr 30 15:37:54 1997 Andrew Cagney <cagney@b1.cygnus.com>
358
359 * callback.c (default_callback): Missing initialisers.
360
c967f187
DE
361Thu May 1 10:40:47 1997 Doug Evans <dje@canuck.cygnus.com>
362
2317a499
DE
363 * sim-utils.c (sim_add_commas): New function.
364 * sim-basics.h (sim_add_commas): Add prototype.
365 * cgen-scache.c (scache_print_profile): Print commas in numbers.
366 * sim-profile.c (COMMAS): New macro.
367 (print_*): Use it to print commas in numbers.
368
260b2c47
DE
369 * configure: Regenerated.
370
371 * cgen-sim.h (sim_signal_type): Add SIM_SIGINT.
372 (cgen_state): New member run_fast_p.
373 (cgen_init): Add prototype.
374 (sim_disassemble_insn): New arg `cpu'.
375 * cgen-trace.c (trace_insn): Update call to sim_disassemble_insn.
376 * cgen-utils.c (cgen_init): New function.
377 (sim_disassemble_insn): New arg `cpu'. Rewrite fetching of insn.
378 * genmloop.sh: Call engine_halt if loop exits.
379
c967f187
DE
380 * Makefile.in (sim-options_h): Define.
381 (sim-{module,options,trace,profile,utils}.o): Clean up dependencies.
382 (sim-model.o): Add new rule.
383 (cgen-{scache,trace,utils}.o): Add new rules.
384 * aclocal.m4 (SIM_AC_OPTION_{SCACHE,DEFAULT_MODEL}): Add.
385 * cgen-scache.c (scache_print_profile): Change `sd' arg to `cpu'.
386 Indent output by 2 spaces.
387 * cgen-scache.h (scache_print_profile): Update.
388 * cgen-trace.c (trace_insn_fini): Indent output by 2 spaces.
389 Use trace_printf, not fprintf.
390 (trace_extract): Use trace_printf, not cgen_trace_printf.
391 * genmloop.sh (!FAST case): Increment `insn_count'.
392 * sim-base.h (sim_state_base): Only include scache_size if WITH_SCACHE.
393 (sim_cpu_base): Rename member `sd' to `state' to be consistent with
394 access macro's name.
395 * sim-core.c (sim_core_init): Use EXTERN_SIM_CORE to define it.
396 Change return type to SIM_RC.
397 (sim_core_{install,uninstall}): New functions.
398 * sim-core.h (sim_core_{install,uninstall}): Declare.
399 (sim_core_init): Use EXTERN_SIM_CORE to define it.
400 Change return type to SIM_RC.
401 * sim-model.h (models,machs,model_install): Declare.
402 * sim-module.c (modules): Add scache_install, model_install.
403 (sim_post_argv_init): Set cpu->state backlinks.
404 * sim-options.c (standard_options): Delete --simcache-size,--max-insns.
405 (standard_option_handler): Likewise.
406 * sim-profile.c (PROFILE_{HISTOGRAM,LABEL}_WIDTH): Move to
407 sim-profile.h.
408 (*): Assume ANSI C.
409 (profile_options): Delete --profile-simcache.
410 (profile_option_handler): Likewise.
411 (profile_print_insn): Change `sd' arg to `cpu'. Indent output 2
412 spaces.
413 (profile_print_{memory,model}): Likewise.
414 (profile_print_simcache): Delete.
415 (profile_print_speed): New function.
416 (profile_print): Rewrite.
417 * sim-profile.h (PROFILE_scache): Renamed from PROFILE_simcache.
418 (WITH_PROFILE_SCACHE_P): Renamed from WITH_PROFILE_SIMCACHE_P.
419 (PROFILE_DATA): Delete members simcache_{hits,misses}.
420 (PROFILE_COUNT_SIMCACHE_{HIT,MISS}): Delete.
421 (PROFILE_{CALLBACK,CPU_CALLBACK}): New types.
422 (profile_print): Update prototype.
423
717dbb29
DE
424Wed Apr 30 11:34:14 1997 Doug Evans <dje@canuck.cygnus.com>
425
6475b234 426 * cgen-scache.[ch], cgen-sim.h: New files.
b9c8cd10
DE
427 * cgen-trace.[ch], cgen-types.h, cgen-utils.c, genmloop.sh: New files.
428 * sim-model.c: New file.
429
717dbb29
DE
430 * Make-common.in (clean targets): Undo patch of Apr. 22.
431
432Fri Apr 25 15:28:32 1997 Mike Meissner <meissner@cygnus.com>
433
434 * sim-n-bits.h (signed): If we have a standard compiler, undef
435 signed, so that signedN is defined correctly.
436
b320601b
DE
437Thu Apr 24 00:00:07 1997 Doug Evans <dje@canuck.cygnus.com>
438
439 * sim-module.h, sim-model.h, sim-profile.h: New files.
440 * sim-module.c, sim-profile.c: New files.
441 * Make-common.in (SIM_PROFILE): Define
442 (CONFIG_CFLAGS): Add $(SIM_PROFILE).
443 (sim_main_headers): Add sim-module.h, sim-model.h, sim-profile.h.
444 (sim_module.o,sim-profile.o): Add rules for.
445 * aclocal.m4 (--enable-sim-trace): Allow symbolic arguments.
446 (--enable-sim-profile): Add.
447 * configure: Regenerated.
448 * sim-base.h (sim_state_base): New members init_list, uninstall_list,
449 model. Move trace and profile support to sim-{trace,profile}.h.
450 New members trace_data, profile_data.
451 * sim-basics.h: #include sim-module.h, sim-model.h, sim-profile.h.
452 * sim-config.h: Provide default definition of WITH_PROFILE.
453 (WITH_TRACE): Change default to -1.
454 (MAX_NR_PROCESSORS): Always define.
455 * sim-options.c: Move trace and profile support to
456 sim-{trace,profile}.h.
457 (sim_pre_argv_init): Moved to sim-model.c.
458 (standard_install): New function.
459 * sim-options.h (sim_pre_argv_init): Move decl to sim-model.c.
460 (standard_install): Declare.
461 * sim-trace.c: Tracing option handling moved here from sim-options.c.
462 (trace_install, trace_uninstall): New functions.
463 (trace_printf): Update reference to TRACE_FILE.
464 * sim-trace.h (TRACE_FOO_IDX): Moved here from sim-base.h.
465 (TRACE_foo): Bit masks for symbolic arguments to --enable-sim-trace.
466 (WITH_TRACE_FOO_P): Define.
467 (trace_install): Declare.
468 (TRACE_DATA): New struct.
469
ef751fb0
DE
470Wed Apr 23 17:23:15 1997 Doug Evans <dje@canuck.cygnus.com>
471
472 * run.c: Undo last exec_bfd patch.
473 (main): Only pass -E ifdef SIM_HAVE_BIENDIAN.
474
e3eba3fd
MM
475Wed Apr 23 17:54:27 1997 Mike Meissner <meissner@cygnus.com>
476
477 * run.c (exec_bfd): Add back in.
478 (main): Set exec_bfd.
479
2c27ef78
DE
480Tue Apr 22 14:43:46 1997 Doug Evans <dje@canuck.cygnus.com>
481
482 * sim-load.c (sim_load_file): #include <stdio.h> for NULL.
483
15c16493
AC
484Wed Apr 23 02:55:54 1997 Andrew Cagney <cagney@b1.cygnus.com>
485
486 * sim-events.c (insert_sim_event): Call sim_io_error instead of
487 less well defined engine_error.
488 * sim-core.c: Ditto.
489
0f399b0c
SG
490Tue Apr 22 08:48:16 1997 Stu Grossman (grossman@critters.cygnus.com)
491
492 * Make-common.in: Change clean targets to use :: so that other
493 Makefiles can have their own clean targets.
494 * sim-load.c (xprintf eprintf): Use ANSI_PROTOTYPES instead of
495 __STDC__ to control use of stdarg vs. varargs syntax. Some
496 systems can't use __STDC__, but require stdarg.
497
4a6163db
DE
498Fri Apr 18 11:14:43 1997 Doug Evans <dje@canuck.cygnus.com>
499
e65bd1d8
DE
500 * sim-options.c (standard_options): Add --endian.
501 (standard_option_handler): Likewise.
502
4a6163db
DE
503 * nrun.c: #include <signal.h>.
504 (main, cntrl_c): Wrap calls to sim_resume in a SIGINT
505 handler that calls sim_stop ().
506
8517f62b
AC
507Fri Apr 18 13:11:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
508
509 * run.c (main, cntrl_c): Wrap calls to sim_resume in a SIGINT
510 handler that calls sim_stop (). Simulators may still be
511 establishing their own handler.
512
513 * sim-events.c (sim_events_poll): Rename from
514 sim_events_at_large_int. Poll IO.
515
516 * sim-io.c (sim_io_poll_quit): New function - pass on a polling
517 request.
518
519 * callback.c (os_poll_quit): New function poll for quit signal
520 where needed.
521 (default_callback): Include magic number.
522
0f2811d1
DE
523Thu Apr 17 02:25:11 1997 Doug Evans <dje@canuck.cygnus.com>
524
63ddb6bd
DE
525 * aclocal.m4: Check for headers time.h, sys/time.h, sys/resource.h.
526 Check for functions getrusage, time.
527 * sim-basics.h (SIM_ELAPSED_TIME): New typedef.
528 (sim_elapsed_time_get, sim_elapsed_time_since): Add prototypes.
529 * sim-utils.c: #include time.h, sys/time.h, sys/resource.h if able.
530 (sim_elapsed_time_get, sim_elapsed_time_since): New functions.
531
ba65b2f4
DE
532 * sim-utils.c (sim_copy_argv, sim_analyze_program): New functions.
533
4ede3a83 534 * sim-options.c, sim-options.h: New files.
4b364b00 535 * sim-config.h (WITH_DEBUG): Provide default value of zero.
e9b2f579 536 * Make-common.in (nrun.o): Add rules for.
c95d08a8 537 * nrun.c: New file.
4ede3a83 538
f7d2f538
DE
539 * run.c (main): Check return value of sim_open.
540
e9b2f579 541 * Make-common.in (sim-options.o, sim-load.o, sim-trace.o): Add rules.
0f2811d1
DE
542 (sim_main_headers): Add sim-trace.h.
543 * run.c (exec_bfd, target_byte_order): Delete.
544 (main): Pass -E <endian> to sim_open. Delete code to load sections,
545 call sim_load instead. Check return code of sim_create_inferior.
546 * sim-base.h (CURRENT_STATE): Define.
547 (sim_state_base): Make typedef. New members options, prog_argv,
548 prog_bfd, text_{section,start,end}, start_addr, simcache_size,
549 mem_size, memory [+ corresponding access macros].
550 (sim_cpu_base): New typedef.
551 * sim-trace.h: New file.
e9b2f579 552 * sim-trace.c: New file.
0f2811d1 553 * sim-basics.h: #include it.
35c384f6 554 * sim-load.c: New file.
0f2811d1 555
6808fd61
ILT
556Tue Apr 15 15:10:13 1997 Ian Lance Taylor <ian@cygnus.com>
557
558 * Make-common.in (INSTALL): Set to @INSTALL@.
559 (INSTALL_XFORM, INSTALL_XFORM1): Remove.
560 (install-common): Depend upon installdirs. Use
561 $(program_transform_name) directly, rather than using
562 $(INSTALL_XFORM).
563 (installdirs): New target.
564 * Makefile.in (INSTALL): Set to @INSTALL@.
565 (INSTALL_XFORM, INSTALL_XFORM1): Remove.
566 (install-man): Depend upon installdirs. Use
567 $(program_transform_name) directly, rather than using
568 $(INSTALL_XFORM).
569 (installdirs): New target.
570
7ec396d2
AC
571Tue Apr 15 15:08:12 1997 Andrew Cagney <cagney@b1.cygnus.com>
572
573 * sim-assert.h (SIM_ASSERT, ASSERT): Allow these macros to
574 be overriden.
575
576Wed Apr 9 16:06:44 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
577
578 * sim-basics.h: Only bring in config.h and tconfig.h if
579 HAVE_CONFIG_H.
580
581Mon Apr 7 11:39:45 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
582
583 * sim-config.h (WITH_TARGET_WORD_MSB): New Macro. Define the bit
584 numbering convention of the target.
585 * sim-config.c (print_sim_config): Print WITH_TARGET_WORD_BITSIZE
586 and WITH_TARGET_WORD_MSB.
587 (sim_config): When possible, check for consistency with bitsize
588 and msb.
589
590 * sim-bits.h: Allow MSB to be other than zero.
591 * sim-bits.c: Ditto.
592 * sim-n-bits.h: Ditto.
593
594 * sim-bits.h (MSMASK*): New macros - converce to LSMASK*.
595 * sim-n-bits.h (MSMASKEDn): Ditto.
596
597Mon Apr 14 16:29:21 1997 Ian Lance Taylor <ian@cygnus.com>
598
599 * Makefile.in (INSTALL): Change install.sh to install-sh.
600
25a9c90b
DE
601Mon Apr 7 10:46:38 1997 Doug Evans <dje@canuck.cygnus.com>
602
603 * sim-base.h (sim_state_base): Move `magic' to end of struct.
604
b4d88827
AC
605Mon Apr 7 15:53:21 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
606
607 * run.c (main): Check that a program to run was specified.
608
08db4a65
AC
609Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
610
611 * aclocal.m4 (AC_TYPE_SIGNAL): Add check.
612
613 * configure: Regenerated to track ../common/aclocal.m4 changes.
614 * config.in: Ditto.
615
fbda74b1
DE
616Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
617
21bfad86
DE
618 * sim-endian.h: Move host {LITTLE,BIG}_ENDIAN support from here,
619 * sim-config.h: To here.
620
00d74d3e
DE
621 * Make-common.in (SIM_EXTRA_DEPS): New config var.
622 (sim_main_headers): Define.
623 (sim-*.o): Depend on $(SIM_EXTRA_DEPS).
624 (BUILT_SRC_FROM_COMMON): Move here from ../d30v/Makefile.in.
625 (clean): Use it.
626 (sim-utils.o): Add rule for.
627 * sim-utils.o: New file.
628 * sim-basics.h: #include sim-base.h.
629 (zalloc): Make argument unsigned long.
630 * sim-base.h: New file.
631 * sim-inline.h (SIM_IO support): Delete.
632 * sim-io.h: Delete inline support.
633 * sim-io.c: Likewise. sim-state.h renamed to sim-main.h.
634 * sim-config.c: sim-state.h renamed to sim-main.h.
635 * sim-core.c: Likewise.
636 * sim-events.c: Likewise.
637
bcd1475a
DE
638 * run.c (main): Pass SIM_OPEN_STANDALONE to sim_open.
639
fbda74b1
DE
640 * aclocal.m4: Check for stdlib.h, string.h, strings.h, unistd.h.
641 (sim-debug): Allow arguments. Define WITH_DEBUG in addition to
642 -DDEBUG.
643 * configure: Regenerated to track ../common/aclocal.m4 changes.
644
a35e91c3
AC
645Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
646
647 * configure: Regenerated to track ../common/aclocal.m4 changes.
648
649Wed Apr 2 11:08:11 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
650
651 * sim-config.h (WITH_ALIGNMENT, WITH_FLOATING_POINT,
652 WITH_XOR_ENDIAN, WITH_SMP, WITH_RESERVED_BITS): Assume that these
653 are defined by the configure.
654
655 * aclocal.m4 (sim-stdio): Add option stdio from ../ppc configure.
656
657 * aclocal.m4 (floating-point, xor-endian, alignment, smp,
658 reserved-bits): Always define.
659
660 * sim-config.h, sim-config.c (sim_config): New function - and new
661 file - co-ordinate the setting/checking of the common simulator
662 configuration options.
663
664 * Make-common.in (sim-config.o): Add rule.
665
666Fri Mar 28 15:32:00 1997 Mike Meissner <meissner@cygnus.com>
667
668 * callback.c (os_{,e}vprintf_filtered): Change stdarg type to
669 va_list from void *, since va_list might not be a pointer type.
670
671Mon Mar 24 15:27:12 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
672
673 * sim-n-endian.h (offset_N): Correct assertion - word and sub word
674 in wrong order.
675 (offset_N): Correct computation of LE offset.
676
677 * sim-io.c (sim_io_error): Include a new line when reporting
678 errors.
679
680 * sim-assert.h (SIM_FILTER_PATH): Out by one when locating last
681 `/'.
682
aa7cec3f
JL
683Thu Mar 20 22:31:06 1997 Jeffrey A Law (law@cygnus.com)
684
685 * run.c: Include alloca-conf.h.
7c058c9e
JL
686
687 * callback.c (os_evprintf_filtered): Fix typo.
688
fa21d299
AC
689Fri Mar 21 13:36:20 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
690
691 * run.c (string.h, strings.h, stdlib.h): Include.
692
693 * sim-events.c (sim_events_tick): Recent cleanup failed to return
694 0 when nothing pending.
695
696 * run.c (sim_size, sim_trace): Plicate GCC - these two functions
697 will soon be going away.
698 (getopt): Plicate GCC.
699
700 * sim-endian.c (sim-io.h): Plicate GCC.
701 * sim-bits.c (sim-io.h): Ditto.
702 * sim-n-bits.h (ROTn): Ditto.
703
704 * sim-io.c (sim_io_error): Correct check for NULL.
705
706 * sim-assert.h (SIM_FILTER_PATH): Separate out the code filtering
707 the __FILE__.
708 * sim-events.c: Use SIM_FILTER_PATH to filter out the filename
709 path.
710
711Wed Mar 19 01:12:06 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
712
713 * aclocal.m4 (SIM_AC_OPTION_*: Move so that they are outside of
714 SIM_AC_COMMON - SIM_AC_COMMON was gobling arguments.
715
4a5fb09d
AC
716Tue Mar 18 20:48:12 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
717
718 * sim-alu.h: Include sim-xcat.h.
719
d11d59ac
AC
720Tue Mar 18 13:58:18 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
721
722 * Make-common.in (sim-bits.c, sim-core.c, sim-endian.c,
723 sim-events.c, sim-inline.c, sim-io.c): Define rules for building
724 these.
725
726 * sim-events.c (sim_events_at_large_int): New function. Just
727 schedules an event every large-int ticks.
728 (sim_events_init): Call.
729 (sim_events_tick, sim_events_process): Move async handing to
730 sim_events_process. Move timer decrement so that it occures after
731 events have been processed.
732
733 * sim-basics.h (struct _engine): Remove declaration.
734
735 * sim-events.h, sim-events.c: Rename type to sim_events. Prefix
736 everything with same. Rename global struct to SIM_DESC.
737 * sim-core.h, sim-core.c, sim-n-core.c: Ditto for sim_core.
738 * sim-io.h, sim-io.c: Ditto.
739
740 * sim-assert.h: New file. Optional assertion checking macros.
741 * sim-io.c (sim_io_error): Make just this function tolerant to
742 null pointers.
743
744 * sim-xcat.h: New file. Define concatenate macros.
745 * sim-basics.h (XCONCAT*): Move to sim-xcat.h.
746 * sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Explicitly include
747 concat macros.
748
749
752517cc
AC
750Tue Mar 18 12:44:55 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
751
752 * sim-bits.h (LSMASK): New macro. Create mask of LS bits.
753
86eb1e29
AC
754Mon Mar 17 18:10:05 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
755
756 * sim-inline.h: Add definitions for sim-types.
757 (ALL_BY_MODULE): New macro, encapsulate full inlining by the
758 module.
759
231de1b8
AC
760Mon Mar 17 15:38:27 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
761
762 * sim-events.h: Remove defunct reference to callback struct.
763
a77aa7ec
AC
764Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
765
766 * configure: Re-generate.
767
768Mon Mar 17 15:04:47 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
769
770 * Make-common.in (CSEARCH): Do not include the gdb directory in
771 the search path.
772
773Mon Mar 17 13:16:26 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
774
775 * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE,
776 SIM_WARNING): Drop, requiring the simulator specific Makefile.in
777 to explicitly incorporate these.
778
779 * aclocal.m4 (--enable-sim-alignment); New option. Strongly
780 specify the alignment restrictions of the target architecture -
781 without this option all alignment restrictions are accomodated.
782 (--enable-sim-assert): New option. Conditionally compile in
783 assertion statements.
784 (--enable-sim-float): New option. Strongly specify the target's
785 floating point support.
786 (--enable-sim-hardware): New option. Specify the hardware devices
787 included in the simulation.
788 (--enable-sim-packages): New option. Specify the hardware
789 packages included in the simulation.
790 (--enable-sim-regparm): New option. Specify that parameters be
791 passed in registers instead of on the stack.
792 (--enable-sim-reserved-bits): New option. Specify that reserved
793 bits within an instruction are are correctly set.
794 (--enable-sim-smp): New option. Specify the level of SMP support
795 to be included in the simulator.
796 (--enable-sim-stdcall): New option. Specify an alternative
797 function call convention.
798 (--enable-sim-xor-endian): New option. Configure xor-endian
799 support used by some targets to implement bi-endian support.
800
f2de7dfd
AC
801Fri Mar 14 19:51:21 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
802
803 * aclocal.m4 (--enable-sim-hostendian): New option. Allow the
804 host endianness to be overridden.
805 (--enable-sim-endian): Allow the target platform's byte order
806 to be overridden.
807 (--enable-sim-inline): Control the inlining of common components.
808 (--enable-sim-bswap): For compatibility, also define WITH_BSWAP.
809 (--enable-sim-warnings): Enable additional GCC compiler checks.
810 * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE,
811 SIM_WARNINGS): Add.
812
813 * sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Rename from
814 sim-*-n.h so that the names are uniq on dos machines
815 * sim-core.c, sim-bits.c, sim-endian.c: Update.
816
499aa792
DE
817Thu Mar 13 12:32:42 1997 Doug Evans <dje@canuck.cygnus.com>
818
819 * run.c: #include "libiberty.h".
820 (main): New locals sd,no_args,sim_argv.
821 Run buildargv on -a option. Pass argv to sim_open, argv[0]
822 is program name. Update call to sim_set_callbacks.
823 Record result of sim_open, pass to other sim_foo routines.
824
fd435e9f
MM
825Thu Mar 13 10:24:05 1997 Michael Meissner <meissner@cygnus.com>
826
827 * callback.c (os_printf_filtered): Do not call exit(1) or print a
828 final newline.
829
830Thu Mar 6 15:50:28 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
831
832 * callback.c: Add os_flush_stdout and vprintf_filtered callbacks.
833 Route stdout through buffered IO.
834
835 * callback.c: Add os_flush_stderr, os_write_stderr,
836 os_evprintf_filtered functions to route error output through
837 stderr.
838
839 * sim-io.h, sim-io.c (sim_io_flush_stderr, sim_io_flush_stdout):
840 Correct return type - should be void.
841
842Fri Mar 7 20:14:37 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
843
844 * sim-basics.h: Clean up. Many macro's moved to sim-inline.h.
845
846 * sim-config.h: Ditto. For some options - eg WITH_DEVICES - do
847 not provide a default value as undefined indicates disable code.
848
849Thu Mar 6 15:50:28 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
850
851 * sim-core.h, sim-core-n.h, sim-core.c: Borrow code from ppc
852 directory.
853 * sim-events.h, sim-events.c: Ditto.
854 * sim-io.h, sim-io.c: Ditto.
855
b3e426bc
AC
856Tue Mar 4 09:35:56 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
857
858 * sim-alu.h (ALU_SUB_CA, ALU*_SUB_CA): New alu operation.
859
860 * sim-bits.h, sim-bits-n.h, sim-bits.c (LSMASKED*): New macro's
861 extract the tail or least signifiant bits from an integer of the
862 specified size.
863
864 * sim-bits.h, sim-bits.c: Clean up conditionally compiled #if
865 WITH_TARGET_BITSIZE so that the compilation will fail when an
866 unsupported bitsize value is defined.
867
868 (INSERTED*): Convert to functions.
869 (EXTRACTED*): Ditto.
870
871 (SIGN_EXTEND, SEXT): Change to more terse name.
872
17bbcaad
AC
873Tue Mar 4 09:35:56 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
874
875 * sim-inline.h: Allow explicit control over which .c files will be
876 included by their header.
877
878 * sim-inline.h: Allow explicit control over which .c files use the
879 alternative - REGPARM - parameter passing mechanism.
880
881 * sim-inline.h, sim-inline.c: Don't attempt to include any of
882 icache.c, idecode.c, semantics.c or support.c. Those names are
883 not generally applicable.
884
b3e426bc
AC
885Thu Feb 27 10:17:23 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
886
887 * sim-bits.c, sim-bits-n.h (new): Split sim-bits.c into two parts
888 in a fashion similar to sim-endian-n.
889
890 * sim-endian.h: (H_word, L_word, AL_*, VL_*): Extend to include
891 both value and address macro's.
892
893Tue Feb 25 18:51:57 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
894
895 * sim-alu.h (ALU16_BEGIN, ALU16_SET, ...): Fill in.
896
897 * sim-endian.h (L_word, H_word): Replace MS2W_4, LS2W_4 with more
898 generic L_word, H_word macro's.
899
17bbcaad
AC
900Thu Feb 20 18:36:55 1997 Andrew Cagney <cagney@critters.cygnus.com>
901
902 * sim-basics.h: Borrow code from ppc directory.
903 * sim-bits.c: Ditto.
904 * sim-bits.h: Ditto.
905 * sim-config.h: Ditto.
906 * sim-endian-n.h: Ditto.
907 * sim-endian.c: Ditto.
908 * sim-endian.h: Ditto.
909 * sim-inline.c: Ditto.
910 * sim-inline.h: Ditto.
911 * sim-types.h: Ditto.
912
913Wed Feb 19 12:40:50 1997 Andrew Cagney <cagney@critters.cygnus.com>
914
915 * sim-alu.h (ALU_SET16, ALU_SET32, ALU_SET64, etc): Make available
916 all the ALU size alternatives and then auto-configure a default.
917
918 * sim-alu.h: Copy ppc/idecode_expression.h.
919
920Mon Feb 17 10:44:18 1997 Andrew Cagney <cagney@critters.cygnus.com>
921
922 * bits.h, bits.c (SIGN_EXTEND32, SIGN_EXTEND64): New functions,
923 sign extend a bit within a value.
924
925 * sim-endian.h, sim-endian-n.h (offset_N): New functions - return
926 a pointer into the middle of a host word.
927 * sim-endian.h (MS2W_4, LS2W_4): Use this function.
928
929Tue Feb 11 13:46:49 1997 Michael Meissner <meissner@tiktok.cygnus.com>
930
931 * callback.c: If HAVE_CONFIG_H is defined, include config.h from
932 autoconf. If HAVE_UNISTD_H is defined, include unistd.h to get
933 appropriate definitions of read, write, etc. Add prototype for
934 system.
935
1cc9ed29
DE
936Tue Feb 4 13:24:44 1997 Doug Evans <dje@canuck.cygnus.com>
937
938 * Makefile.in (libcommon.a): Delete.
939 (callback.o,targ-map.o): Delete, moved to Make-common.in.
940 (gentmap,targ-vals.h,targ-map.c): Likewise.
941 (run-autoconf): Delete.
942 * aclocal.m4 (SIM_AC_OUTPUT): Redo creation of Makefile.
943 (common makefile fragment): Moved back into ...
944 * Make-common.in: Resurrect.
945 * configure.in (AC_LINK_FILES): Delete, unnecessary now.
946 * configure: Regenerated.
947
8cd89e77
DE
948Fri Jan 31 07:16:49 1997 Doug Evans <dje@canuck.cygnus.com>
949
950 * aclocal.m4 (SIM_AC_COMMON): Move COMMON_MAKEFILE_FRAG from here.
951 (SIM_AC_OUTPUT): To here.
952
76e2c9ae
SG
953Fri Jan 24 10:37:17 1997 Stu Grossman (grossman@critters.cygnus.com)
954
955 * aclocal.m4 (COMMON_MAKEFILE_FRAG): Quote a couple of $'s in
956 comments and single quotes. Fixes a problem found on hpux.
957
80b7b3a5
SG
958Thu Jan 23 13:35:03 1997 Stu Grossman (grossman@critters.cygnus.com)
959
e1dfb8c5 960 * aclocal.m4: Remove Make-common.in from dependencies.
42653e99 961 * (distclean): Remove targ-vals.def.
e1dfb8c5 962
80b7b3a5
SG
963 * aclocal.m4 (SIM_AC_COMMON): Move contents of Make-common.in
964 into here. Makes insertion into makefiles easier. Also, change
965 the way that callback.o, gentmap, targ-vals.h, targ-map.c,
966 targ-map.o, and run are built. They are now built in the
967 individual simulator directories, taking sources from ../common as
968 necessary. This replaces the merging of libcommon.a into
969 linsim.a, which was problematic for the WinGDB build process.
970 * run.c: Include config.h from . instead of ../common.
971 * Make-common.in: Remove. It's no longer necessary.
972
973Mon Dec 16 15:02:33 1996 Ian Lance Taylor <ian@cygnus.com>
974
975 * Make-common.in (ALL_CLAGS): Put CFLAGS at the end.
976 (.c.o): Put $(ALL_CFLAGS) before the file being compiled.
977
978Wed Dec 11 11:30:58 1996 Jim Wilson <wilson@cygnus.com>
979
980 * run.c (main): Set target_byte_order before call to sim_open.
981
966f47b4
DE
982Sun Dec 8 18:22:06 1996 Doug Evans <dje@canuck.cygnus.com>
983
984 * callback.c: #include <stdlib.h>
985 (os_error): New function.
986 (default_callback): Add os_error.
987
988Mon Nov 25 19:44:35 1996 Doug Evans <dje@canuck.cygnus.com>
989
990 * Make-common.in (Makefile): Set CONFIG_HEADERS="".
991 * aclocal.m4: Mark the fact that --enable-sim-bswap isn't host
992 specific.
993 (SIM_AC_OUTPUT): Don't build Makefile if CONFIG_FILES="".
994
995Wed Nov 20 01:11:04 1996 Doug Evans <dje@canuck.cygnus.com>
996
997 * run.c: #include ../common/config.h, tconfig.h.
998 (myname): New static global.
999 (main): Recognize new options -a, -c. Also recognize -h if h8/300.
1000 Only process -c ifdef SIM_HAVE_SIMCACHE.
1001 Only process -p/-s ifdef SIM_HAVE_PROFILE.
1002 Parse program name from argv[0] and use in error messages.
1003 Pass sim_args to sim_open. Pass prog_args to sim_create_inferior.
1004 Add support for incomplete h8/300 termination indicators.
1005 (usage): Make more verbose.
1006 * aclocal.m4,config.in,tconfig.in,configure.in,configure: New files.
1007 * Makefile.in,Make-common.in,callback.c: New files.
1008 * nltvals.def,gentmap.c,gentvals.sh: New files.
1009
1010Tue Nov 12 13:34:00 1996 Dawn Perchik <dawn@cygnus.com>
1011
1012 * run.c: Include stdarg.h if __STDC__.
1013
1014Tue Oct 15 11:16:31 1996 Jeffrey A Law (law@cygnus.com)
1015
1016 * run.c (main): Don't print out anything if the signal
1017 number is zero (ie no signal).
1018
57bc1a72
MM
1019Tue Oct 15 11:20:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1020
1021 * run.c (main): Print out if the program raised a signal.
1022
1023Wed Sep 18 09:52:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1024
1025 * run.c (exec_bfd): Rename from sim_bfd, to use the gdb name.
1026 (main): Ditto.
1027
3733d109
JSC
1028Tue Sep 17 11:04:50 1996 James G. Smith <jsmith@cygnus.co.uk>
1029
1030 * run.c (main): Explicitly cast malloc() parameter.
1031
9b280a86
MM
1032Thu Sep 12 11:27:21 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1033
1034 * run.c (sim_bfd): New global to hold the bfd pointer for the
1035 executable.
1036 (main): Initialize sim_bfd.
1037
1038Fri Dec 15 16:27:49 1995 Ian Lance Taylor <ian@cygnus.com>
1039
1040 * run.c (main): Use new bfd_big_endian macro.
1041
1042Wed Nov 8 15:49:49 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
1043
1044 * run.c (main): Removed SH specific comments, so source is
1045 generic. Also updated to only load relevant sections. Moved
1046 sim_open() to after callback attach (to match GDB).
1047
1048 * run.1: Removed SH specific comments.
1049
3be50301
JW
1050Sat Oct 21 12:31:01 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1051
1052 * run.c (main): Always return sigrc at end.
1053
1054Tue Oct 10 12:03:13 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1055
1056 * run.c (main): Print error diagnostic and exit if bfd_openr() or
1057 bfd_check_format() fails.
1058
f025d903
SC
1059Thu Sep 28 15:40:36 1995 steve chamberlain <sac@slash.cygnus.com>
1060
1061 * run.c, run.1: From sh directory.
1062
1063
This page took 0.11927 seconds and 4 git commands to generate.