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