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