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