* configure: Re-generate.
[platform/upstream/binutils.git] / sim / common / ChangeLog
1 Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
2
3         * configure: Re-generate.
4
5 Mon Mar 17 15:04:47 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
6
7         * Make-common.in (CSEARCH): Do not include the gdb directory in
8         the search path.
9
10 Mon Mar 17 13:16:26 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
11
12         * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE,
13         SIM_WARNING): Drop, requiring the simulator specific Makefile.in
14         to explicitly incorporate these.
15
16         * aclocal.m4 (--enable-sim-alignment); New option. Strongly
17         specify the alignment restrictions of the target architecture -
18         without this option all alignment restrictions are accomodated.
19         (--enable-sim-assert): New option.  Conditionally compile in
20         assertion statements.
21         (--enable-sim-float): New option. Strongly specify the target's
22         floating point support.
23         (--enable-sim-hardware): New option.  Specify the hardware devices
24         included in the simulation.
25         (--enable-sim-packages): New option.  Specify the hardware
26         packages included in the simulation.
27         (--enable-sim-regparm): New option.  Specify that parameters be
28         passed in registers instead of on the stack.
29         (--enable-sim-reserved-bits): New option. Specify that reserved
30         bits within an instruction are are correctly set.
31         (--enable-sim-smp): New option. Specify the level of SMP support
32         to be included in the simulator.
33         (--enable-sim-stdcall): New option.  Specify an alternative
34         function call convention.
35         (--enable-sim-xor-endian): New option.  Configure xor-endian
36         support used by some targets to implement bi-endian support.
37         
38 Fri Mar 14 19:51:21 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
39
40         * aclocal.m4 (--enable-sim-hostendian): New option.  Allow the
41         host endianness to be overridden.
42         (--enable-sim-endian): Allow the target platform's byte order
43         to be overridden.
44         (--enable-sim-inline): Control the inlining of common components.
45         (--enable-sim-bswap): For compatibility, also define WITH_BSWAP.
46         (--enable-sim-warnings): Enable additional GCC compiler checks.
47         * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE,
48         SIM_WARNINGS): Add.
49         
50         * sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Rename from
51         sim-*-n.h so that the names are uniq on dos machines
52         * sim-core.c, sim-bits.c, sim-endian.c: Update.
53         
54 Thu Mar 13 12:32:42 1997  Doug Evans  <dje@canuck.cygnus.com>
55
56         * run.c: #include "libiberty.h".
57         (main): New locals sd,no_args,sim_argv.
58         Run buildargv on -a option.  Pass argv to sim_open, argv[0]
59         is program name.  Update call to sim_set_callbacks.
60         Record result of sim_open, pass to other sim_foo routines.
61
62 Thu Mar 13 10:24:05 1997  Michael Meissner  <meissner@cygnus.com>
63
64         * callback.c (os_printf_filtered): Do not call exit(1) or print a
65         final newline.
66
67 Thu Mar  6 15:50:28 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
68
69         * callback.c: Add os_flush_stdout and vprintf_filtered callbacks.
70         Route stdout through buffered IO.
71
72         * callback.c: Add os_flush_stderr, os_write_stderr,
73         os_evprintf_filtered functions to route error output through
74         stderr.
75         
76         * sim-io.h, sim-io.c (sim_io_flush_stderr, sim_io_flush_stdout):
77         Correct return type - should be void.
78
79 Fri Mar  7 20:14:37 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
80
81         * sim-basics.h: Clean up.  Many macro's moved to sim-inline.h.
82
83         * sim-config.h: Ditto.  For some options - eg WITH_DEVICES - do
84         not provide a default value as undefined indicates disable code.
85
86 Thu Mar  6 15:50:28 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
87
88         * sim-core.h, sim-core-n.h, sim-core.c: Borrow code from ppc
89         directory.
90         * sim-events.h, sim-events.c: Ditto.
91         * sim-io.h, sim-io.c: Ditto.
92         
93 Tue Mar  4 09:35:56 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
94         
95         * sim-alu.h (ALU_SUB_CA, ALU*_SUB_CA): New alu operation.
96
97         * sim-bits.h, sim-bits-n.h, sim-bits.c (LSMASKED*): New macro's
98         extract the tail or least signifiant bits from an integer of the
99         specified size.
100         
101         * sim-bits.h, sim-bits.c: Clean up conditionally compiled #if
102         WITH_TARGET_BITSIZE so that the compilation will fail when an
103         unsupported bitsize value is defined.
104
105         (INSERTED*): Convert to functions.
106         (EXTRACTED*): Ditto.
107         
108         (SIGN_EXTEND, SEXT): Change to more terse name.
109         
110 Tue Mar  4 09:35:56 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
111
112         * sim-inline.h: Allow explicit control over which .c files will be
113         included by their header.
114
115         * sim-inline.h: Allow explicit control over which .c files use the
116         alternative - REGPARM - parameter passing mechanism.
117         
118         * sim-inline.h, sim-inline.c: Don't attempt to include any of
119         icache.c, idecode.c, semantics.c or support.c.  Those names are
120         not generally applicable.
121         
122 Thu Feb 27 10:17:23 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
123
124         * sim-bits.c, sim-bits-n.h (new): Split sim-bits.c into two parts
125         in a fashion similar to sim-endian-n.
126
127         * sim-endian.h: (H_word, L_word, AL_*, VL_*): Extend to include
128         both value and address macro's.
129
130 Tue Feb 25 18:51:57 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
131
132         * sim-alu.h (ALU16_BEGIN, ALU16_SET, ...): Fill in.
133
134         * sim-endian.h (L_word, H_word): Replace MS2W_4, LS2W_4 with more
135         generic L_word, H_word macro's.
136
137 Thu Feb 20 18:36:55 1997  Andrew Cagney  <cagney@critters.cygnus.com>
138
139         * sim-basics.h: Borrow code from ppc directory.
140         * sim-bits.c: Ditto.
141         * sim-bits.h: Ditto.
142         * sim-config.h: Ditto.
143         * sim-endian-n.h: Ditto.
144         * sim-endian.c: Ditto.
145         * sim-endian.h: Ditto.
146         * sim-inline.c: Ditto.
147         * sim-inline.h: Ditto.
148         * sim-types.h: Ditto.
149
150 Wed Feb 19 12:40:50 1997  Andrew Cagney  <cagney@critters.cygnus.com>
151
152         * sim-alu.h (ALU_SET16, ALU_SET32, ALU_SET64, etc): Make available
153         all the ALU size alternatives and then auto-configure a default.
154         
155         * sim-alu.h: Copy ppc/idecode_expression.h.
156
157 Mon Feb 17 10:44:18 1997  Andrew Cagney  <cagney@critters.cygnus.com>
158
159         * bits.h, bits.c (SIGN_EXTEND32, SIGN_EXTEND64): New functions,
160         sign extend a bit within a value.
161
162         * sim-endian.h, sim-endian-n.h (offset_N): New functions - return
163         a pointer into the middle of a host word.
164         * sim-endian.h (MS2W_4, LS2W_4): Use this function.
165         
166 Tue Feb 11 13:46:49 1997  Michael Meissner  <meissner@tiktok.cygnus.com>
167
168         * callback.c: If HAVE_CONFIG_H is defined, include config.h from
169         autoconf.  If HAVE_UNISTD_H is defined, include unistd.h to get
170         appropriate definitions of read, write, etc.  Add prototype for
171         system.
172
173 Tue Feb  4 13:24:44 1997  Doug Evans  <dje@canuck.cygnus.com>
174
175         * Makefile.in (libcommon.a): Delete.
176         (callback.o,targ-map.o): Delete, moved to Make-common.in.
177         (gentmap,targ-vals.h,targ-map.c): Likewise.
178         (run-autoconf): Delete.
179         * aclocal.m4 (SIM_AC_OUTPUT): Redo creation of Makefile.
180         (common makefile fragment): Moved back into ...
181         * Make-common.in: Resurrect.
182         * configure.in (AC_LINK_FILES): Delete, unnecessary now.
183         * configure: Regenerated.
184
185 Fri Jan 31 07:16:49 1997  Doug Evans  <dje@canuck.cygnus.com>
186
187         * aclocal.m4 (SIM_AC_COMMON): Move COMMON_MAKEFILE_FRAG from here.
188         (SIM_AC_OUTPUT): To here.
189
190 Fri Jan 24 10:37:17 1997  Stu Grossman  (grossman@critters.cygnus.com)
191
192         * aclocal.m4 (COMMON_MAKEFILE_FRAG):  Quote a couple of $'s in
193         comments and single quotes.  Fixes a problem found on hpux.
194
195 Thu Jan 23 13:35:03 1997  Stu Grossman  (grossman@critters.cygnus.com)
196
197         * aclocal.m4:  Remove Make-common.in from dependencies.
198         * (distclean):  Remove targ-vals.def.
199
200         * aclocal.m4 (SIM_AC_COMMON):  Move contents of Make-common.in
201         into here.  Makes insertion into makefiles easier.  Also, change
202         the way that callback.o, gentmap, targ-vals.h, targ-map.c,
203         targ-map.o, and run are built.  They are now built in the
204         individual simulator directories, taking sources from ../common as
205         necessary.  This replaces the merging of libcommon.a into
206         linsim.a, which was problematic for the WinGDB build process.
207         * run.c:  Include config.h from . instead of ../common.
208         * Make-common.in:  Remove.  It's no longer necessary.
209
210 Mon Dec 16 15:02:33 1996  Ian Lance Taylor  <ian@cygnus.com>
211
212         * Make-common.in (ALL_CLAGS): Put CFLAGS at the end.
213         (.c.o): Put $(ALL_CFLAGS) before the file being compiled.
214
215 Wed Dec 11 11:30:58 1996  Jim Wilson  <wilson@cygnus.com>
216
217         * run.c (main): Set target_byte_order before call to sim_open.
218
219 Sun Dec  8 18:22:06 1996  Doug Evans  <dje@canuck.cygnus.com>
220
221         * callback.c: #include <stdlib.h>
222         (os_error): New function.
223         (default_callback): Add os_error.
224
225 Mon Nov 25 19:44:35 1996  Doug Evans  <dje@canuck.cygnus.com>
226
227         * Make-common.in (Makefile): Set CONFIG_HEADERS="".
228         * aclocal.m4: Mark the fact that --enable-sim-bswap isn't host
229         specific.
230         (SIM_AC_OUTPUT): Don't build Makefile if CONFIG_FILES="".
231
232 Wed Nov 20 01:11:04 1996  Doug Evans  <dje@canuck.cygnus.com>
233
234         * run.c: #include ../common/config.h, tconfig.h.
235         (myname): New static global.
236         (main): Recognize new options -a, -c.  Also recognize -h if h8/300.
237         Only process -c ifdef SIM_HAVE_SIMCACHE.
238         Only process -p/-s ifdef SIM_HAVE_PROFILE.
239         Parse program name from argv[0] and use in error messages.
240         Pass sim_args to sim_open.  Pass prog_args to sim_create_inferior.
241         Add support for incomplete h8/300 termination indicators.
242         (usage): Make more verbose.
243         * aclocal.m4,config.in,tconfig.in,configure.in,configure: New files.
244         * Makefile.in,Make-common.in,callback.c: New files.
245         * nltvals.def,gentmap.c,gentvals.sh: New files.
246
247 Tue Nov 12 13:34:00 1996  Dawn Perchik  <dawn@cygnus.com>   
248
249         * run.c: Include stdarg.h if __STDC__.
250
251 Tue Oct 15 11:16:31 1996  Jeffrey A Law  (law@cygnus.com)
252
253         * run.c (main): Don't print out anything if the signal
254         number is zero (ie no signal).
255
256 Tue Oct 15 11:20:44 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
257
258         * run.c (main): Print out if the program raised a signal.
259
260 Wed Sep 18 09:52:14 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
261
262         * run.c (exec_bfd): Rename from sim_bfd, to use the gdb name.
263         (main): Ditto.
264
265 Tue Sep 17 11:04:50 1996  James G. Smith  <jsmith@cygnus.co.uk>
266
267         * run.c (main): Explicitly cast malloc() parameter.
268
269 Thu Sep 12 11:27:21 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
270
271         * run.c (sim_bfd): New global to hold the bfd pointer for the
272         executable.
273         (main): Initialize sim_bfd.
274
275 Fri Dec 15 16:27:49 1995  Ian Lance Taylor  <ian@cygnus.com>
276
277         * run.c (main): Use new bfd_big_endian macro.
278
279 Wed Nov  8 15:49:49 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
280
281         * run.c (main): Removed SH specific comments, so source is
282         generic. Also updated to only load relevant sections. Moved
283         sim_open() to after callback attach (to match GDB).
284
285         * run.1: Removed SH specific comments.
286
287 Sat Oct 21 12:31:01 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
288
289         * run.c (main): Always return sigrc at end.
290
291 Tue Oct 10 12:03:13 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
292
293         * run.c (main): Print error diagnostic and exit if bfd_openr() or
294         bfd_check_format() fails.
295
296 Thu Sep 28 15:40:36 1995  steve chamberlain  <sac@slash.cygnus.com>
297
298         * run.c, run.1: From sh directory.
299
300