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