1 Wed Apr 30 11:34:14 1997 Doug Evans <dje@canuck.cygnus.com>
3 * cgen-mem.h, cgen-scache.[ch], cgen-sem.h, cgen-sim.h: New files.
4 * cgen-trace.[ch], cgen-types.h, cgen-utils.c, genmloop.sh: New files.
5 * sim-model.c: New file.
7 * Make-common.in (clean targets): Undo patch of Apr. 22.
9 Fri Apr 25 15:28:32 1997 Mike Meissner <meissner@cygnus.com>
11 * sim-n-bits.h (signed): If we have a standard compiler, undef
12 signed, so that signedN is defined correctly.
14 Thu Apr 24 00:00:07 1997 Doug Evans <dje@canuck.cygnus.com>
16 * sim-module.h, sim-model.h, sim-profile.h: New files.
17 * sim-module.c, sim-profile.c: New files.
18 * Make-common.in (SIM_PROFILE): Define
19 (CONFIG_CFLAGS): Add $(SIM_PROFILE).
20 (sim_main_headers): Add sim-module.h, sim-model.h, sim-profile.h.
21 (sim_module.o,sim-profile.o): Add rules for.
22 * aclocal.m4 (--enable-sim-trace): Allow symbolic arguments.
23 (--enable-sim-profile): Add.
24 * configure: Regenerated.
25 * sim-base.h (sim_state_base): New members init_list, uninstall_list,
26 model. Move trace and profile support to sim-{trace,profile}.h.
27 New members trace_data, profile_data.
28 * sim-basics.h: #include sim-module.h, sim-model.h, sim-profile.h.
29 * sim-config.h: Provide default definition of WITH_PROFILE.
30 (WITH_TRACE): Change default to -1.
31 (MAX_NR_PROCESSORS): Always define.
32 * sim-options.c: Move trace and profile support to
33 sim-{trace,profile}.h.
34 (sim_pre_argv_init): Moved to sim-model.c.
35 (standard_install): New function.
36 * sim-options.h (sim_pre_argv_init): Move decl to sim-model.c.
37 (standard_install): Declare.
38 * sim-trace.c: Tracing option handling moved here from sim-options.c.
39 (trace_install, trace_uninstall): New functions.
40 (trace_printf): Update reference to TRACE_FILE.
41 * sim-trace.h (TRACE_FOO_IDX): Moved here from sim-base.h.
42 (TRACE_foo): Bit masks for symbolic arguments to --enable-sim-trace.
43 (WITH_TRACE_FOO_P): Define.
44 (trace_install): Declare.
45 (TRACE_DATA): New struct.
47 Wed Apr 23 17:23:15 1997 Doug Evans <dje@canuck.cygnus.com>
49 * run.c: Undo last exec_bfd patch.
50 (main): Only pass -E ifdef SIM_HAVE_BIENDIAN.
52 Wed Apr 23 17:54:27 1997 Mike Meissner <meissner@cygnus.com>
54 * run.c (exec_bfd): Add back in.
57 Tue Apr 22 14:43:46 1997 Doug Evans <dje@canuck.cygnus.com>
59 * sim-load.c (sim_load_file): #include <stdio.h> for NULL.
61 Wed Apr 23 02:55:54 1997 Andrew Cagney <cagney@b1.cygnus.com>
63 * sim-events.c (insert_sim_event): Call sim_io_error instead of
64 less well defined engine_error.
67 Tue Apr 22 08:48:16 1997 Stu Grossman (grossman@critters.cygnus.com)
69 * Make-common.in: Change clean targets to use :: so that other
70 Makefiles can have their own clean targets.
71 * sim-load.c (xprintf eprintf): Use ANSI_PROTOTYPES instead of
72 __STDC__ to control use of stdarg vs. varargs syntax. Some
73 systems can't use __STDC__, but require stdarg.
75 Fri Apr 18 11:14:43 1997 Doug Evans <dje@canuck.cygnus.com>
77 * sim-options.c (standard_options): Add --endian.
78 (standard_option_handler): Likewise.
80 * nrun.c: #include <signal.h>.
81 (main, cntrl_c): Wrap calls to sim_resume in a SIGINT
82 handler that calls sim_stop ().
84 Fri Apr 18 13:11:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
86 * run.c (main, cntrl_c): Wrap calls to sim_resume in a SIGINT
87 handler that calls sim_stop (). Simulators may still be
88 establishing their own handler.
90 * sim-events.c (sim_events_poll): Rename from
91 sim_events_at_large_int. Poll IO.
93 * sim-io.c (sim_io_poll_quit): New function - pass on a polling
96 * callback.c (os_poll_quit): New function poll for quit signal
98 (default_callback): Include magic number.
100 Thu Apr 17 02:25:11 1997 Doug Evans <dje@canuck.cygnus.com>
102 * aclocal.m4: Check for headers time.h, sys/time.h, sys/resource.h.
103 Check for functions getrusage, time.
104 * sim-basics.h (SIM_ELAPSED_TIME): New typedef.
105 (sim_elapsed_time_get, sim_elapsed_time_since): Add prototypes.
106 * sim-utils.c: #include time.h, sys/time.h, sys/resource.h if able.
107 (sim_elapsed_time_get, sim_elapsed_time_since): New functions.
109 * sim-utils.c (sim_copy_argv, sim_analyze_program): New functions.
111 * sim-options.c, sim-options.h: New files.
112 * sim-config.h (WITH_DEBUG): Provide default value of zero.
113 * Make-common.in (nrun.o): Add rules for.
116 * run.c (main): Check return value of sim_open.
118 * Make-common.in (sim-options.o, sim-load.o, sim-trace.o): Add rules.
119 (sim_main_headers): Add sim-trace.h.
120 * run.c (exec_bfd, target_byte_order): Delete.
121 (main): Pass -E <endian> to sim_open. Delete code to load sections,
122 call sim_load instead. Check return code of sim_create_inferior.
123 * sim-base.h (CURRENT_STATE): Define.
124 (sim_state_base): Make typedef. New members options, prog_argv,
125 prog_bfd, text_{section,start,end}, start_addr, simcache_size,
126 mem_size, memory [+ corresponding access macros].
127 (sim_cpu_base): New typedef.
128 * sim-trace.h: New file.
129 * sim-trace.c: New file.
130 * sim-basics.h: #include it.
131 * sim-load.c: New file.
133 Tue Apr 15 15:10:13 1997 Ian Lance Taylor <ian@cygnus.com>
135 * Make-common.in (INSTALL): Set to @INSTALL@.
136 (INSTALL_XFORM, INSTALL_XFORM1): Remove.
137 (install-common): Depend upon installdirs. Use
138 $(program_transform_name) directly, rather than using
140 (installdirs): New target.
141 * Makefile.in (INSTALL): Set to @INSTALL@.
142 (INSTALL_XFORM, INSTALL_XFORM1): Remove.
143 (install-man): Depend upon installdirs. Use
144 $(program_transform_name) directly, rather than using
146 (installdirs): New target.
148 Tue Apr 15 15:08:12 1997 Andrew Cagney <cagney@b1.cygnus.com>
150 * sim-assert.h (SIM_ASSERT, ASSERT): Allow these macros to
153 Wed Apr 9 16:06:44 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
155 * sim-basics.h: Only bring in config.h and tconfig.h if
158 Mon Apr 7 11:39:45 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
160 * sim-config.h (WITH_TARGET_WORD_MSB): New Macro. Define the bit
161 numbering convention of the target.
162 * sim-config.c (print_sim_config): Print WITH_TARGET_WORD_BITSIZE
163 and WITH_TARGET_WORD_MSB.
164 (sim_config): When possible, check for consistency with bitsize
167 * sim-bits.h: Allow MSB to be other than zero.
169 * sim-n-bits.h: Ditto.
171 * sim-bits.h (MSMASK*): New macros - converce to LSMASK*.
172 * sim-n-bits.h (MSMASKEDn): Ditto.
174 Mon Apr 14 16:29:21 1997 Ian Lance Taylor <ian@cygnus.com>
176 * Makefile.in (INSTALL): Change install.sh to install-sh.
178 Mon Apr 7 10:46:38 1997 Doug Evans <dje@canuck.cygnus.com>
180 * sim-base.h (sim_state_base): Move `magic' to end of struct.
182 Mon Apr 7 15:53:21 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
184 * run.c (main): Check that a program to run was specified.
186 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
188 * aclocal.m4 (AC_TYPE_SIGNAL): Add check.
190 * configure: Regenerated to track ../common/aclocal.m4 changes.
193 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
195 * sim-endian.h: Move host {LITTLE,BIG}_ENDIAN support from here,
196 * sim-config.h: To here.
198 * Make-common.in (SIM_EXTRA_DEPS): New config var.
199 (sim_main_headers): Define.
200 (sim-*.o): Depend on $(SIM_EXTRA_DEPS).
201 (BUILT_SRC_FROM_COMMON): Move here from ../d30v/Makefile.in.
203 (sim-utils.o): Add rule for.
204 * sim-utils.o: New file.
205 * sim-basics.h: #include sim-base.h.
206 (zalloc): Make argument unsigned long.
207 * sim-base.h: New file.
208 * sim-inline.h (SIM_IO support): Delete.
209 * sim-io.h: Delete inline support.
210 * sim-io.c: Likewise. sim-state.h renamed to sim-main.h.
211 * sim-config.c: sim-state.h renamed to sim-main.h.
212 * sim-core.c: Likewise.
213 * sim-events.c: Likewise.
215 * run.c (main): Pass SIM_OPEN_STANDALONE to sim_open.
217 * aclocal.m4: Check for stdlib.h, string.h, strings.h, unistd.h.
218 (sim-debug): Allow arguments. Define WITH_DEBUG in addition to
220 * configure: Regenerated to track ../common/aclocal.m4 changes.
222 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
224 * configure: Regenerated to track ../common/aclocal.m4 changes.
226 Wed Apr 2 11:08:11 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
228 * sim-config.h (WITH_ALIGNMENT, WITH_FLOATING_POINT,
229 WITH_XOR_ENDIAN, WITH_SMP, WITH_RESERVED_BITS): Assume that these
230 are defined by the configure.
232 * aclocal.m4 (sim-stdio): Add option stdio from ../ppc configure.
234 * aclocal.m4 (floating-point, xor-endian, alignment, smp,
235 reserved-bits): Always define.
237 * sim-config.h, sim-config.c (sim_config): New function - and new
238 file - co-ordinate the setting/checking of the common simulator
239 configuration options.
241 * Make-common.in (sim-config.o): Add rule.
243 Fri Mar 28 15:32:00 1997 Mike Meissner <meissner@cygnus.com>
245 * callback.c (os_{,e}vprintf_filtered): Change stdarg type to
246 va_list from void *, since va_list might not be a pointer type.
248 Mon Mar 24 15:27:12 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
250 * sim-n-endian.h (offset_N): Correct assertion - word and sub word
252 (offset_N): Correct computation of LE offset.
254 * sim-io.c (sim_io_error): Include a new line when reporting
257 * sim-assert.h (SIM_FILTER_PATH): Out by one when locating last
260 Thu Mar 20 22:31:06 1997 Jeffrey A Law (law@cygnus.com)
262 * run.c: Include alloca-conf.h.
264 * callback.c (os_evprintf_filtered): Fix typo.
266 Fri Mar 21 13:36:20 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
268 * run.c (string.h, strings.h, stdlib.h): Include.
270 * sim-events.c (sim_events_tick): Recent cleanup failed to return
271 0 when nothing pending.
273 * run.c (sim_size, sim_trace): Plicate GCC - these two functions
274 will soon be going away.
275 (getopt): Plicate GCC.
277 * sim-endian.c (sim-io.h): Plicate GCC.
278 * sim-bits.c (sim-io.h): Ditto.
279 * sim-n-bits.h (ROTn): Ditto.
281 * sim-io.c (sim_io_error): Correct check for NULL.
283 * sim-assert.h (SIM_FILTER_PATH): Separate out the code filtering
285 * sim-events.c: Use SIM_FILTER_PATH to filter out the filename
288 Wed Mar 19 01:12:06 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
290 * aclocal.m4 (SIM_AC_OPTION_*: Move so that they are outside of
291 SIM_AC_COMMON - SIM_AC_COMMON was gobling arguments.
293 Tue Mar 18 20:48:12 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
295 * sim-alu.h: Include sim-xcat.h.
297 Tue Mar 18 13:58:18 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
299 * Make-common.in (sim-bits.c, sim-core.c, sim-endian.c,
300 sim-events.c, sim-inline.c, sim-io.c): Define rules for building
303 * sim-events.c (sim_events_at_large_int): New function. Just
304 schedules an event every large-int ticks.
305 (sim_events_init): Call.
306 (sim_events_tick, sim_events_process): Move async handing to
307 sim_events_process. Move timer decrement so that it occures after
308 events have been processed.
310 * sim-basics.h (struct _engine): Remove declaration.
312 * sim-events.h, sim-events.c: Rename type to sim_events. Prefix
313 everything with same. Rename global struct to SIM_DESC.
314 * sim-core.h, sim-core.c, sim-n-core.c: Ditto for sim_core.
315 * sim-io.h, sim-io.c: Ditto.
317 * sim-assert.h: New file. Optional assertion checking macros.
318 * sim-io.c (sim_io_error): Make just this function tolerant to
321 * sim-xcat.h: New file. Define concatenate macros.
322 * sim-basics.h (XCONCAT*): Move to sim-xcat.h.
323 * sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Explicitly include
327 Tue Mar 18 12:44:55 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
329 * sim-bits.h (LSMASK): New macro. Create mask of LS bits.
331 Mon Mar 17 18:10:05 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
333 * sim-inline.h: Add definitions for sim-types.
334 (ALL_BY_MODULE): New macro, encapsulate full inlining by the
337 Mon Mar 17 15:38:27 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
339 * sim-events.h: Remove defunct reference to callback struct.
341 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
343 * configure: Re-generate.
345 Mon Mar 17 15:04:47 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
347 * Make-common.in (CSEARCH): Do not include the gdb directory in
350 Mon Mar 17 13:16:26 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
352 * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE,
353 SIM_WARNING): Drop, requiring the simulator specific Makefile.in
354 to explicitly incorporate these.
356 * aclocal.m4 (--enable-sim-alignment); New option. Strongly
357 specify the alignment restrictions of the target architecture -
358 without this option all alignment restrictions are accomodated.
359 (--enable-sim-assert): New option. Conditionally compile in
360 assertion statements.
361 (--enable-sim-float): New option. Strongly specify the target's
362 floating point support.
363 (--enable-sim-hardware): New option. Specify the hardware devices
364 included in the simulation.
365 (--enable-sim-packages): New option. Specify the hardware
366 packages included in the simulation.
367 (--enable-sim-regparm): New option. Specify that parameters be
368 passed in registers instead of on the stack.
369 (--enable-sim-reserved-bits): New option. Specify that reserved
370 bits within an instruction are are correctly set.
371 (--enable-sim-smp): New option. Specify the level of SMP support
372 to be included in the simulator.
373 (--enable-sim-stdcall): New option. Specify an alternative
374 function call convention.
375 (--enable-sim-xor-endian): New option. Configure xor-endian
376 support used by some targets to implement bi-endian support.
378 Fri Mar 14 19:51:21 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
380 * aclocal.m4 (--enable-sim-hostendian): New option. Allow the
381 host endianness to be overridden.
382 (--enable-sim-endian): Allow the target platform's byte order
384 (--enable-sim-inline): Control the inlining of common components.
385 (--enable-sim-bswap): For compatibility, also define WITH_BSWAP.
386 (--enable-sim-warnings): Enable additional GCC compiler checks.
387 * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE,
390 * sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Rename from
391 sim-*-n.h so that the names are uniq on dos machines
392 * sim-core.c, sim-bits.c, sim-endian.c: Update.
394 Thu Mar 13 12:32:42 1997 Doug Evans <dje@canuck.cygnus.com>
396 * run.c: #include "libiberty.h".
397 (main): New locals sd,no_args,sim_argv.
398 Run buildargv on -a option. Pass argv to sim_open, argv[0]
399 is program name. Update call to sim_set_callbacks.
400 Record result of sim_open, pass to other sim_foo routines.
402 Thu Mar 13 10:24:05 1997 Michael Meissner <meissner@cygnus.com>
404 * callback.c (os_printf_filtered): Do not call exit(1) or print a
407 Thu Mar 6 15:50:28 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
409 * callback.c: Add os_flush_stdout and vprintf_filtered callbacks.
410 Route stdout through buffered IO.
412 * callback.c: Add os_flush_stderr, os_write_stderr,
413 os_evprintf_filtered functions to route error output through
416 * sim-io.h, sim-io.c (sim_io_flush_stderr, sim_io_flush_stdout):
417 Correct return type - should be void.
419 Fri Mar 7 20:14:37 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
421 * sim-basics.h: Clean up. Many macro's moved to sim-inline.h.
423 * sim-config.h: Ditto. For some options - eg WITH_DEVICES - do
424 not provide a default value as undefined indicates disable code.
426 Thu Mar 6 15:50:28 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
428 * sim-core.h, sim-core-n.h, sim-core.c: Borrow code from ppc
430 * sim-events.h, sim-events.c: Ditto.
431 * sim-io.h, sim-io.c: Ditto.
433 Tue Mar 4 09:35:56 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
435 * sim-alu.h (ALU_SUB_CA, ALU*_SUB_CA): New alu operation.
437 * sim-bits.h, sim-bits-n.h, sim-bits.c (LSMASKED*): New macro's
438 extract the tail or least signifiant bits from an integer of the
441 * sim-bits.h, sim-bits.c: Clean up conditionally compiled #if
442 WITH_TARGET_BITSIZE so that the compilation will fail when an
443 unsupported bitsize value is defined.
445 (INSERTED*): Convert to functions.
448 (SIGN_EXTEND, SEXT): Change to more terse name.
450 Tue Mar 4 09:35:56 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
452 * sim-inline.h: Allow explicit control over which .c files will be
453 included by their header.
455 * sim-inline.h: Allow explicit control over which .c files use the
456 alternative - REGPARM - parameter passing mechanism.
458 * sim-inline.h, sim-inline.c: Don't attempt to include any of
459 icache.c, idecode.c, semantics.c or support.c. Those names are
460 not generally applicable.
462 Thu Feb 27 10:17:23 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
464 * sim-bits.c, sim-bits-n.h (new): Split sim-bits.c into two parts
465 in a fashion similar to sim-endian-n.
467 * sim-endian.h: (H_word, L_word, AL_*, VL_*): Extend to include
468 both value and address macro's.
470 Tue Feb 25 18:51:57 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
472 * sim-alu.h (ALU16_BEGIN, ALU16_SET, ...): Fill in.
474 * sim-endian.h (L_word, H_word): Replace MS2W_4, LS2W_4 with more
475 generic L_word, H_word macro's.
477 Thu Feb 20 18:36:55 1997 Andrew Cagney <cagney@critters.cygnus.com>
479 * sim-basics.h: Borrow code from ppc directory.
482 * sim-config.h: Ditto.
483 * sim-endian-n.h: Ditto.
484 * sim-endian.c: Ditto.
485 * sim-endian.h: Ditto.
486 * sim-inline.c: Ditto.
487 * sim-inline.h: Ditto.
488 * sim-types.h: Ditto.
490 Wed Feb 19 12:40:50 1997 Andrew Cagney <cagney@critters.cygnus.com>
492 * sim-alu.h (ALU_SET16, ALU_SET32, ALU_SET64, etc): Make available
493 all the ALU size alternatives and then auto-configure a default.
495 * sim-alu.h: Copy ppc/idecode_expression.h.
497 Mon Feb 17 10:44:18 1997 Andrew Cagney <cagney@critters.cygnus.com>
499 * bits.h, bits.c (SIGN_EXTEND32, SIGN_EXTEND64): New functions,
500 sign extend a bit within a value.
502 * sim-endian.h, sim-endian-n.h (offset_N): New functions - return
503 a pointer into the middle of a host word.
504 * sim-endian.h (MS2W_4, LS2W_4): Use this function.
506 Tue Feb 11 13:46:49 1997 Michael Meissner <meissner@tiktok.cygnus.com>
508 * callback.c: If HAVE_CONFIG_H is defined, include config.h from
509 autoconf. If HAVE_UNISTD_H is defined, include unistd.h to get
510 appropriate definitions of read, write, etc. Add prototype for
513 Tue Feb 4 13:24:44 1997 Doug Evans <dje@canuck.cygnus.com>
515 * Makefile.in (libcommon.a): Delete.
516 (callback.o,targ-map.o): Delete, moved to Make-common.in.
517 (gentmap,targ-vals.h,targ-map.c): Likewise.
518 (run-autoconf): Delete.
519 * aclocal.m4 (SIM_AC_OUTPUT): Redo creation of Makefile.
520 (common makefile fragment): Moved back into ...
521 * Make-common.in: Resurrect.
522 * configure.in (AC_LINK_FILES): Delete, unnecessary now.
523 * configure: Regenerated.
525 Fri Jan 31 07:16:49 1997 Doug Evans <dje@canuck.cygnus.com>
527 * aclocal.m4 (SIM_AC_COMMON): Move COMMON_MAKEFILE_FRAG from here.
528 (SIM_AC_OUTPUT): To here.
530 Fri Jan 24 10:37:17 1997 Stu Grossman (grossman@critters.cygnus.com)
532 * aclocal.m4 (COMMON_MAKEFILE_FRAG): Quote a couple of $'s in
533 comments and single quotes. Fixes a problem found on hpux.
535 Thu Jan 23 13:35:03 1997 Stu Grossman (grossman@critters.cygnus.com)
537 * aclocal.m4: Remove Make-common.in from dependencies.
538 * (distclean): Remove targ-vals.def.
540 * aclocal.m4 (SIM_AC_COMMON): Move contents of Make-common.in
541 into here. Makes insertion into makefiles easier. Also, change
542 the way that callback.o, gentmap, targ-vals.h, targ-map.c,
543 targ-map.o, and run are built. They are now built in the
544 individual simulator directories, taking sources from ../common as
545 necessary. This replaces the merging of libcommon.a into
546 linsim.a, which was problematic for the WinGDB build process.
547 * run.c: Include config.h from . instead of ../common.
548 * Make-common.in: Remove. It's no longer necessary.
550 Mon Dec 16 15:02:33 1996 Ian Lance Taylor <ian@cygnus.com>
552 * Make-common.in (ALL_CLAGS): Put CFLAGS at the end.
553 (.c.o): Put $(ALL_CFLAGS) before the file being compiled.
555 Wed Dec 11 11:30:58 1996 Jim Wilson <wilson@cygnus.com>
557 * run.c (main): Set target_byte_order before call to sim_open.
559 Sun Dec 8 18:22:06 1996 Doug Evans <dje@canuck.cygnus.com>
561 * callback.c: #include <stdlib.h>
562 (os_error): New function.
563 (default_callback): Add os_error.
565 Mon Nov 25 19:44:35 1996 Doug Evans <dje@canuck.cygnus.com>
567 * Make-common.in (Makefile): Set CONFIG_HEADERS="".
568 * aclocal.m4: Mark the fact that --enable-sim-bswap isn't host
570 (SIM_AC_OUTPUT): Don't build Makefile if CONFIG_FILES="".
572 Wed Nov 20 01:11:04 1996 Doug Evans <dje@canuck.cygnus.com>
574 * run.c: #include ../common/config.h, tconfig.h.
575 (myname): New static global.
576 (main): Recognize new options -a, -c. Also recognize -h if h8/300.
577 Only process -c ifdef SIM_HAVE_SIMCACHE.
578 Only process -p/-s ifdef SIM_HAVE_PROFILE.
579 Parse program name from argv[0] and use in error messages.
580 Pass sim_args to sim_open. Pass prog_args to sim_create_inferior.
581 Add support for incomplete h8/300 termination indicators.
582 (usage): Make more verbose.
583 * aclocal.m4,config.in,tconfig.in,configure.in,configure: New files.
584 * Makefile.in,Make-common.in,callback.c: New files.
585 * nltvals.def,gentmap.c,gentvals.sh: New files.
587 Tue Nov 12 13:34:00 1996 Dawn Perchik <dawn@cygnus.com>
589 * run.c: Include stdarg.h if __STDC__.
591 Tue Oct 15 11:16:31 1996 Jeffrey A Law (law@cygnus.com)
593 * run.c (main): Don't print out anything if the signal
594 number is zero (ie no signal).
596 Tue Oct 15 11:20:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
598 * run.c (main): Print out if the program raised a signal.
600 Wed Sep 18 09:52:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
602 * run.c (exec_bfd): Rename from sim_bfd, to use the gdb name.
605 Tue Sep 17 11:04:50 1996 James G. Smith <jsmith@cygnus.co.uk>
607 * run.c (main): Explicitly cast malloc() parameter.
609 Thu Sep 12 11:27:21 1996 Michael Meissner <meissner@tiktok.cygnus.com>
611 * run.c (sim_bfd): New global to hold the bfd pointer for the
613 (main): Initialize sim_bfd.
615 Fri Dec 15 16:27:49 1995 Ian Lance Taylor <ian@cygnus.com>
617 * run.c (main): Use new bfd_big_endian macro.
619 Wed Nov 8 15:49:49 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
621 * run.c (main): Removed SH specific comments, so source is
622 generic. Also updated to only load relevant sections. Moved
623 sim_open() to after callback attach (to match GDB).
625 * run.1: Removed SH specific comments.
627 Sat Oct 21 12:31:01 1995 Jim Wilson <wilson@chestnut.cygnus.com>
629 * run.c (main): Always return sigrc at end.
631 Tue Oct 10 12:03:13 1995 J.T. Conklin <jtc@rtl.cygnus.com>
633 * run.c (main): Print error diagnostic and exit if bfd_openr() or
634 bfd_check_format() fails.
636 Thu Sep 28 15:40:36 1995 steve chamberlain <sac@slash.cygnus.com>
638 * run.c, run.1: From sh directory.