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