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