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