Commit | Line | Data |
---|---|---|
eb5f3fcd MM |
1 | Wed Nov 19 13:25:48 1997 Michael Meissner <meissner@cygnus.com> |
2 | ||
3 | * sim-alu.h (ALU{32,64}_*): Rewrite 32 and 64 bit ALU support to | |
4 | correctly set the carry and overflow bits for those types. | |
5 | (ALU{8,16,32,64}_{ADD,SUB}_CA): Take VAL argument to add along | |
6 | with carry, so carry is correct after doing both adds. | |
7 | (ALU*): Space out '\' to make it easier to read. | |
8 | ||
e5ce1670 DE |
9 | Tue Nov 18 15:53:45 1997 Doug Evans <devans@canuck.cygnus.com> |
10 | ||
a4b44a2b DE |
11 | * sim-core.c (sim_core_signal): Use sim_stopped instead of |
12 | sim_signalled. | |
13 | ||
1ebc7e0e DE |
14 | * sim-signal.c, sim-signal.h: New files. |
15 | * Make-common.in (sim-signal.o): Add rule for. | |
16 | (SIM_NEW_COMMON_OBJS): Add sim-signal.o. | |
17 | * sim-abort.c: Don't include <signal.h>. | |
18 | * sim-basics.h: #include "sim-signal.h". | |
19 | * sim-break.c: Don't include <signal.h>. | |
20 | (sim_handle_breakpoint): Replace SIGTRAP with SIM_SIGTRAP. | |
21 | * sim-core.c: Don't include <signal.h>. | |
22 | (SIGBUS): Delete definition. | |
23 | (sim_core_signal): Replace SIGSEGV,SIGBUS with SIM_SIGSEGV,SIM_SIGBUS. | |
24 | * sim-engine.c: Don't include <signal.h>. | |
25 | (sim_engine_abort): Replace SIGABRT with SIM_SIGABRT. | |
26 | * sim-reason.c (sim_stop_reason): Call sim_signal_to_host. | |
27 | * sim-resume.c: Don't include <signal.h>. | |
28 | (SIGTRAP): Delete definition. | |
29 | (has_stepped): Replace SIGTRAP with SIM_SIGTRAP. | |
30 | * sim-stop.c: Don't include <signal.h>. | |
31 | (control_c_simulation): Replace SIGINT with SIM_SIGINT. | |
32 | * sim-watch.c: Don't include <signal.h>. | |
33 | (handle_watchpoint): Replace SIGINT with SIM_SIGINT. | |
34 | ||
e5ce1670 DE |
35 | * Make-common.in (SIM_NEW_COMMON_OBJS): New variable. |
36 | ||
37 | * sim-base.h (CIA_ADDR): Provide default definition. | |
340d8e20 | 38 | * sim-core.c (sim_core_signal): Use CIA_ADDR to fetch value. |
13c9499d | 39 | * sim-break.c (sim_handle_breakpoint): Likewise. |
e5ce1670 | 40 | |
f7abc1ca DE |
41 | Mon Nov 17 14:15:31 1997 Doug Evans <devans@seba.cygnus.com> |
42 | ||
38377b3a DE |
43 | * Make-common.in (srccom): New variable. |
44 | ||
f7abc1ca DE |
45 | * Make-common.in (DEP, COMMON_DEP_CFLAGS): Define. |
46 | (LIB_OBJS): Add syscall.o. | |
47 | (gentmap): Pass $(NL_TARGET) to $(CC). | |
48 | (syscall.o): Add rule for. | |
49 | (sim_main_headers): Add $(SIM_EXTRA_DEPS). | |
50 | (sim-bits.o): Depend on $(sim-n-bits_h). | |
51 | (sim-load.o): Depend on callback.h. | |
52 | ||
53 | * Make-common.in (cgen-*.o): Update dependencies, mem-ops.h renamed to | |
54 | cgen-mem.h, sem-ops.h renamed to cgen-ops.h. | |
55 | * cgen-mem.h, cgen-ops.h: New files. | |
56 | ||
57 | * aclocal.m4 (--enable-sim-scache): Pass -DWITH_SCACHE=0 for "=no". | |
58 | ||
59 | * Makefile.in (nltvals.def): Depend on gennltvals.sh. | |
60 | Rewrite build rule. | |
61 | * callback.c: #include string.h or strings.h. | |
62 | #include sys/types.h and sys/stat.h. | |
63 | (cb_init_syscall_map,cb_init_errno_map,cb_init_open_map): Declare. | |
64 | (enosys): New function. | |
65 | (os_get_errno,os_open): Update. | |
66 | (os_stat,os_fstat): New functions. | |
67 | (os_init): Initialize syscall_map, errno_map, open_map. | |
68 | (default_callback): Add entries for os_stat, os_fstat, syscall_map, | |
69 | errno_map, open_map, signal_map, stat_map. | |
70 | (cb_read_target_syscall_maps): New function. | |
71 | (cb_target_to_host_syscall): New function. | |
72 | (cb_host_to_target_errno): Renamed from host_to_target_errno. | |
73 | (cb_target_to_host_open): Renamed from target_to_host_open. | |
74 | (store): New function. | |
75 | (cb_host_to_target_stat): New function. | |
76 | * syscall.c: New file. | |
77 | * gentmap.c (sys_tdefs): New global. | |
78 | (gen_targ_vals_h): Output target syscall numbers. | |
79 | (gen_targ_map_c): Update. Output target syscall translation map. | |
80 | * gentvals.sh: New first argument `target'. Preface table with | |
81 | #ifdef NL_TARGET_$target if non-null target passed. | |
82 | * gennltvals.sh: New file. | |
83 | * nltvals.def: Regenerated. | |
84 | ||
85 | Fri Nov 14 11:33:34 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
86 | ||
87 | * sim-n-core.h (sim_core_read_unaligned_N): Return static | |
88 | sim_core_dummy_M. | |
89 | (sim_core_dummy_M): Declare. | |
90 | ||
91 | Wed Nov 12 18:16:15 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
92 | ||
93 | * sim-core.c (sim_core_signal): Print the address of the | |
94 | instruction. | |
95 | ||
9e8a900a DE |
96 | Thu Nov 13 11:49:41 1997 Doug Evans <devans@seba.cygnus.com> |
97 | ||
98 | * sim-base.h (sim_state_base): Move `magic' to end of struct. | |
99 | ||
100 | * sim-base.h (sim_state_base): Add member trace_data. | |
101 | (STATE_TRACE_DATA): New macro. | |
102 | * sim-trace.h (TRACE_DEBUG_IDX,TRACE_debug): New macros. | |
103 | ({WITH_,}TRACE_DEBUG_P): New macros. | |
104 | (STATE_TRACE_FLAGS,STRACE_P,STRACE_DEBUG_P): New macros. | |
105 | (_sim_cpu): Delete forward reference. | |
106 | (debug_printf): Update. | |
107 | * sim-trace.c (OPTION_TRACE_DEBUG): Define. | |
108 | (trace_options): Add --trace-debug. | |
109 | (set_trace_options): Handle it. | |
110 | (trace_option_handler): Likewise. | |
111 | (trace_install): Init state trace_data struct. | |
112 | (trace_uninstall): Close state trace file. | |
113 | * sim-events.c (ETRACE): Only print source file and line number if | |
114 | --trace-debug. | |
115 | * sim-n-core.h (sim_core_trace_M): Likewise. | |
116 | ||
117 | * sim-core.c (sim_core_signal): Add missing "\n" in message. | |
118 | ||
c7e3f734 FL |
119 | 1997-11-13 Felix Lee <flee@cygnus.com> |
120 | ||
121 | * sim-n-core.h (sim_core_read_unaligned_N): illegal empty | |
122 | initializer. | |
123 | * sim-types.h (unsigned128,signed128): fix typo for MSVC. | |
124 | ||
15f5035c DE |
125 | Wed Nov 12 12:18:08 1997 Doug Evans <devans@canuck.cygnus.com> |
126 | ||
127 | * aclocal.m4 (SIM_AC_OPTION_SCACHE): Fix typo. | |
128 | ||
5dcf955d DE |
129 | * Make-common.in (BUILT_SRC_FROM_COMMON): Remove files no longer |
130 | built this way. | |
131 | (sim-config.o): Remove non-existent $(sim-nconfig_h) dependency. | |
132 | (clean): Don't delete $(BUILT_SRC_FROM_COMMON) if building in | |
133 | source tree. | |
134 | ||
f445a890 AC |
135 | Tue Nov 11 13:28:02 1997 Andrew Cagney <cagney@b1.cygnus.com> |
136 | ||
137 | * sim-events.c (sim_events_process): Re-compute the time - | |
138 | update_time_from_event - as each event is processed. Reverses | |
139 | previous change. | |
140 | ||
8cb060b6 AC |
141 | Fri Nov 7 00:37:36 1997 Andrew Cagney <cagney@b1.cygnus.com> |
142 | ||
143 | * callback.c (os_poll_quit): Replace _WIN32 with _MSC_VER. | |
144 | ||
549bf950 AC |
145 | Fri Nov 7 00:37:36 1997 Andrew Cagney <cagney@b1.cygnus.com> |
146 | ||
147 | * sim-events.c (sim_events_process): Delete redundant call to | |
148 | update_time_from_event. | |
149 | (sim_events_slip): Always decrement time_from_event. | |
150 | (sim_events_tick, sim_events_deschedule, update_time_from_event): | |
151 | Delete assertion that time_from_event >=0 when work in queue, no | |
152 | longer applicable. | |
153 | ||
864519b9 AC |
154 | Thu Nov 6 12:06:46 1997 Andrew Cagney <cagney@b1.cygnus.com> |
155 | ||
156 | * sim-options.c (STANDARD_OPTIONS): Change OPTION_* to an enum. | |
157 | (standard_option_handler): Update. | |
158 | ||
159 | * sim-options.h: Clarify documentation. | |
160 | (OPTION_LONG_ONLY_P): Delete definition. | |
161 | (OPTION_VALID_P): Define. | |
162 | ||
163 | * sim-options.c (sim_print_help): Allow short only options. | |
164 | (sim_parse_args): Ditto. | |
165 | (sim_args_command): Skip short only options. | |
166 | (sim_parse_args): Allocate space for NUM_OPTS not just 256. Make | |
167 | separate entries for short and long options in the HANDLERS and | |
168 | ORIG_VAL tables. | |
169 | (sim_parse_args): Disable argument permutation. | |
170 | ||
63be8feb AC |
171 | Wed Nov 5 13:40:31 1997 Andrew Cagney <cagney@b1.cygnus.com> |
172 | ||
173 | * sim-core.h (DECLARE_SIM_CORE_WRITE_N. DECLARE_SIM_CORE_READ_N): | |
174 | Add argument M, size of data type. | |
175 | (sim_core_read_misaligned_3, sim_core_write_misaligned_3): | |
176 | Declare, ditto for 5, 6 & 7 byte transfers. | |
177 | (sim_core_write_unaligned_1, sim_core_write_unaligned_1): Define | |
178 | as aligned variant. | |
179 | ||
180 | * sim-n-core.h (sim_core_trace_M): Rename from | |
181 | sim_core_trace_N. Add nr_bytes argument. Replace transfer argument | |
182 | with transfer type. Print transfer direction. Handle 1 and 2 byte | |
183 | transfers. | |
184 | (sim_core_read_unaligned_N, sim_core_write_unaligned_N): Trace | |
185 | unaligned accesses. | |
186 | (unsigned_M, T2H_M, H2T_M): Rename from unsigned_N, T2H_N, H2T_N. | |
187 | Update all functions. | |
188 | ||
189 | * sim-core.c: Generate functions starting with 16 not 1. | |
190 | (sim_core_read_unaligned_3): Generate. Ditto for 3 byte write and | |
191 | all 5, 6 & 7 byte transfers. | |
192 | ||
193 | * sim-n-core.h (sim_core_read_misaligned_N, | |
194 | sim_core_write_misaligned_N): Implement. | |
195 | ||
a26ecda4 AC |
196 | Mon Nov 3 15:03:04 1997 Andrew Cagney <cagney@b1.cygnus.com> |
197 | ||
198 | * sim-endian.h (U16_8): Implement | |
199 | ||
200 | * sim-endian.c (sim_endian_split_16, sim_endian_join_16): New functions | |
201 | ||
202 | * sim-endian.h (VL8_16, VH8_16): Implement. | |
203 | ||
204 | * sim-memopt.c (memory_option_handler): Typecast 64bit value to | |
205 | long in printf. | |
206 | (memory_option_handler): Only zalloc modulo bytes when non-zero. | |
207 | (memory_option_handler): Skip comma in alias address list | |
208 | ||
fcc86d82 AC |
209 | Fri Oct 31 13:03:33 1997 Andrew Cagney <cagney@b1.cygnus.com> |
210 | ||
211 | * sim-memopt.c (do_memopt_add, do_memopt_delete): Add level and | |
212 | space params. | |
213 | (parse_size, parse_addr): New functions | |
214 | (memory_option_handler, memory_options): Parse address & size | |
215 | using new functions. Pass level, space, modulo to do_memopt_add & | |
216 | do_memopt_del. | |
217 | ||
218 | * sim-memopt.h (struct _sim_memopt): Add level & space fields. | |
219 | ||
220 | * sim-core.h (sim_core_arrach, sim_core_detach): Replace | |
221 | `attach_type attach' argument with `unsigned level' argument. | |
222 | Document. | |
223 | ||
224 | * sim-core.c (new_sim_core_mapping, sim_core_map_attach, | |
225 | sim_core_attach): Replace argument attach with level. Update | |
226 | verification of arguments. | |
227 | (sim_core_map_detach, sim_core_detach): Replace argument attach | |
228 | with level. | |
229 | ||
230 | * sim-basics.h (enum _attach_type): Delete. | |
231 | ||
d048b52d DE |
232 | Thu Oct 30 13:45:00 1997 Doug Evans <devans@seba.cygnus.com> |
233 | ||
234 | * sim-core.h (sim_core_write_8): Define. | |
235 | ||
a86809d3 AC |
236 | Tue Oct 28 12:29:22 1997 Andrew Cagney <cagney@b1.cygnus.com> |
237 | ||
01b9cd49 AC |
238 | * sim-bits.h: Document ROTn macro. |
239 | ||
89d09738 AC |
240 | * sim-endian.h (H2T): Handle 16 byte variables. |
241 | ||
242 | * sim-n-core.h (sim_core_read_unaligned_N): Return a dummy when an | |
243 | error. | |
244 | ||
a86809d3 AC |
245 | * sim-core.c: Do not generate sim_core_*_word. |
246 | ||
247 | * sim-n-core.h (sim_core_trace_N): Add line_nr argument. | |
248 | (sim_core_write_aligned_N, sim_core_read_aligned_N): Update. | |
249 | ||
250 | * sim-core.h (sim_core_read_unaligned_word, | |
251 | sim_core_read_aligned_word, sim_core_read_word, | |
252 | sim_core_write_unaligned_word, sim_core_write_aligned_word, | |
253 | sim_core_write_word): Change to macros that map onto sim_core_*_N. | |
254 | ||
374b95c1 DE |
255 | Mon Oct 27 11:25:10 1997 Doug Evans <devans@canuck.cygnus.com> |
256 | ||
257 | * sim-n-endian.h: Add TAGS entrys for 16 byte versions. | |
258 | ||
c3e3e4ad DE |
259 | * sim-endian.h: Disable 16 byte support. |
260 | ||
f45dd42b AC |
261 | Mon Oct 27 12:00:48 1997 Andrew Cagney <cagney@b1.cygnus.com> |
262 | ||
263 | * sim-endian.c (_SWAP_16): Define. Generate 126 bit swap code. | |
264 | ||
265 | * sim-n-core.h (sim_core_trace_N): New function. | |
266 | (sim_core_read_aligned_N, sim_core_write_aligned_N): Use, | |
267 | (sim_core_read_unaligned_N): Do not retyrn bogus value wden error. | |
268 | ||
269 | * sim-endian.h: Add 128 bit variant. | |
270 | ||
271 | * sim-core.h, sim-core.c: Add 128 bit variant. | |
272 | ||
273 | * sim-types.h: Add signed128 and unsigned128 types using a struct. | |
274 | ||
4a203fba AC |
275 | Fri Oct 24 11:33:07 1997 Andrew Cagney <cagney@b1.cygnus.com> |
276 | ||
277 | * sim-events.c (sim_events_process): Clear events->work_pending. | |
278 | (sim_events_tickn, sim_events_tick): Accumulate, instead of | |
279 | setting, nr_ticks_to_process. | |
280 | (sim_events_preprocess): Allow nr_ticks_to_process to be non-zero | |
281 | when the event queue isn't next. | |
282 | ||
283 | * sim-events.h, sim-events.c (sim_events_slip): New function. | |
284 | ||
9e03a68f AC |
285 | Wed Oct 22 14:18:38 1997 Andrew Cagney <cagney@b1.cygnus.com> |
286 | ||
287 | * sim-hload.c (sim_load): Pass lma_p==0 and do_load=sim_load. | |
288 | ||
289 | * sim-utils.h, sim-load.c (sim_load_file): Add lma_p and do_load | |
290 | arguments. | |
291 | ||
897a1d78 DE |
292 | Tue Oct 21 18:37:57 1997 Doug Evans <devans@canuck.cygnus.com> |
293 | ||
294 | * nrun.c (main): Remove useless test of name != NULL. | |
2328ef1c | 295 | Exit if bfd_openr fails. Call bfd_check_format after bfd_openr. |
897a1d78 | 296 | |
b7432f0f AC |
297 | Tue Oct 21 10:42:38 1997 Andrew Cagney <cagney@b1.cygnus.com> |
298 | ||
299 | * sim-fpu.c (EXPMAX): Type is unsigned. | |
300 | (MIN_INT, MAX_INT): Type is signed64. | |
301 | (i2fpu): Type of val is signed64. | |
302 | ||
e2f8ffb7 AC |
303 | Tue Oct 21 10:42:38 1997 Andrew Cagney <cagney@b1.cygnus.com> |
304 | ||
305 | * sim-profile.h (PROFILE_PC_BUCKET_SIZE): Treat a shift of zero as | |
306 | a bucket size of zero. | |
307 | ||
308 | * sim-profile.c (OPTION_PROFILE_PC_GRANULARITY, | |
309 | OPTION_PROFILE_PC): Define. | |
310 | (profile_option_handler): Add support for --profile-pc and | |
311 | --profile-pc-granularity options. | |
312 | (profile_pc_init): When possible, compute nr buckets from bucket | |
313 | size. | |
314 | ||
315 | * sim-profile.c (profile_pc_init): Align the profile-pc end | |
316 | address with the profile-pc bucket size. | |
317 | ||
318 | * sim-profile.h (PROFILE_PC_NR_BUCKETS): Rename PROFILE_PC_SIZE to | |
319 | something less ambiguous. | |
320 | (PROFILE_PC_BUCKET_SIZE): Ditto for PROFILE_PC_SAMPLE_SIZE. | |
321 | ||
322 | * sim-profile.c (profile_pc_cleanup): New function. Move | |
323 | profile_pc_uninstall code to here. | |
324 | (profile_pc_uninstall): Call. | |
325 | (profile_pc_init): Call. | |
326 | ||
293a0876 AC |
327 | Mon Oct 20 17:23:58 1997 Andrew Cagney <cagney@b1.cygnus.com> |
328 | ||
e2f8ffb7 AC |
329 | * sim-profile.c (profile_print_pc): Dump pc profile to dmon.out |
330 | file using BSD gprof format. | |
331 | ||
293a0876 AC |
332 | * sim-bits.h (LSBIT, MSBIT, BIT): Force result to type |
333 | unsigned_word. | |
334 | (LSBIT8, LSBIT16, LSBIT32, LSBIT64, MSBIT8, MSBIT16, MSBIT32, | |
335 | MSBIT64): Force result to unsignedN. | |
336 | ||
0a0ecb21 AC |
337 | Thu Oct 16 11:38:56 1997 Andrew Cagney <cagney@b1.cygnus.com> |
338 | ||
339 | * sim-alu.h (ALU16_BEGIN, ALU32_BEGIN, ALU64_BEGIN): Drop opening | |
340 | brace from macro. | |
341 | (ALU8_BEGIN, ALU8_SET, ALU8_ADD, ALU8_SUB, ALU8_NEGATE): Define. | |
342 | (ALU16_ADD, ALU16_SUB, ALU16_NEGATE): Simplify arrithmetic. | |
343 | (ALU32_ADD, ALU32_SUB, ALU32_NEGATE): Simplify arrithmetic. | |
344 | (ALU64_ADD, ALU64_SUB, ALU64_NEGATE): Simplify arrithmetic. | |
345 | ||
fd89abc2 AC |
346 | Wed Oct 15 09:24:19 1997 Andrew Cagney <cagney@b1.cygnus.com> |
347 | ||
348 | * sim-core.h (struct _sim_core_mapping): Change free_buffer to | |
349 | type void*. | |
350 | ||
351 | * sim-core.c (sim_core_uninstall, new_sim_core_mapping, | |
352 | sim_core_map_attach, sim_core_map_detach): Change free_buffer to | |
353 | type void*. | |
354 | (sim_core_attach): Rename buffer_freed to free_buffer, type | |
355 | void*. Ensure that allocated buffer is alligned according to | |
356 | region's address. | |
357 | ||
7456a10d AC |
358 | Mon Oct 13 11:34:50 1997 Andrew Cagney <cagney@b1.cygnus.com> |
359 | ||
360 | * sim-alu.h (ALU64_HAD_OVERFLOW): Define. | |
361 | (ALU64_SUB): Define. | |
362 | ||
363 | * Make-common.in (all): Build SIM_EXTRA_ALL first. | |
364 | (.gdbinit): Remove dependencies, generate once per build. | |
365 | ||
1b217de0 AC |
366 | Tue Oct 14 19:20:09 1997 Andrew Cagney <cagney@b1.cygnus.com> |
367 | ||
368 | * sim-n-core.h (sim_core_read_aligned_N, | |
369 | sim_core_write_aligned_N): Make xaddr param type address_word not | |
370 | unsigned_word. | |
371 | ||
372 | Fri Oct 3 09:49:18 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
373 | ||
374 | * sim-fpu.h, sim-fpu.c: Rewrite. Change sim_fpu object to an | |
375 | unpacked floating point struct. Pass sim_fpu object by reference. | |
376 | Add preliminary support for rounding modes. | |
377 | ||
63fe2cc7 AC |
378 | Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com> |
379 | ||
380 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
381 | ||
382 | Thu Oct 2 19:43:52 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
383 | ||
384 | * aclocal.m4 (sim-bitsize): Fix typo, WITH_TARGET_WORD_BITSIZE not | |
385 | WITH_TARGET_BITSIZE. | |
386 | ||
387 | Thu Sep 25 23:20:20 1997 Felix Lee <flee@yin.cygnus.com> | |
388 | ||
389 | * sim-profile.c (profile_print_core): label needs empty statement. | |
390 | ||
391 | Thu Sep 25 11:20:47 1997 Stu Grossman <grossman@babylon-5.cygnus.com> | |
392 | ||
393 | * sim-break.c (sim_set_breakpoint sim_clear_breakpoint): Use ZALLOC | |
394 | and zfree instead of xmalloc and free. Prevents warnings. | |
395 | ||
af51b8d5 AC |
396 | Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com> |
397 | ||
398 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
399 | ||
400 | Wed Sep 24 17:23:31 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
401 | ||
402 | * Make-common.in (SIM_BITSIZE): Assign from configured value. | |
403 | (CONFIG_CFLAGS): Add SIM_BITSIZE. | |
404 | ||
405 | * aclocal.m4 (--enable-sim-bitsize): Developer option for | |
406 | controling the bitsize/msb of the target. | |
407 | ||
b9d580a4 SG |
408 | Wed Sep 24 17:41:40 1997 Stu Grossman <grossman@babylon-5.cygnus.com> |
409 | ||
410 | * Make-common.in: New files sim-break.c, sim-break.h. | |
411 | * sim-base.h: Add point to breakpoint list to sim_state_base. | |
412 | * sim-break.c sim-break.h: New modules that implement intrinsic | |
413 | breakpoint support. | |
414 | * sim-module.c: Add breakpoint module. | |
415 | ||
34d07b78 FL |
416 | Tue Sep 23 00:26:39 1997 Felix Lee <flee@yin.cygnus.com> |
417 | ||
418 | * sim-events.c (SIM_EVENTS_POLL_RATE): poll more often than once | |
419 | an hour. | |
420 | * sim-n-core.h (WITH_XOR_ENDIAN): MSVC barfs on | |
421 | if (0) { 1 % 0; } | |
422 | * sim-core.c (sim_core_xor_write_buffer): WITH_XOR_ENDIAN + 1. | |
423 | (SIGBUS) define for Windows. | |
424 | * sim-trace.c (trace_printf,debug_printf): added ALMOST_STDC. | |
425 | * sim-resume.c: define SIGTRAP for windows. | |
426 | * sim-xcat.h: use token pasting if ALMOST_STDC. | |
427 | ||
4141b1c6 AC |
428 | Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com> |
429 | ||
430 | * Make-common.in (SIM_SCACHE, SIM_DEFAULT_MODEL): Assign | |
431 | configured values. | |
432 | (CONFIG_CFLAGS): Add same. | |
433 | ||
9f4fd823 FL |
434 | Mon Sep 22 17:20:27 1997 Felix Lee <flee@cygnus.com> |
435 | ||
436 | * sim-types.h (SIGNED64): ##i64 when _MSC_VER, not _WIN32. | |
437 | (SIGNED32): use ##i32. | |
438 | ||
92f91d1f AC |
439 | Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com> |
440 | ||
441 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
442 | ||
443 | Tue Sep 23 10:07:47 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
444 | ||
445 | * aclocal.m4 (sim-endian): Simplify logic determining [default] | |
446 | endian of target. | |
447 | ||
448 | * Make-common.in (SIM_WARNINGS, SIM_ALIGNMENT, SIM_ENDIAN, | |
449 | SIM_HOSTENDIAN, SIM_RESERVED_BITS, SIM_ASSERT, SIM_FLOAT, | |
450 | SIM_HARDWARE, SIM_INLINE, SIM_PACKAGES, SIM_REGPARM, SIM_SMP, | |
451 | SIM_STDCALL, SIM_XOR_ENDIAN): Assign configured values. | |
452 | (CONFIG_CFLAGS): Add same. | |
453 | ||
454 | * aclocal.m4: Perform AC_SUBST on optional options. | |
455 | ||
4ca7d6d2 AC |
456 | Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com> |
457 | ||
8d332f9c AC |
458 | * sim-config.h (WITH_DEFAULT_ALIGNMENT): Don't hardwire any alignment. |
459 | ||
460 | * sim-options.c (standard_option_handler): Typo in warning message. | |
461 | ||
4ca7d6d2 AC |
462 | * sim-base.h (STATE_MODEL): Make conditional on SIM_HAVE_MODEL. |
463 | ||
464 | * sim-profile.c (profile_print_insn): Check 0 .. MAX_INSN for any | |
465 | insn count. Make count conditional on there being a valid | |
466 | INSN_NAME. | |
467 | (profile_pc_init): Make default PC profile frequency an arbitrary | |
468 | 256. | |
469 | ||
470 | * sim-base.h: Ditto. | |
471 | ||
472 | * sim-profile.h (WITH_PROFILE_MODEL_P): Only enable modeling when | |
473 | SIM_HAVE_MODEL. | |
474 | ||
475 | * sim-model.h (struct MACH): Depreciate, to be replaced by bfd | |
476 | archure struct. | |
477 | ||
794e9ac9 AC |
478 | Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com> |
479 | ||
480 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
481 | ||
482 | Mon Sep 22 11:45:00 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
483 | ||
484 | * aclocal.m4 (sim_alignment): Simplify logic for selecting the | |
485 | configured alignment. | |
486 | ||
b45caf05 AC |
487 | Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com> |
488 | ||
489 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
490 | ||
491 | Fri Sep 19 17:26:14 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
492 | ||
493 | * sim-config.c (sim_config): Check for default alignment. | |
494 | ||
495 | * sim-options.c (standard_option_handler): Add alignment option. | |
496 | ||
497 | * aclocal.m4 (sim_alignment): Allow configuration of hardwired and | |
498 | default alignment requirements on memory accesses. | |
499 | ||
500 | Fri Sep 19 11:51:35 1997 Jeffrey A Law (law@cygnus.com) | |
501 | ||
502 | * sim-load.c (sim_load_file): Return failure if the executable | |
503 | had no loadable sections. | |
504 | ||
dfa5c0ca AC |
505 | Wed Sep 17 13:33:28 1997 Andrew Cagney <cagney@b1.cygnus.com> |
506 | ||
175c6fd3 AC |
507 | * sim-events.c (ETRACE): Use trace_printf not sim_io_printf for |
508 | trace output. | |
509 | ||
510 | * sim-core.c (sim_core_signal): When bad access halt simulator | |
511 | SIGSEGV / SIGBUS instead of aborting. | |
512 | (signal.h): Include. | |
513 | ||
514 | * sim-watch.c (sim_watchpoint_install): Handler for watchpoint | |
515 | options was missing. | |
516 | ||
dfa5c0ca AC |
517 | * sim-bits.h (MOVED): Define |
518 | ||
b52e58c2 AC |
519 | Wed Sep 17 10:33:28 1997 Andrew Cagney <cagney@b1.cygnus.com> |
520 | ||
521 | * sim-alu.h (ALU32_HAD_OVERFLOW): Pacify GCC, Use MSBIT instead of | |
522 | BIT. | |
523 | ||
524 | * sim-bits.h (LSBIT, MSBIT): Check for overflow of shift value. | |
525 | ||
526 | * sim-bits.c: Add 8 bit versions of bit macros. | |
527 | ||
528 | * sim-bits.h: Ditto. | |
529 | ||
aa5e6a5a AC |
530 | Tue Sep 16 16:15:16 1997 Andrew Cagney <cagney@b1.cygnus.com> |
531 | ||
532 | * sim-bits.c (LSSEXT, MSSEXT): Replace SEXT. | |
533 | (LSINSERTED, MSINSERTED): Ditto for INSERTED. | |
534 | ||
535 | * sim-n-bits.h (MSSEXTn, LSSEXTn): Replace SEXTn. | |
536 | (LSINSERTDn, MSINSERTEDN): Ditto for INSERTEDn. | |
537 | ||
538 | * sim-bits.h (SEXT*): Define as MSEXT/LSEXT. | |
539 | (INSERTED*): Ditto for LSINSERTED/MSINSERTED. | |
540 | ||
08547b1f AC |
541 | Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com> |
542 | ||
543 | * aclocal.m4 (SIM_AC_COMMON): Add optional config.h file argument. | |
544 | configure.in: Output to cconfig.h instead of config.h. | |
545 | ||
546 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
547 | ||
548 | Mon Sep 15 15:39:28 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
549 | ||
550 | * sim-utils.c (sim_analyze_program): Set STATE_ARCHITECTURE from | |
551 | BFD if known. | |
552 | ||
4bdab45a AC |
553 | Tue Sep 9 21:46:46 1997 Felix Lee <flee@cygnus.com> |
554 | ||
555 | * callback.c (os_write): divert stdout and stderr to their | |
556 | respective hooks. | |
557 | ||
93e7a1b5 AC |
558 | Thu Sep 11 10:08:48 1997 Andrew Cagney <cagney@b1.cygnus.com> |
559 | ||
560 | * sim-profile.c (profile_print_speed): Call | |
561 | sim_events_elapsed_time instead of PROFILE_EXEC_TIME for moment. | |
562 | ||
563 | * sim-events.c (sim_events_elapsed_time): New function return nr | |
564 | host MS consumed by the simulator. | |
565 | (sim_watch_valid): Use. | |
566 | ||
567 | * sim-module.c (modules): Install sim_events very very early. | |
568 | ||
569 | * sim-profile.c (profile_print): Call profile_print_pc. | |
570 | (print_bar): | |
571 | (profile_pc_init): New function, set up processor for PC | |
572 | profiling. | |
573 | (profile_print_pc): New function, print a PC profile. | |
574 | (profile_pc_event): New function, sample PC. | |
575 | ||
576 | * sim-profile.h (PROFILE_PC_COUNT, PROFILE_PC_START, | |
577 | PROFILE_PC_END, PROFILE_PC_SHIFT, PROFILE_PC_SAMPLE_SIZE): Add to | |
578 | profile struct. | |
579 | ||
580 | * sim-options.c (sim_print_help): Pacify GCC. | |
581 | ||
582 | * sim-n-core.h (sim_core_read_aligned_N, | |
583 | sim_core_write_aligned_N): Add un-conditional profile call. | |
584 | (sim_core_read_unaligned_N, sim_core_write_unaligned_N): Add | |
585 | profile call when aligned read/write isn't used. | |
586 | ||
587 | * sim-base.h: Include sim-profile, sim-model after sim-core & | |
588 | sim-events allow sim-core to define useful values. | |
589 | ||
590 | * sim-profile.c (OPTION_PROFILE_CORE): Define. | |
591 | (profile_option_handler, profile_options): Add support for | |
592 | --profile-core option. | |
593 | (print_bar): Include when core profiling. | |
594 | (profile_print_core): New function, print core profile. | |
595 | ||
596 | * sim-config.c (print_sim_config): Print profile status. | |
597 | ||
598 | * sim-profile.h (PROFILE_NEXT_IDX, PROFILE_core, | |
599 | WITH_PROFILE_PC_P): Define. | |
600 | (PROFILE_CORE_COUNT): Count each core-map/size separatly. | |
601 | (PROFILE_COUNT_CORE): Define. | |
602 | ||
cad7297e AC |
603 | Thu Sep 11 08:44:52 1997 Andrew Cagney <cagney@b1.cygnus.com> |
604 | ||
605 | * sim-watch.c (handle_watchpoint): Pass a char** index into the | |
606 | interrupt_names array as the data. | |
607 | (sim-watch.h): Document. | |
608 | ||
609 | Wed Sep 10 16:15:22 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
610 | ||
611 | * sim-options.c (sim_print_help): When the doc string is to long | |
612 | word wrap it. | |
613 | ||
614 | * sim-watch.c (sim_watchpoint_install): Use option.doc_name so | |
615 | that only the first few the watch options are listed. Generate | |
616 | meanginful usage messages. | |
617 | ||
618 | * sim-options.h (struct OPTION): Clarify use of doc_name field | |
619 | ||
d0b59aa5 AC |
620 | Wed Sep 10 13:23:24 1997 Andrew Cagney <cagney@b1.cygnus.com> |
621 | ||
622 | * sim-options.c (OPTION_ARCHITECTURE_INFO): New option. | |
623 | (standard_option_handler): Handle --architecture-info. | |
624 | ||
31dda65a FL |
625 | Tue Sep 9 21:46:46 1997 Felix Lee <flee@cygnus.com> |
626 | ||
627 | * sim-core.h (sim_cpu_core): [WITH_XOR_ENDIAN + 1], to avoid | |
628 | illegal zero-sized array. | |
629 | * sim-core.c (sim_core_xor_read_buffer): same. | |
630 | ||
7b4aeeba DE |
631 | Tue Sep 9 11:20:35 1997 Doug Evans <dje@canuck.cygnus.com> |
632 | ||
633 | * nltvals.def: Regenerate. | |
634 | ||
75b3697d AC |
635 | Tue Sep 9 02:10:36 1997 Andrew Cagney <cagney@b1.cygnus.com> |
636 | ||
637 | * sim-fpu.c (DP_FRACHIGH2): Define LL using SIGNED64. | |
638 | ||
639 | Mon Sep 8 12:22:20 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
640 | ||
641 | * sim-bits.c (MASKED): Delete. | |
642 | (EXTRACTED): Delete. | |
643 | (LSEXTRACTED, MSEXTRACTED): New functions. | |
644 | ||
645 | * sim-n-bits.h (MASKEDn): Delete, define as MSMASKED or LSMASKED. | |
646 | (MSMASKEDn, LSMASKEDn): Add last argument. | |
647 | (MSMASK*): Ditto. | |
648 | ||
649 | * sim-bits.h (EXTEND8, EXTEND16): Define. | |
650 | (EXTRACTED64): Define as 64 bit extract, not 32 bit. | |
651 | ||
652 | * sim-run.c (sim_engine_run): Use CPU_CIA macro. | |
653 | ||
654 | * sim-engine.h (SIM_ENGINE_HALT_HOOK): Use CPU_CIA to get at | |
655 | current instruction address. | |
656 | ||
657 | * sim-inline.h (*_ENGINE): Define. | |
658 | ||
30efae3a AC |
659 | Fri Sep 5 08:39:02 1997 Andrew Cagney <cagney@b1.cygnus.com> |
660 | ||
1bba340a AC |
661 | * sim-core.c (sim_core_attach): Fix checks of modulo/mask. |
662 | ||
663 | * sim-watch.c (delete_watchpoint): Delete by ident and type. | |
664 | (watch_option_handler): Call delete_watchpoint with ident or type. | |
665 | (sim_watchpoint_install): Create interrupt specific watchpoint | |
666 | commands on the fly. | |
667 | (do_watchpoint_create): New function, create a watch point using | |
668 | type/int-nr info encoded in the option nr. | |
669 | (do_watchpoint_info): New function. List active watchpoints. | |
670 | ||
671 | * sim-watch.h: Change data structure to a list. | |
672 | ||
673 | * sim-memopt.c (memory_option_handler): Require explicit "all" | |
674 | before deleting all memory regions. | |
675 | ||
1b465b54 AC |
676 | * sim-utils.c (sim_do_commandf): New function, printf version of |
677 | sim_do_command. | |
678 | ||
679 | * sim-basics.h (asprintf, vasprintf): Hack, define for CYGWIN32. | |
680 | ||
30efae3a AC |
681 | * sim-alu.h (ALU64_ADD): Use explicit MSEXTRACTED64, do not assume |
682 | bit endianness. | |
683 | (SIGNED64, UNSIGNED64): Delete. | |
684 | (ALU64_ADD): Don't rely on bit endianness. | |
685 | (ALU64_BEGIN): Define. | |
686 | ||
687 | * sim-n-bits.h (MSEXTRACTEDn, LSEXTRACTED): New functions. | |
688 | (EXTRACTEDn): Delete, define as either LSEXTRACTED or MSEXTRACTED. | |
689 | ||
690 | * sim-types.h (SIGNED64, UNSIGNED64): New macros, attach relevant | |
691 | suffix - u64, LL - to 64 bit constants. | |
692 | ||
a34abff8 AC |
693 | Thu Sep 4 09:27:54 1997 Andrew Cagney <cagney@b1.cygnus.com> |
694 | ||
6dbaff8f AC |
695 | * sim-config.c (sim_config): Add assert for SIM_MAGIC_NUMBER. |
696 | ||
697 | * sim-utils.h (NZALLOC): Define - zalloc * N. | |
698 | ||
699 | * sim-hrw.c (sim_read, sim_write): New file. Provide generic | |
700 | implementation of read/write functions. | |
701 | ||
702 | * Make-common.in (sim-hrw.o): New target. | |
703 | ||
704 | * sim-base.h (STATE_MEMOPT_P): Delete, simulators _always_ add | |
705 | memory. | |
706 | ||
707 | * sim-memopt.c (memory_option_handler): Implement memory-size | |
708 | command. Implement memory-alias command. Let memory-delete delete | |
709 | all memory regions. | |
710 | (add_memopt): New function. Add a memory region. | |
711 | (do_memopt_delete): New function. Delete a memory region. | |
712 | ||
a34abff8 AC |
713 | * sim-utils.c (sim_elapsed_time_get): Never return zero. |
714 | ||
715 | * sim-core.c (sim_core_detach): New function. | |
716 | (sim_core_map_detach): New function. Perform the actual detach. | |
717 | (sim_core_init): Move initialization code from here. | |
718 | (sim_core_install): To here. | |
719 | (sim_core_uninstall): And here. | |
720 | ||
721 | * sim-module.c: Add memopt module. | |
722 | ||
723 | * sim-base.h (STATE_MEMOPT, STATE_MEMOPT_P): Add memopt to | |
724 | simulator base type. | |
725 | ||
726 | * Make-common.in (sim_main_headers): Add sim-memopt.h | |
727 | (sim-memopt.o): New target. | |
728 | ||
729 | * sim-core.c (sim_core_install): Add core_options to the option | |
730 | table. | |
731 | ||
732 | * sim-watch.c (watch_options): Make --delete-watch a synonym for | |
733 | --watch-delete. | |
734 | ||
735 | * sim-config.h (WITH_MODULO_MEMORY): Define as 0. Update | |
736 | comments. | |
737 | ||
738 | * sim-core.h (struct _sim_core_mapping): Change nr_bytes to type | |
739 | address_word, add mask member. | |
740 | ||
741 | * sim-core.h, sim-core.c (sim_core_attach): Make nr_bytes of type | |
742 | address_word, allow for 64bit targets in 32bit host. Add modulo | |
743 | argument. | |
744 | (sim_core_map_attach): Ditto. | |
745 | (new_sim_core_mapping): Ditto. | |
746 | (sim_core_translate): Mask address when modulo memory. | |
747 | ||
88d5f8e8 DE |
748 | Wed Sep 3 17:32:54 1997 Doug Evans <dje@seba.cygnus.com> |
749 | ||
600d8331 DE |
750 | * sim-hload.c (sim_load): Add assert for SIM_MAGIC_NUMBER. |
751 | ||
88d5f8e8 DE |
752 | * gdbinit.in: New file. |
753 | * aclocal.m4 (SIM_AC_OUTPUT): Build .gdbinit. | |
754 | * Make-common.in (distclean): Delete .gdbinit. | |
755 | (.gdbinit): Add rule for. | |
756 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
757 | ||
758 | * Make-common.in (cgen-run.o): Add rule for. | |
759 | ||
fdd64f95 AC |
760 | Wed Sep 3 10:08:21 1997 Andrew Cagney <cagney@b1.cygnus.com> |
761 | ||
762 | * sim-resume.c (sim_resume): Suspend/resume the simulator. | |
763 | ||
764 | * sim-events.c (sim_watch_valid): Compute total elapsed time from | |
765 | both resumed and previous elapsed time. | |
766 | (sim_events_init): Set initial_wallclock and current_wallclock to | |
767 | zero. | |
768 | (sim_events_install): Install sim_events_suspend and | |
769 | sim_events_resume. | |
770 | (sim_events_watch_clock): Allow for suspended simulator when | |
771 | computing the time of the clock event. | |
772 | ||
773 | * sim-events.h (struct _sim_event): Add resume_wallclock, rename | |
774 | initial_wallclock to elapsed_wallclock, set both to zero. | |
775 | (sim_events_init, sim_events_uninstall): Delete prototypes. | |
776 | ||
777 | * sim-module.h (MODULE_SUSPEND_FN, MODULE_RESUME_FN): Define types. | |
778 | ||
779 | * sim-module.c(sim_module_resume, sim_module_suspend): New | |
780 | functions. | |
781 | ||
80c651f0 AC |
782 | Wed Sep 3 10:08:21 1997 Andrew Cagney <cagney@b1.cygnus.com> |
783 | ||
784 | * sim-core.c (sim_core_map_attach): Clarify memory overlap error | |
785 | message. | |
786 | ||
74db699d DE |
787 | Tue Sep 2 14:57:06 1997 Doug Evans <dje@canuck.cygnus.com> |
788 | ||
789 | * Makefile.in (TAGS): Add support for "/* TAGS: foo */" marker. | |
645ab3ec | 790 | * Make-common.in (TAGS): Likewise. |
74db699d DE |
791 | * sim-n-bits.h: Add TAGS comments for all functions. |
792 | * sim-n-core.h: Likewise. | |
793 | * sim-n-endian.h: Likewise. | |
794 | ||
4b2a6aed AC |
795 | Mon Sep 1 10:50:11 1997 Andrew Cagney <cagney@b1.cygnus.com> |
796 | ||
797 | * sim-utils.c (sim_state_alloc): Set CPU backlinks, callback and | |
798 | kind. | |
799 | ||
800 | * sim-base.h (sim_state_alloc): Add callback and kind arguments. | |
801 | ||
802 | * sim-base.h (INVALID_INSTRUCTION_ADDRESS): Add default | |
803 | definition. | |
804 | ||
f90b720b AC |
805 | Sat Aug 30 09:47:21 1997 Andrew Cagney <cagney@b1.cygnus.com> |
806 | ||
807 | * sim-fpu.c (DP_GARDMSB, ...): Make unsigned. | |
808 | (DP_FRACHIGH, DP_FRACHIGH2, ..): Use MSMASK to avoid LL. | |
809 | ||
810 | Fri Aug 29 13:37:44 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
811 | ||
812 | * sim-core.c (sim_core_map_attach): Cast attach enum to int. | |
813 | (sim_core_xor_read_buffer, sim_core_xor_write_buffer): Make | |
814 | nr_transfered and nr_this_transfer unsigned. | |
815 | ||
816 | * sim-events.c (sim_events_tickn): N is signed, as limited to | |
817 | MAXINT. | |
818 | ||
819 | * sim-n-endian.h (offset_N): Change size to unsigned. | |
820 | ||
821 | * callback.c (os_poll_quit): Add prototypes for kbhit and getkey. | |
822 | ||
823 | Fri Aug 29 10:10:53 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
824 | ||
825 | * sim-utils.c (sim_copy_argv): Delete, replaced by dupargv. | |
826 | ||
827 | * sim-options.c (sim_parse_args): Use dupargv. | |
828 | ||
36db8e64 DE |
829 | Thu Aug 28 10:36:34 1997 Doug Evans <dje@canuck.cygnus.com> |
830 | ||
831 | * sim-options.c (standard_option_handler): Use xstrdup, not strdup. | |
832 | ||
18c319ae AC |
833 | Thu Aug 28 12:09:15 1997 Andrew Cagney <cagney@b1.cygnus.com> |
834 | ||
835 | * sim-base.h (STATE_ARCHITECTURE, STATE_TARGET): Add to simulator | |
836 | base type. | |
837 | ||
838 | * sim-options.c (standard_options): Add --architecture=MACHINE and | |
839 | --target=TARGET options. | |
840 | (OPTION_ARCHITECTURE, OPTION_TARGET): Define. | |
841 | (standard_option_handler): Handle architecture and target options. | |
842 | (bfd.h): Include. | |
843 | ||
844 | * sim-utils.c (sim_analyze_program): Pass STATE_TARGET to | |
845 | bfd_openr. | |
846 | (sim_analyze_program): Set prog_bfd architecture from | |
847 | STATE_ARCHITECTURE if known. | |
848 | ||
88117054 AC |
849 | Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com> |
850 | ||
851 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
852 | * config.in: Ditto. | |
853 | ||
854 | Wed Aug 27 18:11:30 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
855 | ||
856 | * aclocal.m4 (enable-sim-warnings): Remove comment stating | |
857 | that option does not apply to certain files. | |
858 | ||
d6fea803 AC |
859 | Wed Aug 27 15:13:04 1997 Andrew Cagney <cagney@b1.cygnus.com> |
860 | ||
861 | * sim-bits.h (LSBIT8, LSBIT16, LSBIT32, LSBIT64, LSBIT, MSBIT8, | |
862 | MSBIT16, MSBIT32, MSBIT64, MSBIT): New macros - single bit as | |
863 | offset from MSB/LSB. | |
864 | ||
865 | * sim-endian.h (A1_8, A2_8, A4_8, A1_4, A2_4, A1_2): New macro, | |
866 | access address of sub word quantity of a hosts 16, 32, 64 bit word | |
867 | type. | |
868 | (V1_2, V1_4, V2_4, V1_8, V2_8, V4_8): Ditto for values. | |
869 | (U8_1, U8_2, U8_4, U4_1, U4_2, U2_1): Ditto for set of values. | |
870 | (V2_H1, V2_L1, V4_H2, V4_L2, V8_L4, V8_H4): Given N byte argument, | |
871 | return N*2 byte value with argument in Hi/Lo word. Renamed from | |
872 | V1_H2, V1_L2, V2_H4, V2_L4, V4_H8, V4_L8. | |
873 | ||
874 | * sim-alu.h (ALU32_HAD_OVERFLOW): Use 64 bit mask not 32bit. | |
875 | (ALU16_HAD_CARRY, ALU32_HAD_CARRY, ALU16_HAD_OVERFLOW): Use MSBIT | |
876 | so that bit offset is explicit. | |
877 | ||
fafce69a AC |
878 | Wed Aug 27 11:55:35 1997 Andrew Cagney <cagney@b1.cygnus.com> |
879 | ||
880 | * sim-utils.c (sim_analyze_program): Add prog_name argument. | |
881 | Update STATE_PROG_BFD when needed with a dup'd copy of the | |
882 | program. | |
883 | ||
884 | * sim-config.c (sim_config): Delete ABFD argument, use | |
885 | STATE_PROG_BFD directly. | |
886 | ||
887 | Tue Aug 26 12:55:26 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
888 | ||
889 | * run.c (main): Pass the open ABFD to sim_create_inferior. | |
890 | ||
891 | * nrun.c (main): Determine prog_bfd. Pass to sim_create_inferior | |
892 | and sim_load. | |
893 | (bfd.h): Include. | |
894 | ||
895 | * sim-hload.c (sim_load): New file. Implement generic sim_load for | |
896 | hardware only simulator targets. | |
897 | ||
898 | * Make-common.in (sim-hload.o): Add rule. | |
899 | ||
d07dddd2 AC |
900 | Wed Aug 27 09:51:42 1997 Andrew Cagney <cagney@b1.cygnus.com> |
901 | ||
902 | * sim-utils.c (sim_copy_argv): Rewrite to match malloc strategy | |
903 | used by copyargv and freeargv. | |
904 | ||
905 | * sim-options.c (sim_parse_args): Save a copy of PROG-ARGS in | |
906 | STATE_PROG_ARGV, not just a pointer. | |
907 | ||
247fccde AC |
908 | Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com> |
909 | ||
910 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
911 | * config.in: Ditto. | |
912 | ||
913 | Mon Aug 25 12:11:06 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
914 | ||
915 | * aclocal.m4 (sim-endian): Add second argument to | |
916 | SIM_AC_OPTION_ENDIAN. First is hardwired endian, second is | |
917 | default endian when not hardwired. | |
918 | ||
919 | * sim-config.h (WITH_DEFAULT_TARGET_BYTE_ORDER): New macro, if all | |
920 | else failes value for target byte order. | |
921 | ||
922 | * sim-config.c (sim_config): Add abfd arguments. Set | |
923 | STATE_PROG_BFD accordingly. Determine prefered_target_byte_order | |
924 | from same. | |
925 | (sim_config): Return SIM_RC, don't abort. | |
926 | (bfd.h): Include. | |
927 | ||
928 | * run.c (main): Update call to sim_open - add ABFD argument. | |
929 | * nrun.c (main): Add NULL ABFD argument. | |
930 | ||
052d7984 DE |
931 | Thu Aug 14 12:48:57 1997 Doug Evans <dje@canuck.cygnus.com> |
932 | ||
933 | * callback.c (os_poll_quit): Make static. | |
934 | Call sim_cb_eprintf, not p->eprintf. | |
935 | (sim_cb_printf, sim_cb_eprintf): New functions. | |
247fccde AC |
936 | * sim-utils.h (sim_cb_printf, sim_cb_eprintf): Declare. |
937 | ||
938 | * sim-basics.h (zalloc,zfree,sim_add_commas,SIM_ELAPSED_TIME, | |
939 | sim_elapsed_time_get,sim_elapsed_time_since): Move decls to | |
940 | sim-utils.h. #include sim-utils.h. | |
941 | * sim-utils.h: Above decls moved here. | |
942 | (sim_analyze_program,sim_load_file): Use `struct _bfd', not `bfd'. | |
943 | ||
944 | * sim-watch.c (action_watchpoint): Fix thinkos. | |
052d7984 DE |
945 | |
946 | Thu Jul 24 08:48:05 1997 Stu Grossman (grossman@critters.cygnus.com) | |
947 | ||
948 | * sim-types.h: Fix defs of 64 bit data types for MSVC. | |
949 | ||
e6609d8f DE |
950 | Tue Jul 22 10:35:37 1997 Doug Evans <dje@canuck.cygnus.com> |
951 | ||
952 | * sim-n-core.h (sim_core_write_unaligned_N): Add missing break | |
953 | to FORCED_ALIGNMENT case. | |
954 | ||
84e8cd0f AC |
955 | Thu Jun 5 13:48:37 1997 Andrew Cagney <cagney@b1.cygnus.com> |
956 | ||
957 | * callback.c (target_to_host_open): Handle hosts with O_BINARY. | |
958 | ||
959 | Thu Jun 5 08:47:10 1997 Jeffrey A Law (law@cygnus.com) | |
960 | ||
961 | * Make-common.in (libsim.a): Fix typo. | |
962 | ||
897f67b7 AC |
963 | Thu Jun 5 13:48:37 1997 Andrew Cagney <cagney@b1.cygnus.com> |
964 | ||
965 | * nrun.c (main): Verify the structure returned before using it. | |
966 | ||
896eab00 AC |
967 | Wed Jun 4 11:44:06 1997 Andrew Cagney <cagney@b1.cygnus.com> |
968 | ||
969 | * sim-config.h (WITH_ENGINE): Enable the sim-engine module by | |
970 | default. | |
971 | ||
972 | * sim-engine.c (sim_engine_install): New function. Install the | |
973 | engine init functions. | |
974 | (sim_engine_init): [Re]initialize the simulator engine. | |
975 | ||
976 | * sim-module.c: Add sim_engine to list of modules that always | |
977 | install. | |
978 | ||
56e7c849 AC |
979 | Tue Jun 3 04:52:04 1997 Andrew Cagney <cagney@b1.cygnus.com> |
980 | ||
981 | * sim-watch.c (schedule_watchpoint): Use sim_unschedule_watchpoint | |
982 | to remove the old watchpoint, not delete_watchpoint. | |
983 | (watch_option_handler): Action the correct watchpoint, not just | |
984 | cycles. | |
985 | ||
986 | Wed May 28 14:47:41 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
987 | ||
988 | * sim-n-core.h (sim_core_write_aligned_N): For 8byte reads, output | |
989 | both low and high word. | |
990 | (sim_core_write_aligned_N): Ditto. | |
991 | ||
992 | * sim-trace.c (set_trace_options): Delete code explicitly setting | |
993 | core->trace. | |
994 | ||
995 | * sim-options.c (sim_print_help): Call the list commands if not a | |
996 | standalone simulator. | |
997 | (sim_print_help): Advise that some options may not be applicable. | |
998 | ||
999 | * sim-trace.c (set_trace_options): Assume core present. | |
1000 | ||
1001 | * sim-events.c (sim_events_schedule_after_signal): Overflow signal | |
1002 | buffer when full not almost full. | |
1003 | ||
2f2e6c5d AC |
1004 | Tue May 27 14:32:00 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1005 | ||
1a70e182 AC |
1006 | * sim-events.c (sim_events_process): Don't blat the event queue |
1007 | when processing watchpoints. | |
1008 | ||
1009 | * sim-watch.h: Make arg unsigned long - stop sign extension. | |
1010 | ||
1011 | * sim-events.c (sim_watch_valid): rewrite so debugable. | |
1012 | ||
1013 | * sim-config.h (WITH_XOR_ENDIAN): Default to zero. | |
1014 | ||
2f2e6c5d AC |
1015 | * sim-watch.c (schedule_watchpoint): Add is_within option so that |
1016 | inequality test is possible. | |
1017 | (handle_watchpoint): Re-pass is_within arg. | |
1018 | (watch_option_handler): When `!' prefix to pc-watchpoint arg pass | |
1019 | 0 to schedule_watchpoint's is_within arg. | |
1020 | (sim_watchpoint_init): Re-pass is_within arg. | |
1021 | ||
1022 | * sim-options.c (sim_print_help): Add is_command argument. Don't | |
1023 | include -- prefix when called from the command line interpreter. | |
1024 | ||
1025 | * sim-watch.c (schedule_watchpoint): Pass true is_within argument. | |
1026 | ||
1027 | * sim-events.c (sim_events_watch_sim): Add is_within argument, | |
1028 | zero indicates that the test should be reversed. | |
1029 | (sim_events_watch_core): Ditto. | |
1030 | (WATCH_CORE): Compare range against is_within. | |
1031 | (WATCH_SIM): Ditto. | |
1032 | ||
1033 | Tue May 27 12:48:03 1997 Andrew Cagney <cagney@b2.cygnus.com> | |
1034 | ||
1035 | * sim-events.c (WATCH_CORE): Pass NULL cpu argument to | |
1036 | sim_core_read_buffer. Check nr-bytes transfered. | |
1037 | ||
1038 | * sim-core.h (sim_core_common): Define a new struct that contains | |
1039 | the common data. to sd and cpu structures. | |
1040 | * sim-core.c (sim_core_attach): Update. | |
1041 | (sim_core_init): Update. Remember to copy initialized data to each | |
1042 | cpu. | |
1043 | (sim_core_find_mapping): Ditto. | |
1044 | ||
1045 | * sim-core.c (sim_core_read_buffer): Add cpu argument. | |
1046 | (sim_core_write_buffer): Ditto. | |
1047 | ||
1048 | * sim-n-core.h (sim_core_read_unaligned_N): When mis-aligned | |
1049 | transfer use xor version of read buffer. | |
1050 | (sim_core_write_unaligned_N): Ditto for write. | |
1051 | ||
1052 | * sim-core.c (sim_core_xor_read_buffer): New function implement | |
1053 | xor-endian data read breaking transfer up into xor-endian sized | |
1054 | blocks. | |
1055 | (sim_core_xor_write_buffer): Ditto for write. | |
1056 | (reverse_n): Reverse order of arbitrary number of bytes in buffer | |
1057 | - needed for xor-endian transfers. | |
1058 | ||
cd0d873d AC |
1059 | Fri May 23 14:24:31 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1060 | ||
1061 | * sim-inline.h: Review description. | |
1062 | ||
1063 | * sim-core.h, sim-core.c: Reduce number of functions being inlined | |
1064 | to just those involved in data transfers and configuration. | |
1065 | ||
1066 | * sim-xcat.h (XSTRING): New macro, map macro definition onto | |
1067 | string. | |
1068 | * sim-n-core.h (sim_core_read_aligned_N): Use. | |
1069 | (sim_core_read_unaligned_N): Ditto. | |
1070 | (sim_core_read_unaligned_N): Ditto.. | |
1071 | (sim_core_write_unaligned_N): Ditto. | |
1072 | ||
1073 | * sim-core.h: Add xor endian bitmap to main structure. * | |
1074 | ||
1075 | sim-n-core.h (sim_core_write_aligned_N): Add suport for xor | |
1076 | endian. | |
1077 | (sim_core_read_aligned_N): Ditto. | |
1078 | ||
1079 | * sim-core.c (sim_core_set_xor_endian): New function. | |
1080 | (sim_core_attach): Don't overwrite the per-cpu xor map when | |
1081 | cloning the global core. | |
1082 | ||
8167e102 AC |
1083 | Fri May 23 10:53:13 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1084 | ||
1085 | * sim-engine.h: Update below so that it is using an enumerated | |
1086 | type. | |
1087 | ||
6e61ecfc GRK |
1088 | Thu May 22 09:12:16 1997 Gavin Koch <gavin@cygnus.com> |
1089 | ||
1090 | * sim-engine.c (sim_engine_restart): | |
1091 | * sim-resume.c (sim_resume): Change longjmp param/setjmp | |
1092 | return value used for simulator restart from 0 to 2. | |
1093 | ||
50a2a691 AC |
1094 | Wed May 21 08:47:30 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1095 | ||
1096 | * cgen-scache.c (scache_option_handler): Add is_command arg. | |
1097 | ||
1098 | * sim-model.c (model_option_handler): Add is_command argument. | |
1099 | ||
1100 | * sim-profile.c (profile_option_handler): Add is_command arg. | |
1101 | ||
1102 | * sim-events.c (sim_watch_valid): Use ub64, lb64 when 64bit value | |
1103 | involved. | |
1104 | ||
1105 | * sim-module.c (sim_module_add_init_fn): Call init fn in the same | |
1106 | order that they are registered. | |
1107 | ||
1108 | * sim-options.h (OPTION_HANDLER): Add argument to differentiate | |
1109 | between option and command line processing. | |
1110 | ||
1111 | * sim-options.c: Include stdlib.h, ctype.h. | |
1112 | ||
1113 | * Make-common.in (sim-watch.o): Add rule. | |
1114 | (sim_main_headers): Assume sim-assert.h included. | |
1115 | (sim-*.o): Simplify make rule. | |
1116 | ||
1117 | * sim-module.c: Add sim_watch_install to module list. | |
1118 | ||
1119 | Tue May 20 14:15:23 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1120 | ||
1121 | * sim-base.h (STATE_LOADED_P): New predicate. Set once everything | |
1122 | has been loaded. | |
1123 | ||
1124 | * sim-trace.c (trace_install): Check magic. Include sim-assert.h. | |
1125 | * sim-events.c (sim_events_install): Ditto. | |
1126 | * sim-core.c (sim_core_install): Ditto. | |
1127 | * sim-model.c (model_install): Ditto. | |
1128 | * sim-options.c (standard_install): Ditto. | |
1129 | * sim-profile.c (profile_install): Ditto. | |
1130 | * sim-reason.c (sim_stop_reason): Ditto. | |
1131 | * sim-run.c (sim_engine_run): Ditto. | |
1132 | * sim-utils.c (sim_analyze_program): Ditto. | |
1133 | ||
1134 | * sim-module.c (modules): Make profile_install and trace_install | |
1135 | optional. | |
1136 | ||
1137 | * sim-base.h (STATE_MEM_BASE): Define for flat memory systems. | |
1138 | ||
1139 | * sim-options.c (standard_option_handler): Set the byte order. | |
1140 | ||
1141 | * sim-events.c (sim_events_process): Allow multi tick processing. | |
1142 | (sim_events_tickn): New function - multi cycle tick. | |
1143 | ||
1144 | * sim-events.h (sim_events_tickn, sim_events_timewarp): Add | |
1145 | prototypes. Under development. | |
1146 | (sim_events): Replace processing with nr_ticks_to_process. | |
1147 | ||
1148 | Tue May 20 09:39:22 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1149 | ||
1150 | * nrun.c (main): Pass callbacks to sim_open instead of using | |
1151 | sim_set_callbacks. | |
1152 | ||
1153 | * run.c (main): Ditto. | |
1154 | ||
f03b093c AC |
1155 | Mon May 19 12:07:22 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1156 | ||
fd76456b AC |
1157 | * sim-events.c (sim_events_zalloc): Signal save memory allocator - |
1158 | stop tk interrupting malloc calls. | |
1159 | (sim_events_zalloc): Converse. | |
1160 | ||
1161 | * Make-common.in (sim_main_headers): Add sim-events.h. | |
1162 | ||
1163 | * sim-events.c (sim_events_schedule_after_signal): Change return | |
1164 | type to void - signal events are strictly internal. | |
1165 | (sim_events_init): Allocate a finite buffer for signal events. | |
1166 | (sim_events_schedule_after_signal): Enter signal events into the | |
1167 | signal buffer. | |
1168 | ||
1169 | * sim-engine.c (sim_engine_halt): Check SIM_DESC magic. | |
1170 | (sim_engine_restart): Ditto. | |
1171 | (sim_engine_abort): Ditto. | |
1172 | * sim-stop.c (sim_stop): Ditto. | |
1173 | (control_c_simulation): Ditto. | |
1174 | * sim-resume.c (sim_resume): Ditto. | |
1175 | (has_stepped): Ditto. | |
1176 | * sim-abort.c (sim_engine_abort): Ditto. | |
1177 | ||
f03b093c AC |
1178 | * sim-basics.h (transfer_type): New type. |
1179 | ||
1180 | * sim-core.c (sim_core_signal): New function. Print core signal | |
1181 | information. | |
1182 | (sim_core_find_mapping): Add transfer argument. | |
1183 | ||
1184 | * sim-n-core.h (sim_core_{write,write}_unaligned_N): Call | |
1185 | SIM_CORE_SIGNAL if a recoverable abort. | |
1186 | * sim-core.c (sim_core_find_mapping): Ditto. | |
1187 | ||
1188 | Fri May 16 15:13:21 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1189 | ||
1190 | * sim-core.c (sim_core_find_mapping): Replace calls to | |
1191 | sim_io_error to more resiliant sim_engine_abort. | |
1192 | ||
1193 | * sim-n-core.h (sim_core_read_unaligned_N): Ditto. | |
1194 | (sim_core_write_unaligned_N): Ditto. | |
1195 | ||
1196 | Tue May 13 13:50:06 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1197 | ||
1198 | * sim-module.c: Add sim_events_install to list. | |
1199 | ||
1200 | * sim-events.c (sim_events_install, sim_events_uninstall): Clonse | |
1201 | from sim_core_*. | |
1202 | (sim_events_init): Now returns SIG_RC. | |
1203 | ||
1204 | * sim-run.c: New file. Generic sim_engine_run. | |
1205 | * sim-reason.c: New file. Generic sim_stop_reason. | |
1206 | * sim-stop.c: New file. Generic sim_stop. | |
1207 | * sim-resume.c: New file. Generic sim_resume. | |
1208 | ||
1209 | * Make-common.in (sim-engine.o): Add rule. | |
1210 | (sim-run.o, sim-reason.o, sim-stop.o, sim-resume.o): Ditto. | |
1211 | ||
1212 | * sim-engine.h, sim-engine.c: New file. Provide generic | |
1213 | implementation of sim_engine_halt, sim_engine_error. et.al. | |
1214 | ||
1215 | * sim-base.h (sim_state_base): Add member halt. | |
1216 | (sim-engine.h): Include. | |
1217 | ||
1218 | * sim-events.h (sim_event_handler): Always pass SIM_DESC to event | |
1219 | handlers. | |
1220 | * sim-events.c (sim_events_poll): Update event handler. | |
1221 | ||
1222 | Tue May 13 09:57:49 1997 Andrew Cagney <cagney@b2.cygnus.com> | |
1223 | ||
1224 | * sim-events.h, sim-events.c (sim_events_watch_clock): New | |
1225 | function. | |
1226 | (sim_events_watch_sim): New function. | |
1227 | (sim_events_watch_core): New function. | |
1228 | (sim_watch_valid): New function. | |
1229 | (sim_events_preprocess): New function. | |
1230 | (sim_events_process): Process the watchpoints as well as the timer | |
1231 | queue. | |
1232 | (sim_events_tick): Check WORK_PENDING instead of the hold queue. | |
1233 | (sim_events_deschedule): Check all the queues when removing an | |
1234 | event. | |
1235 | (sim_events_init): Ditto for cleaning. | |
1236 | ||
1237 | Mon May 19 12:07:22 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1238 | ||
1239 | * sim-fpu.c (is_ufpu_number): Comment out - currently unused. | |
1240 | ||
11ab132f AC |
1241 | Mon May 19 11:23:03 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1242 | ||
1243 | * callback.c (os_open): Type of arg flags is int. | |
1244 | ||
63aa80ff MM |
1245 | Fri May 16 22:26:43 1997 Michael Meissner <meissner@cygnus.com> |
1246 | ||
1247 | * sim-fpu.c (sim_fpu_is_{eq,ne,lt,le,gt,ge}): Compare Infinities | |
1248 | just like normal numbers as per IEEE rules. | |
1249 | ||
248c1fb8 JL |
1250 | Wed May 14 21:20:38 1997 Bob Manson <manson@charmed.cygnus.com> |
1251 | ||
1252 | * callback.c (os_close): Mark the descriptor as being | |
1253 | available if the close succeeded. | |
1254 | (os_open): Pass 0644 as the mode of the file being created. | |
1255 | ||
d24f06ee AC |
1256 | Thu May 15 10:58:52 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1257 | ||
07b4c0a6 AC |
1258 | * sim-fpu.c (pack_fpu, unpack_fpu): New functions - decode a |
1259 | float. | |
1260 | ||
1261 | * sim-inline.c (SIM_INLINE_C): Rename from _SIM_INLINE_C_. | |
1262 | * sim-lnline.h: Update. | |
1263 | ||
1264 | * sim-fpu.h, sim-fpu.c (sim_fpu_[iu]{32,64}to): New int2fp | |
d24f06ee | 1265 | conversion functions. |
07b4c0a6 | 1266 | (sim_fpu_to{32,64}[iu]): New fp2int functions. |
d24f06ee AC |
1267 | |
1268 | * sim-fpu.h, sim-fpu.c (sim_fpu_is_{lt,le,eq,ne,ge,gt}): New fp | |
1269 | compare functions. Replacing. | |
1270 | (sim_fpu_cmp): This. Delete. | |
1271 | ||
c445af5a AC |
1272 | Mon May 12 14:49:05 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1273 | ||
1274 | * sim-core.c (sim_core_find_mapping): Call engine_error not | |
1275 | sim_io_error when possible. | |
1276 | ||
1277 | Mon May 12 08:55:07 1997 Andrew Cagney <cagney@b2.cygnus.com> | |
1278 | ||
1279 | * sim-endian.h (V1_H2): Add macro's to insert a word into a | |
1280 | high/low double word. | |
1281 | ||
1282 | * sim-trace.h: Remove definition of attribute - defined in | |
1283 | sim_basics.h. | |
1284 | ||
e05e76e8 AC |
1285 | Mon May 12 08:55:07 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1286 | ||
1287 | * sim-options.h (struct OPTION): Add doc_opt as the documenting | |
1288 | name of the option - or family of options. | |
1289 | ||
1290 | * sim-options.c (sim_args_command): Match command `a-b c' with | |
1291 | option `--a-b-c' from option table. | |
1292 | ||
43c53e07 AC |
1293 | Thu May 8 12:40:07 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1294 | ||
1295 | * sim-options.c (sim_print_help): For optional arguments, wrap | |
1296 | them in []. | |
1297 | ||
1298 | * sim-trace.c (set_trace_options): New function, handle optional | |
1299 | argument and multiple assignment. | |
1300 | (trace_option_handler): Update. | |
1301 | ||
1302 | * sim-trace.c (trace_option_handler): Trace branch and not fpu | |
1303 | when branch tracing selected. | |
1304 | ||
381f42ef AC |
1305 | Wed May 7 15:19:58 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1306 | ||
1307 | * sim-trace.c (trace_one_insn): Make a va-args function. | |
1308 | ||
1309 | * sim-trace.c (trace_vprintf): New function, va-arg version of | |
1310 | trace_printf. | |
1311 | ||
ea4e4493 DE |
1312 | Tue May 6 16:38:16 1997 Doug Evans <dje@canuck.cygnus.com> |
1313 | ||
1314 | * sim-trace.c (trace_uninstall): Don't close a file twice. | |
bd3274c6 | 1315 | * sim-profile.c (profile_uninstall): Likewise. |
ea4e4493 | 1316 | |
a7724171 MM |
1317 | Tue May 6 06:14:01 1997 Mike Meissner <meissner@cygnus.com> |
1318 | ||
1319 | * sim-trace.c (toplevel): Include bfd.h. | |
1320 | (trace_options): Note that --trace-linenum also turns on | |
7b167b09 | 1321 | --trace-insn. Add --trace-{branch,semantics}. |
a7724171 | 1322 | (trace_option_handler): If --trace-linenum, also turn on |
7b167b09 MM |
1323 | --trace-insn. Add --trace-branch support. If --trace-semantics, |
1324 | turn on ALU, FPU, branch, and memory tracing. | |
a7724171 MM |
1325 | (trace_one_insn): New function to trace an instruction. Support |
1326 | --trace-linenum. | |
7b167b09 | 1327 | (OPTION_TRACE_*): Use an enum, rather than lots of defines. |
a7724171 | 1328 | |
7b167b09 MM |
1329 | * sim-trace.h (TRACE_{SEMANTICS,BRANCH}_IDX): Add new macros. |
1330 | (MAX_TRACE_VALUES): Use 32, not 12 by default. | |
1331 | (TRACE_branch): Add new mask. | |
1332 | (TRACE_*_P): Define all possible trace_p macros. | |
a7724171 MM |
1333 | (trace_one_insn): Declare function. |
1334 | ||
23b04e79 MM |
1335 | Mon May 5 14:08:34 1997 Mike Meissner <meissner@cygnus.com> |
1336 | ||
1337 | * sim-trace.h (__attribute__): Define as nothing if not GNU C or | |
1338 | GNU C doesn't support __attributes__. | |
1339 | ({trace,debug}_printf): Add attribute's so -Wformat can check the | |
1340 | format strings. | |
1341 | ||
7a418800 AC |
1342 | Mon May 5 11:16:12 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1343 | ||
1344 | * sim-config.h (FORCED_ALIGNMENT): New alignment option - | |
1345 | addresses are masked forcing them to be correctly aligned. | |
1346 | (WITH_ALIGNMENT): Make NONSTRICT_ALIGNMENT the default. | |
1347 | * sim-config.c (config_alignment_to_a): Update. | |
1348 | ||
1349 | * sim-core.h (sim_cpu_core): New data type contains cpu specific | |
1350 | core data. | |
1351 | * sim-base.h (CPU_CORE): Add cpu specific core data to cpu base | |
1352 | type. | |
1353 | * sim-core.c (sim_core_attach): Add CPU argument. Ready for | |
1354 | processor specific core maps. | |
1355 | (sim_core_map_attach): Copy the core map data to each of the | |
1356 | processor specific core data structures. | |
1357 | * sim-core.c (sim_core_find_mapping): Update. | |
1358 | ||
1359 | * sim-n-core.h (sim_core_read_N, sim_core_write_N): Rename. | |
1360 | (sim_core_write_aligned_N, sim_core_write_aligned_N): New names. | |
1361 | (sim_core_write_unaligned_N, sim_core_write_unaligned_N): New | |
1362 | alternatives that handle unaligned addresses. | |
1363 | (sim_core_{read,write}_{,un}aligned_N): Drop SIM_DESC arg, replace | |
1364 | with just CPU arg. | |
1365 | * cgen-utils.c (sim_disassemble_insn): Update. | |
1366 | ||
3971886a AC |
1367 | Mon May 5 13:19:16 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1368 | ||
1369 | * sim-trace.h (TRACE_FPU_IDX): Add Floating-point specific | |
1370 | tracing. | |
1371 | ||
1372 | * sim-fpu.h, sim-fpu.c: New files - prototype for generic target | |
1373 | fpu support. | |
1374 | ||
1375 | * sim-inline.h, sim-inline.c: Add support for SIM_FPU. | |
1376 | ||
1fe05280 AC |
1377 | Fri May 2 17:59:42 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1378 | ||
1379 | * sim-core.c (sim_core_map_to_str): New function ascii equivalent | |
1380 | to map type. | |
1381 | ||
1382 | * sim-n-core.h (sim_core_read_N, sim_core_write_N): Use in trace | |
1383 | statement. | |
1384 | ||
1385 | Fri May 2 17:28:02 1997 Andrew Cagney <cagney@b2.cygnus.com> | |
1386 | ||
1387 | * cgen-trace.c: Prepend additional trace_printf argument. | |
1388 | ||
1389 | * cgen-utils.c (sim_disassemble_insn): Add additional core | |
1390 | arguments. | |
1391 | ||
1392 | Fri May 2 11:40:23 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1393 | ||
1394 | * nrun.c (main): Catch/report errorenous simulator states. | |
1395 | ||
1396 | * sim-module.c: #include "libiberty.h" so that xmalloc is defined. | |
1397 | * sim-trace.c: #include string.h/strings.h so that memset is | |
1398 | defined. | |
1399 | * sim-utils.c: Ditto. | |
1400 | * sim-profile.c: Ditto. And stdlib.h. | |
1401 | (print_bar): Only define when used by instruction or memory profiler. | |
1402 | ||
1403 | * sim-options.c (standard_option_handler): Make ul more local. | |
1404 | ||
1405 | * sim-load.c (sim_load_file): Make the name constant. | |
1406 | (sim_load_file): Passify gcc. | |
1407 | ||
1408 | * sim-utils.h: New file, pre-declare utilites in corresponding .c | |
1409 | file. | |
1410 | * sim-utils.c, sim-load.c: Include sim-utils.h. | |
1411 | ||
1412 | * sim-base.h (sim_cpu): Pre define here so available to all. | |
1413 | ||
1414 | * sim-core.h (DECLARE_SIM_CORE_WRITE_N, DECLARE_SIM_CORE_READ_N): | |
1415 | Restore the sim_cpu and instruction_address arguments so that full | |
1416 | information is available to the abort function. | |
1417 | * sim-core.c (sim_core_find_mapping, sim_core_write_buffer): Ditto. | |
1418 | * sim-n-core.h (sim_core_write_N, sim_core_read_N): Update. | |
1419 | ||
1420 | * sim-trace.h, sim-trace.c (trace_option_handler): Add interim | |
1421 | tracing support for sim-events and sim-core. | |
1422 | (trace_option_handler): Convert #if to if where possible so always | |
1423 | compiled/checked by C compiler. | |
1424 | * sim-n-core.h (sim_core_write_N, sim_core_read_N): Update. | |
1425 | ||
1426 | * sim-base.h: Adjust comment documenting how to define the cpu | |
1427 | structure. | |
1428 | (sim_state_base): Add sim_core and sim_events to simulator base | |
1429 | object. | |
1430 | ||
1431 | * sim-trace.h, sim-trace.c (trace_printf): Add SIM_DESC argument. | |
1432 | * sim-core.c (sim_core_init, sim_core_attach, | |
1433 | sim_core_find_mapping): Update. | |
1434 | * sim-events.c (ETRACE, sim_events_init, sim_events_time, | |
1435 | update_time_from_event, insert_sim_event, | |
1436 | sim_events_schedule_after_signal, sim_events_deschedule, | |
1437 | sim_events_tick): Ditto. | |
1438 | ||
1439 | * sim-basics.h (sim-module.h, sim-trace.h, sim-profile.h, | |
1440 | sim-model.h): Move #includes from here. | |
1441 | * sim-base.h: To here. | |
1442 | (sim-core.h, sim-events.h, sim-io.h): Include also | |
1443 | ||
1444 | Wed Apr 30 15:37:54 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1445 | ||
1446 | * callback.c (default_callback): Missing initialisers. | |
1447 | ||
c967f187 DE |
1448 | Thu May 1 10:40:47 1997 Doug Evans <dje@canuck.cygnus.com> |
1449 | ||
2317a499 DE |
1450 | * sim-utils.c (sim_add_commas): New function. |
1451 | * sim-basics.h (sim_add_commas): Add prototype. | |
1452 | * cgen-scache.c (scache_print_profile): Print commas in numbers. | |
1453 | * sim-profile.c (COMMAS): New macro. | |
1454 | (print_*): Use it to print commas in numbers. | |
1455 | ||
260b2c47 DE |
1456 | * configure: Regenerated. |
1457 | ||
1458 | * cgen-sim.h (sim_signal_type): Add SIM_SIGINT. | |
1459 | (cgen_state): New member run_fast_p. | |
1460 | (cgen_init): Add prototype. | |
1461 | (sim_disassemble_insn): New arg `cpu'. | |
1462 | * cgen-trace.c (trace_insn): Update call to sim_disassemble_insn. | |
1463 | * cgen-utils.c (cgen_init): New function. | |
1464 | (sim_disassemble_insn): New arg `cpu'. Rewrite fetching of insn. | |
1465 | * genmloop.sh: Call engine_halt if loop exits. | |
1466 | ||
c967f187 DE |
1467 | * Makefile.in (sim-options_h): Define. |
1468 | (sim-{module,options,trace,profile,utils}.o): Clean up dependencies. | |
1469 | (sim-model.o): Add new rule. | |
1470 | (cgen-{scache,trace,utils}.o): Add new rules. | |
1471 | * aclocal.m4 (SIM_AC_OPTION_{SCACHE,DEFAULT_MODEL}): Add. | |
1472 | * cgen-scache.c (scache_print_profile): Change `sd' arg to `cpu'. | |
1473 | Indent output by 2 spaces. | |
1474 | * cgen-scache.h (scache_print_profile): Update. | |
1475 | * cgen-trace.c (trace_insn_fini): Indent output by 2 spaces. | |
1476 | Use trace_printf, not fprintf. | |
1477 | (trace_extract): Use trace_printf, not cgen_trace_printf. | |
1478 | * genmloop.sh (!FAST case): Increment `insn_count'. | |
1479 | * sim-base.h (sim_state_base): Only include scache_size if WITH_SCACHE. | |
1480 | (sim_cpu_base): Rename member `sd' to `state' to be consistent with | |
1481 | access macro's name. | |
1482 | * sim-core.c (sim_core_init): Use EXTERN_SIM_CORE to define it. | |
1483 | Change return type to SIM_RC. | |
1484 | (sim_core_{install,uninstall}): New functions. | |
1485 | * sim-core.h (sim_core_{install,uninstall}): Declare. | |
1486 | (sim_core_init): Use EXTERN_SIM_CORE to define it. | |
1487 | Change return type to SIM_RC. | |
1488 | * sim-model.h (models,machs,model_install): Declare. | |
1489 | * sim-module.c (modules): Add scache_install, model_install. | |
1490 | (sim_post_argv_init): Set cpu->state backlinks. | |
1491 | * sim-options.c (standard_options): Delete --simcache-size,--max-insns. | |
1492 | (standard_option_handler): Likewise. | |
1493 | * sim-profile.c (PROFILE_{HISTOGRAM,LABEL}_WIDTH): Move to | |
1494 | sim-profile.h. | |
1495 | (*): Assume ANSI C. | |
1496 | (profile_options): Delete --profile-simcache. | |
1497 | (profile_option_handler): Likewise. | |
1498 | (profile_print_insn): Change `sd' arg to `cpu'. Indent output 2 | |
1499 | spaces. | |
1500 | (profile_print_{memory,model}): Likewise. | |
1501 | (profile_print_simcache): Delete. | |
1502 | (profile_print_speed): New function. | |
1503 | (profile_print): Rewrite. | |
1504 | * sim-profile.h (PROFILE_scache): Renamed from PROFILE_simcache. | |
1505 | (WITH_PROFILE_SCACHE_P): Renamed from WITH_PROFILE_SIMCACHE_P. | |
1506 | (PROFILE_DATA): Delete members simcache_{hits,misses}. | |
1507 | (PROFILE_COUNT_SIMCACHE_{HIT,MISS}): Delete. | |
1508 | (PROFILE_{CALLBACK,CPU_CALLBACK}): New types. | |
1509 | (profile_print): Update prototype. | |
1510 | ||
717dbb29 DE |
1511 | Wed Apr 30 11:34:14 1997 Doug Evans <dje@canuck.cygnus.com> |
1512 | ||
6475b234 | 1513 | * cgen-scache.[ch], cgen-sim.h: New files. |
b9c8cd10 DE |
1514 | * cgen-trace.[ch], cgen-types.h, cgen-utils.c, genmloop.sh: New files. |
1515 | * sim-model.c: New file. | |
1516 | ||
717dbb29 DE |
1517 | * Make-common.in (clean targets): Undo patch of Apr. 22. |
1518 | ||
1519 | Fri Apr 25 15:28:32 1997 Mike Meissner <meissner@cygnus.com> | |
1520 | ||
1521 | * sim-n-bits.h (signed): If we have a standard compiler, undef | |
1522 | signed, so that signedN is defined correctly. | |
1523 | ||
b320601b DE |
1524 | Thu Apr 24 00:00:07 1997 Doug Evans <dje@canuck.cygnus.com> |
1525 | ||
1526 | * sim-module.h, sim-model.h, sim-profile.h: New files. | |
1527 | * sim-module.c, sim-profile.c: New files. | |
1528 | * Make-common.in (SIM_PROFILE): Define | |
1529 | (CONFIG_CFLAGS): Add $(SIM_PROFILE). | |
1530 | (sim_main_headers): Add sim-module.h, sim-model.h, sim-profile.h. | |
1531 | (sim_module.o,sim-profile.o): Add rules for. | |
1532 | * aclocal.m4 (--enable-sim-trace): Allow symbolic arguments. | |
1533 | (--enable-sim-profile): Add. | |
1534 | * configure: Regenerated. | |
1535 | * sim-base.h (sim_state_base): New members init_list, uninstall_list, | |
1536 | model. Move trace and profile support to sim-{trace,profile}.h. | |
1537 | New members trace_data, profile_data. | |
1538 | * sim-basics.h: #include sim-module.h, sim-model.h, sim-profile.h. | |
1539 | * sim-config.h: Provide default definition of WITH_PROFILE. | |
1540 | (WITH_TRACE): Change default to -1. | |
1541 | (MAX_NR_PROCESSORS): Always define. | |
1542 | * sim-options.c: Move trace and profile support to | |
1543 | sim-{trace,profile}.h. | |
1544 | (sim_pre_argv_init): Moved to sim-model.c. | |
1545 | (standard_install): New function. | |
1546 | * sim-options.h (sim_pre_argv_init): Move decl to sim-model.c. | |
1547 | (standard_install): Declare. | |
1548 | * sim-trace.c: Tracing option handling moved here from sim-options.c. | |
1549 | (trace_install, trace_uninstall): New functions. | |
1550 | (trace_printf): Update reference to TRACE_FILE. | |
1551 | * sim-trace.h (TRACE_FOO_IDX): Moved here from sim-base.h. | |
1552 | (TRACE_foo): Bit masks for symbolic arguments to --enable-sim-trace. | |
1553 | (WITH_TRACE_FOO_P): Define. | |
1554 | (trace_install): Declare. | |
1555 | (TRACE_DATA): New struct. | |
1556 | ||
ef751fb0 DE |
1557 | Wed Apr 23 17:23:15 1997 Doug Evans <dje@canuck.cygnus.com> |
1558 | ||
1559 | * run.c: Undo last exec_bfd patch. | |
1560 | (main): Only pass -E ifdef SIM_HAVE_BIENDIAN. | |
1561 | ||
e3eba3fd MM |
1562 | Wed Apr 23 17:54:27 1997 Mike Meissner <meissner@cygnus.com> |
1563 | ||
1564 | * run.c (exec_bfd): Add back in. | |
1565 | (main): Set exec_bfd. | |
1566 | ||
2c27ef78 DE |
1567 | Tue Apr 22 14:43:46 1997 Doug Evans <dje@canuck.cygnus.com> |
1568 | ||
1569 | * sim-load.c (sim_load_file): #include <stdio.h> for NULL. | |
1570 | ||
15c16493 AC |
1571 | Wed Apr 23 02:55:54 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1572 | ||
1573 | * sim-events.c (insert_sim_event): Call sim_io_error instead of | |
1574 | less well defined engine_error. | |
1575 | * sim-core.c: Ditto. | |
1576 | ||
0f399b0c SG |
1577 | Tue Apr 22 08:48:16 1997 Stu Grossman (grossman@critters.cygnus.com) |
1578 | ||
1579 | * Make-common.in: Change clean targets to use :: so that other | |
1580 | Makefiles can have their own clean targets. | |
1581 | * sim-load.c (xprintf eprintf): Use ANSI_PROTOTYPES instead of | |
1582 | __STDC__ to control use of stdarg vs. varargs syntax. Some | |
1583 | systems can't use __STDC__, but require stdarg. | |
1584 | ||
4a6163db DE |
1585 | Fri Apr 18 11:14:43 1997 Doug Evans <dje@canuck.cygnus.com> |
1586 | ||
e65bd1d8 DE |
1587 | * sim-options.c (standard_options): Add --endian. |
1588 | (standard_option_handler): Likewise. | |
1589 | ||
4a6163db DE |
1590 | * nrun.c: #include <signal.h>. |
1591 | (main, cntrl_c): Wrap calls to sim_resume in a SIGINT | |
1592 | handler that calls sim_stop (). | |
1593 | ||
8517f62b AC |
1594 | Fri Apr 18 13:11:36 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1595 | ||
1596 | * run.c (main, cntrl_c): Wrap calls to sim_resume in a SIGINT | |
1597 | handler that calls sim_stop (). Simulators may still be | |
1598 | establishing their own handler. | |
1599 | ||
1600 | * sim-events.c (sim_events_poll): Rename from | |
1601 | sim_events_at_large_int. Poll IO. | |
1602 | ||
1603 | * sim-io.c (sim_io_poll_quit): New function - pass on a polling | |
1604 | request. | |
1605 | ||
1606 | * callback.c (os_poll_quit): New function poll for quit signal | |
1607 | where needed. | |
1608 | (default_callback): Include magic number. | |
1609 | ||
0f2811d1 DE |
1610 | Thu Apr 17 02:25:11 1997 Doug Evans <dje@canuck.cygnus.com> |
1611 | ||
63ddb6bd DE |
1612 | * aclocal.m4: Check for headers time.h, sys/time.h, sys/resource.h. |
1613 | Check for functions getrusage, time. | |
1614 | * sim-basics.h (SIM_ELAPSED_TIME): New typedef. | |
1615 | (sim_elapsed_time_get, sim_elapsed_time_since): Add prototypes. | |
1616 | * sim-utils.c: #include time.h, sys/time.h, sys/resource.h if able. | |
1617 | (sim_elapsed_time_get, sim_elapsed_time_since): New functions. | |
1618 | ||
ba65b2f4 DE |
1619 | * sim-utils.c (sim_copy_argv, sim_analyze_program): New functions. |
1620 | ||
4ede3a83 | 1621 | * sim-options.c, sim-options.h: New files. |
4b364b00 | 1622 | * sim-config.h (WITH_DEBUG): Provide default value of zero. |
e9b2f579 | 1623 | * Make-common.in (nrun.o): Add rules for. |
c95d08a8 | 1624 | * nrun.c: New file. |
4ede3a83 | 1625 | |
f7d2f538 DE |
1626 | * run.c (main): Check return value of sim_open. |
1627 | ||
e9b2f579 | 1628 | * Make-common.in (sim-options.o, sim-load.o, sim-trace.o): Add rules. |
0f2811d1 DE |
1629 | (sim_main_headers): Add sim-trace.h. |
1630 | * run.c (exec_bfd, target_byte_order): Delete. | |
1631 | (main): Pass -E <endian> to sim_open. Delete code to load sections, | |
1632 | call sim_load instead. Check return code of sim_create_inferior. | |
1633 | * sim-base.h (CURRENT_STATE): Define. | |
1634 | (sim_state_base): Make typedef. New members options, prog_argv, | |
1635 | prog_bfd, text_{section,start,end}, start_addr, simcache_size, | |
1636 | mem_size, memory [+ corresponding access macros]. | |
1637 | (sim_cpu_base): New typedef. | |
1638 | * sim-trace.h: New file. | |
e9b2f579 | 1639 | * sim-trace.c: New file. |
0f2811d1 | 1640 | * sim-basics.h: #include it. |
35c384f6 | 1641 | * sim-load.c: New file. |
0f2811d1 | 1642 | |
6808fd61 ILT |
1643 | Tue Apr 15 15:10:13 1997 Ian Lance Taylor <ian@cygnus.com> |
1644 | ||
1645 | * Make-common.in (INSTALL): Set to @INSTALL@. | |
1646 | (INSTALL_XFORM, INSTALL_XFORM1): Remove. | |
1647 | (install-common): Depend upon installdirs. Use | |
1648 | $(program_transform_name) directly, rather than using | |
1649 | $(INSTALL_XFORM). | |
1650 | (installdirs): New target. | |
1651 | * Makefile.in (INSTALL): Set to @INSTALL@. | |
1652 | (INSTALL_XFORM, INSTALL_XFORM1): Remove. | |
1653 | (install-man): Depend upon installdirs. Use | |
1654 | $(program_transform_name) directly, rather than using | |
1655 | $(INSTALL_XFORM). | |
1656 | (installdirs): New target. | |
1657 | ||
7ec396d2 AC |
1658 | Tue Apr 15 15:08:12 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1659 | ||
1660 | * sim-assert.h (SIM_ASSERT, ASSERT): Allow these macros to | |
1661 | be overriden. | |
1662 | ||
1663 | Wed Apr 9 16:06:44 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1664 | ||
1665 | * sim-basics.h: Only bring in config.h and tconfig.h if | |
1666 | HAVE_CONFIG_H. | |
1667 | ||
1668 | Mon Apr 7 11:39:45 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1669 | ||
1670 | * sim-config.h (WITH_TARGET_WORD_MSB): New Macro. Define the bit | |
1671 | numbering convention of the target. | |
1672 | * sim-config.c (print_sim_config): Print WITH_TARGET_WORD_BITSIZE | |
1673 | and WITH_TARGET_WORD_MSB. | |
1674 | (sim_config): When possible, check for consistency with bitsize | |
1675 | and msb. | |
1676 | ||
1677 | * sim-bits.h: Allow MSB to be other than zero. | |
1678 | * sim-bits.c: Ditto. | |
1679 | * sim-n-bits.h: Ditto. | |
1680 | ||
1681 | * sim-bits.h (MSMASK*): New macros - converce to LSMASK*. | |
1682 | * sim-n-bits.h (MSMASKEDn): Ditto. | |
1683 | ||
1684 | Mon Apr 14 16:29:21 1997 Ian Lance Taylor <ian@cygnus.com> | |
1685 | ||
1686 | * Makefile.in (INSTALL): Change install.sh to install-sh. | |
1687 | ||
25a9c90b DE |
1688 | Mon Apr 7 10:46:38 1997 Doug Evans <dje@canuck.cygnus.com> |
1689 | ||
1690 | * sim-base.h (sim_state_base): Move `magic' to end of struct. | |
1691 | ||
b4d88827 AC |
1692 | Mon Apr 7 15:53:21 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
1693 | ||
1694 | * run.c (main): Check that a program to run was specified. | |
1695 | ||
08db4a65 AC |
1696 | Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
1697 | ||
1698 | * aclocal.m4 (AC_TYPE_SIGNAL): Add check. | |
1699 | ||
1700 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1701 | * config.in: Ditto. | |
1702 | ||
fbda74b1 DE |
1703 | Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com> |
1704 | ||
21bfad86 DE |
1705 | * sim-endian.h: Move host {LITTLE,BIG}_ENDIAN support from here, |
1706 | * sim-config.h: To here. | |
1707 | ||
00d74d3e DE |
1708 | * Make-common.in (SIM_EXTRA_DEPS): New config var. |
1709 | (sim_main_headers): Define. | |
1710 | (sim-*.o): Depend on $(SIM_EXTRA_DEPS). | |
1711 | (BUILT_SRC_FROM_COMMON): Move here from ../d30v/Makefile.in. | |
1712 | (clean): Use it. | |
1713 | (sim-utils.o): Add rule for. | |
1714 | * sim-utils.o: New file. | |
1715 | * sim-basics.h: #include sim-base.h. | |
1716 | (zalloc): Make argument unsigned long. | |
1717 | * sim-base.h: New file. | |
1718 | * sim-inline.h (SIM_IO support): Delete. | |
1719 | * sim-io.h: Delete inline support. | |
1720 | * sim-io.c: Likewise. sim-state.h renamed to sim-main.h. | |
1721 | * sim-config.c: sim-state.h renamed to sim-main.h. | |
1722 | * sim-core.c: Likewise. | |
1723 | * sim-events.c: Likewise. | |
1724 | ||
bcd1475a DE |
1725 | * run.c (main): Pass SIM_OPEN_STANDALONE to sim_open. |
1726 | ||
fbda74b1 DE |
1727 | * aclocal.m4: Check for stdlib.h, string.h, strings.h, unistd.h. |
1728 | (sim-debug): Allow arguments. Define WITH_DEBUG in addition to | |
1729 | -DDEBUG. | |
1730 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1731 | ||
a35e91c3 AC |
1732 | Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
1733 | ||
1734 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1735 | ||
1736 | Wed Apr 2 11:08:11 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1737 | ||
1738 | * sim-config.h (WITH_ALIGNMENT, WITH_FLOATING_POINT, | |
1739 | WITH_XOR_ENDIAN, WITH_SMP, WITH_RESERVED_BITS): Assume that these | |
1740 | are defined by the configure. | |
1741 | ||
1742 | * aclocal.m4 (sim-stdio): Add option stdio from ../ppc configure. | |
1743 | ||
1744 | * aclocal.m4 (floating-point, xor-endian, alignment, smp, | |
1745 | reserved-bits): Always define. | |
1746 | ||
1747 | * sim-config.h, sim-config.c (sim_config): New function - and new | |
1748 | file - co-ordinate the setting/checking of the common simulator | |
1749 | configuration options. | |
1750 | ||
1751 | * Make-common.in (sim-config.o): Add rule. | |
1752 | ||
1753 | Fri Mar 28 15:32:00 1997 Mike Meissner <meissner@cygnus.com> | |
1754 | ||
1755 | * callback.c (os_{,e}vprintf_filtered): Change stdarg type to | |
1756 | va_list from void *, since va_list might not be a pointer type. | |
1757 | ||
1758 | Mon Mar 24 15:27:12 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1759 | ||
1760 | * sim-n-endian.h (offset_N): Correct assertion - word and sub word | |
1761 | in wrong order. | |
1762 | (offset_N): Correct computation of LE offset. | |
1763 | ||
1764 | * sim-io.c (sim_io_error): Include a new line when reporting | |
1765 | errors. | |
1766 | ||
1767 | * sim-assert.h (SIM_FILTER_PATH): Out by one when locating last | |
1768 | `/'. | |
1769 | ||
aa7cec3f JL |
1770 | Thu Mar 20 22:31:06 1997 Jeffrey A Law (law@cygnus.com) |
1771 | ||
1772 | * run.c: Include alloca-conf.h. | |
7c058c9e JL |
1773 | |
1774 | * callback.c (os_evprintf_filtered): Fix typo. | |
1775 | ||
fa21d299 AC |
1776 | Fri Mar 21 13:36:20 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
1777 | ||
1778 | * run.c (string.h, strings.h, stdlib.h): Include. | |
1779 | ||
1780 | * sim-events.c (sim_events_tick): Recent cleanup failed to return | |
1781 | 0 when nothing pending. | |
1782 | ||
1783 | * run.c (sim_size, sim_trace): Plicate GCC - these two functions | |
1784 | will soon be going away. | |
1785 | (getopt): Plicate GCC. | |
1786 | ||
1787 | * sim-endian.c (sim-io.h): Plicate GCC. | |
1788 | * sim-bits.c (sim-io.h): Ditto. | |
1789 | * sim-n-bits.h (ROTn): Ditto. | |
1790 | ||
1791 | * sim-io.c (sim_io_error): Correct check for NULL. | |
1792 | ||
1793 | * sim-assert.h (SIM_FILTER_PATH): Separate out the code filtering | |
1794 | the __FILE__. | |
1795 | * sim-events.c: Use SIM_FILTER_PATH to filter out the filename | |
1796 | path. | |
1797 | ||
1798 | Wed Mar 19 01:12:06 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1799 | ||
1800 | * aclocal.m4 (SIM_AC_OPTION_*: Move so that they are outside of | |
1801 | SIM_AC_COMMON - SIM_AC_COMMON was gobling arguments. | |
1802 | ||
4a5fb09d AC |
1803 | Tue Mar 18 20:48:12 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
1804 | ||
1805 | * sim-alu.h: Include sim-xcat.h. | |
1806 | ||
d11d59ac AC |
1807 | Tue Mar 18 13:58:18 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
1808 | ||
1809 | * Make-common.in (sim-bits.c, sim-core.c, sim-endian.c, | |
1810 | sim-events.c, sim-inline.c, sim-io.c): Define rules for building | |
1811 | these. | |
1812 | ||
1813 | * sim-events.c (sim_events_at_large_int): New function. Just | |
1814 | schedules an event every large-int ticks. | |
1815 | (sim_events_init): Call. | |
1816 | (sim_events_tick, sim_events_process): Move async handing to | |
1817 | sim_events_process. Move timer decrement so that it occures after | |
1818 | events have been processed. | |
1819 | ||
1820 | * sim-basics.h (struct _engine): Remove declaration. | |
1821 | ||
1822 | * sim-events.h, sim-events.c: Rename type to sim_events. Prefix | |
1823 | everything with same. Rename global struct to SIM_DESC. | |
1824 | * sim-core.h, sim-core.c, sim-n-core.c: Ditto for sim_core. | |
1825 | * sim-io.h, sim-io.c: Ditto. | |
1826 | ||
1827 | * sim-assert.h: New file. Optional assertion checking macros. | |
1828 | * sim-io.c (sim_io_error): Make just this function tolerant to | |
1829 | null pointers. | |
1830 | ||
1831 | * sim-xcat.h: New file. Define concatenate macros. | |
1832 | * sim-basics.h (XCONCAT*): Move to sim-xcat.h. | |
1833 | * sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Explicitly include | |
1834 | concat macros. | |
1835 | ||
1836 | ||
752517cc AC |
1837 | Tue Mar 18 12:44:55 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
1838 | ||
1839 | * sim-bits.h (LSMASK): New macro. Create mask of LS bits. | |
1840 | ||
86eb1e29 AC |
1841 | Mon Mar 17 18:10:05 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
1842 | ||
1843 | * sim-inline.h: Add definitions for sim-types. | |
1844 | (ALL_BY_MODULE): New macro, encapsulate full inlining by the | |
1845 | module. | |
1846 | ||
231de1b8 AC |
1847 | Mon Mar 17 15:38:27 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
1848 | ||
1849 | * sim-events.h: Remove defunct reference to callback struct. | |
1850 | ||
a77aa7ec AC |
1851 | Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
1852 | ||
1853 | * configure: Re-generate. | |
1854 | ||
1855 | Mon Mar 17 15:04:47 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1856 | ||
1857 | * Make-common.in (CSEARCH): Do not include the gdb directory in | |
1858 | the search path. | |
1859 | ||
1860 | Mon Mar 17 13:16:26 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1861 | ||
1862 | * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE, | |
1863 | SIM_WARNING): Drop, requiring the simulator specific Makefile.in | |
1864 | to explicitly incorporate these. | |
1865 | ||
1866 | * aclocal.m4 (--enable-sim-alignment); New option. Strongly | |
1867 | specify the alignment restrictions of the target architecture - | |
1868 | without this option all alignment restrictions are accomodated. | |
1869 | (--enable-sim-assert): New option. Conditionally compile in | |
1870 | assertion statements. | |
1871 | (--enable-sim-float): New option. Strongly specify the target's | |
1872 | floating point support. | |
1873 | (--enable-sim-hardware): New option. Specify the hardware devices | |
1874 | included in the simulation. | |
1875 | (--enable-sim-packages): New option. Specify the hardware | |
1876 | packages included in the simulation. | |
1877 | (--enable-sim-regparm): New option. Specify that parameters be | |
1878 | passed in registers instead of on the stack. | |
1879 | (--enable-sim-reserved-bits): New option. Specify that reserved | |
1880 | bits within an instruction are are correctly set. | |
1881 | (--enable-sim-smp): New option. Specify the level of SMP support | |
1882 | to be included in the simulator. | |
1883 | (--enable-sim-stdcall): New option. Specify an alternative | |
1884 | function call convention. | |
1885 | (--enable-sim-xor-endian): New option. Configure xor-endian | |
1886 | support used by some targets to implement bi-endian support. | |
1887 | ||
f2de7dfd AC |
1888 | Fri Mar 14 19:51:21 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
1889 | ||
1890 | * aclocal.m4 (--enable-sim-hostendian): New option. Allow the | |
1891 | host endianness to be overridden. | |
1892 | (--enable-sim-endian): Allow the target platform's byte order | |
1893 | to be overridden. | |
1894 | (--enable-sim-inline): Control the inlining of common components. | |
1895 | (--enable-sim-bswap): For compatibility, also define WITH_BSWAP. | |
1896 | (--enable-sim-warnings): Enable additional GCC compiler checks. | |
1897 | * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE, | |
1898 | SIM_WARNINGS): Add. | |
1899 | ||
1900 | * sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Rename from | |
1901 | sim-*-n.h so that the names are uniq on dos machines | |
1902 | * sim-core.c, sim-bits.c, sim-endian.c: Update. | |
1903 | ||
499aa792 DE |
1904 | Thu Mar 13 12:32:42 1997 Doug Evans <dje@canuck.cygnus.com> |
1905 | ||
1906 | * run.c: #include "libiberty.h". | |
1907 | (main): New locals sd,no_args,sim_argv. | |
1908 | Run buildargv on -a option. Pass argv to sim_open, argv[0] | |
1909 | is program name. Update call to sim_set_callbacks. | |
1910 | Record result of sim_open, pass to other sim_foo routines. | |
1911 | ||
fd435e9f MM |
1912 | Thu Mar 13 10:24:05 1997 Michael Meissner <meissner@cygnus.com> |
1913 | ||
1914 | * callback.c (os_printf_filtered): Do not call exit(1) or print a | |
1915 | final newline. | |
1916 | ||
1917 | Thu Mar 6 15:50:28 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1918 | ||
1919 | * callback.c: Add os_flush_stdout and vprintf_filtered callbacks. | |
1920 | Route stdout through buffered IO. | |
1921 | ||
1922 | * callback.c: Add os_flush_stderr, os_write_stderr, | |
1923 | os_evprintf_filtered functions to route error output through | |
1924 | stderr. | |
1925 | ||
1926 | * sim-io.h, sim-io.c (sim_io_flush_stderr, sim_io_flush_stdout): | |
1927 | Correct return type - should be void. | |
1928 | ||
1929 | Fri Mar 7 20:14:37 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1930 | ||
1931 | * sim-basics.h: Clean up. Many macro's moved to sim-inline.h. | |
1932 | ||
1933 | * sim-config.h: Ditto. For some options - eg WITH_DEVICES - do | |
1934 | not provide a default value as undefined indicates disable code. | |
1935 | ||
1936 | Thu Mar 6 15:50:28 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1937 | ||
1938 | * sim-core.h, sim-core-n.h, sim-core.c: Borrow code from ppc | |
1939 | directory. | |
1940 | * sim-events.h, sim-events.c: Ditto. | |
1941 | * sim-io.h, sim-io.c: Ditto. | |
1942 | ||
b3e426bc AC |
1943 | Tue Mar 4 09:35:56 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
1944 | ||
1945 | * sim-alu.h (ALU_SUB_CA, ALU*_SUB_CA): New alu operation. | |
1946 | ||
1947 | * sim-bits.h, sim-bits-n.h, sim-bits.c (LSMASKED*): New macro's | |
1948 | extract the tail or least signifiant bits from an integer of the | |
1949 | specified size. | |
1950 | ||
1951 | * sim-bits.h, sim-bits.c: Clean up conditionally compiled #if | |
1952 | WITH_TARGET_BITSIZE so that the compilation will fail when an | |
1953 | unsupported bitsize value is defined. | |
1954 | ||
1955 | (INSERTED*): Convert to functions. | |
1956 | (EXTRACTED*): Ditto. | |
1957 | ||
1958 | (SIGN_EXTEND, SEXT): Change to more terse name. | |
1959 | ||
17bbcaad AC |
1960 | Tue Mar 4 09:35:56 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
1961 | ||
1962 | * sim-inline.h: Allow explicit control over which .c files will be | |
1963 | included by their header. | |
1964 | ||
1965 | * sim-inline.h: Allow explicit control over which .c files use the | |
1966 | alternative - REGPARM - parameter passing mechanism. | |
1967 | ||
1968 | * sim-inline.h, sim-inline.c: Don't attempt to include any of | |
1969 | icache.c, idecode.c, semantics.c or support.c. Those names are | |
1970 | not generally applicable. | |
1971 | ||
b3e426bc AC |
1972 | Thu Feb 27 10:17:23 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
1973 | ||
1974 | * sim-bits.c, sim-bits-n.h (new): Split sim-bits.c into two parts | |
1975 | in a fashion similar to sim-endian-n. | |
1976 | ||
1977 | * sim-endian.h: (H_word, L_word, AL_*, VL_*): Extend to include | |
1978 | both value and address macro's. | |
1979 | ||
1980 | Tue Feb 25 18:51:57 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1981 | ||
1982 | * sim-alu.h (ALU16_BEGIN, ALU16_SET, ...): Fill in. | |
1983 | ||
1984 | * sim-endian.h (L_word, H_word): Replace MS2W_4, LS2W_4 with more | |
1985 | generic L_word, H_word macro's. | |
1986 | ||
17bbcaad AC |
1987 | Thu Feb 20 18:36:55 1997 Andrew Cagney <cagney@critters.cygnus.com> |
1988 | ||
1989 | * sim-basics.h: Borrow code from ppc directory. | |
1990 | * sim-bits.c: Ditto. | |
1991 | * sim-bits.h: Ditto. | |
1992 | * sim-config.h: Ditto. | |
1993 | * sim-endian-n.h: Ditto. | |
1994 | * sim-endian.c: Ditto. | |
1995 | * sim-endian.h: Ditto. | |
1996 | * sim-inline.c: Ditto. | |
1997 | * sim-inline.h: Ditto. | |
1998 | * sim-types.h: Ditto. | |
1999 | ||
2000 | Wed Feb 19 12:40:50 1997 Andrew Cagney <cagney@critters.cygnus.com> | |
2001 | ||
2002 | * sim-alu.h (ALU_SET16, ALU_SET32, ALU_SET64, etc): Make available | |
2003 | all the ALU size alternatives and then auto-configure a default. | |
2004 | ||
2005 | * sim-alu.h: Copy ppc/idecode_expression.h. | |
2006 | ||
2007 | Mon Feb 17 10:44:18 1997 Andrew Cagney <cagney@critters.cygnus.com> | |
2008 | ||
2009 | * bits.h, bits.c (SIGN_EXTEND32, SIGN_EXTEND64): New functions, | |
2010 | sign extend a bit within a value. | |
2011 | ||
2012 | * sim-endian.h, sim-endian-n.h (offset_N): New functions - return | |
2013 | a pointer into the middle of a host word. | |
2014 | * sim-endian.h (MS2W_4, LS2W_4): Use this function. | |
2015 | ||
2016 | Tue Feb 11 13:46:49 1997 Michael Meissner <meissner@tiktok.cygnus.com> | |
2017 | ||
2018 | * callback.c: If HAVE_CONFIG_H is defined, include config.h from | |
2019 | autoconf. If HAVE_UNISTD_H is defined, include unistd.h to get | |
2020 | appropriate definitions of read, write, etc. Add prototype for | |
2021 | system. | |
2022 | ||
1cc9ed29 DE |
2023 | Tue Feb 4 13:24:44 1997 Doug Evans <dje@canuck.cygnus.com> |
2024 | ||
2025 | * Makefile.in (libcommon.a): Delete. | |
2026 | (callback.o,targ-map.o): Delete, moved to Make-common.in. | |
2027 | (gentmap,targ-vals.h,targ-map.c): Likewise. | |
2028 | (run-autoconf): Delete. | |
2029 | * aclocal.m4 (SIM_AC_OUTPUT): Redo creation of Makefile. | |
2030 | (common makefile fragment): Moved back into ... | |
2031 | * Make-common.in: Resurrect. | |
2032 | * configure.in (AC_LINK_FILES): Delete, unnecessary now. | |
2033 | * configure: Regenerated. | |
2034 | ||
8cd89e77 DE |
2035 | Fri Jan 31 07:16:49 1997 Doug Evans <dje@canuck.cygnus.com> |
2036 | ||
2037 | * aclocal.m4 (SIM_AC_COMMON): Move COMMON_MAKEFILE_FRAG from here. | |
2038 | (SIM_AC_OUTPUT): To here. | |
2039 | ||
76e2c9ae SG |
2040 | Fri Jan 24 10:37:17 1997 Stu Grossman (grossman@critters.cygnus.com) |
2041 | ||
2042 | * aclocal.m4 (COMMON_MAKEFILE_FRAG): Quote a couple of $'s in | |
2043 | comments and single quotes. Fixes a problem found on hpux. | |
2044 | ||
80b7b3a5 SG |
2045 | Thu Jan 23 13:35:03 1997 Stu Grossman (grossman@critters.cygnus.com) |
2046 | ||
e1dfb8c5 | 2047 | * aclocal.m4: Remove Make-common.in from dependencies. |
42653e99 | 2048 | * (distclean): Remove targ-vals.def. |
e1dfb8c5 | 2049 | |
80b7b3a5 SG |
2050 | * aclocal.m4 (SIM_AC_COMMON): Move contents of Make-common.in |
2051 | into here. Makes insertion into makefiles easier. Also, change | |
2052 | the way that callback.o, gentmap, targ-vals.h, targ-map.c, | |
2053 | targ-map.o, and run are built. They are now built in the | |
2054 | individual simulator directories, taking sources from ../common as | |
2055 | necessary. This replaces the merging of libcommon.a into | |
2056 | linsim.a, which was problematic for the WinGDB build process. | |
2057 | * run.c: Include config.h from . instead of ../common. | |
2058 | * Make-common.in: Remove. It's no longer necessary. | |
2059 | ||
2060 | Mon Dec 16 15:02:33 1996 Ian Lance Taylor <ian@cygnus.com> | |
2061 | ||
2062 | * Make-common.in (ALL_CLAGS): Put CFLAGS at the end. | |
2063 | (.c.o): Put $(ALL_CFLAGS) before the file being compiled. | |
2064 | ||
2065 | Wed Dec 11 11:30:58 1996 Jim Wilson <wilson@cygnus.com> | |
2066 | ||
2067 | * run.c (main): Set target_byte_order before call to sim_open. | |
2068 | ||
966f47b4 DE |
2069 | Sun Dec 8 18:22:06 1996 Doug Evans <dje@canuck.cygnus.com> |
2070 | ||
2071 | * callback.c: #include <stdlib.h> | |
2072 | (os_error): New function. | |
2073 | (default_callback): Add os_error. | |
2074 | ||
2075 | Mon Nov 25 19:44:35 1996 Doug Evans <dje@canuck.cygnus.com> | |
2076 | ||
2077 | * Make-common.in (Makefile): Set CONFIG_HEADERS="". | |
2078 | * aclocal.m4: Mark the fact that --enable-sim-bswap isn't host | |
2079 | specific. | |
2080 | (SIM_AC_OUTPUT): Don't build Makefile if CONFIG_FILES="". | |
2081 | ||
2082 | Wed Nov 20 01:11:04 1996 Doug Evans <dje@canuck.cygnus.com> | |
2083 | ||
2084 | * run.c: #include ../common/config.h, tconfig.h. | |
2085 | (myname): New static global. | |
2086 | (main): Recognize new options -a, -c. Also recognize -h if h8/300. | |
2087 | Only process -c ifdef SIM_HAVE_SIMCACHE. | |
2088 | Only process -p/-s ifdef SIM_HAVE_PROFILE. | |
2089 | Parse program name from argv[0] and use in error messages. | |
2090 | Pass sim_args to sim_open. Pass prog_args to sim_create_inferior. | |
2091 | Add support for incomplete h8/300 termination indicators. | |
2092 | (usage): Make more verbose. | |
2093 | * aclocal.m4,config.in,tconfig.in,configure.in,configure: New files. | |
2094 | * Makefile.in,Make-common.in,callback.c: New files. | |
2095 | * nltvals.def,gentmap.c,gentvals.sh: New files. | |
2096 | ||
2097 | Tue Nov 12 13:34:00 1996 Dawn Perchik <dawn@cygnus.com> | |
2098 | ||
2099 | * run.c: Include stdarg.h if __STDC__. | |
2100 | ||
2101 | Tue Oct 15 11:16:31 1996 Jeffrey A Law (law@cygnus.com) | |
2102 | ||
2103 | * run.c (main): Don't print out anything if the signal | |
2104 | number is zero (ie no signal). | |
2105 | ||
57bc1a72 MM |
2106 | Tue Oct 15 11:20:44 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
2107 | ||
2108 | * run.c (main): Print out if the program raised a signal. | |
2109 | ||
2110 | Wed Sep 18 09:52:14 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
2111 | ||
2112 | * run.c (exec_bfd): Rename from sim_bfd, to use the gdb name. | |
2113 | (main): Ditto. | |
2114 | ||
3733d109 JSC |
2115 | Tue Sep 17 11:04:50 1996 James G. Smith <jsmith@cygnus.co.uk> |
2116 | ||
2117 | * run.c (main): Explicitly cast malloc() parameter. | |
2118 | ||
9b280a86 MM |
2119 | Thu Sep 12 11:27:21 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
2120 | ||
2121 | * run.c (sim_bfd): New global to hold the bfd pointer for the | |
2122 | executable. | |
2123 | (main): Initialize sim_bfd. | |
2124 | ||
2125 | Fri Dec 15 16:27:49 1995 Ian Lance Taylor <ian@cygnus.com> | |
2126 | ||
2127 | * run.c (main): Use new bfd_big_endian macro. | |
2128 | ||
2129 | Wed Nov 8 15:49:49 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk> | |
2130 | ||
2131 | * run.c (main): Removed SH specific comments, so source is | |
2132 | generic. Also updated to only load relevant sections. Moved | |
2133 | sim_open() to after callback attach (to match GDB). | |
2134 | ||
2135 | * run.1: Removed SH specific comments. | |
2136 | ||
3be50301 JW |
2137 | Sat Oct 21 12:31:01 1995 Jim Wilson <wilson@chestnut.cygnus.com> |
2138 | ||
2139 | * run.c (main): Always return sigrc at end. | |
2140 | ||
2141 | Tue Oct 10 12:03:13 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
2142 | ||
2143 | * run.c (main): Print error diagnostic and exit if bfd_openr() or | |
2144 | bfd_check_format() fails. | |
2145 | ||
f025d903 SC |
2146 | Thu Sep 28 15:40:36 1995 steve chamberlain <sac@slash.cygnus.com> |
2147 | ||
2148 | * run.c, run.1: From sh directory. | |
2149 | ||
2150 |