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