* configure.in (sparc64): Set arch to v9-64.
[deliverable/binutils-gdb.git] / sim / d10v / ChangeLog
1 Mon Oct 13 10:55:07 1997 Fred Fish <cygnus.com>
2
3 * simops.c (OP_6A01): Change OP_POSTDEC to OP_POSTINC and move
4 exception generation code to OP_6E01.
5 (OP_6E01): Change OP_POSTINC to OP_POSTDEC and insert exception
6 generation code.
7
8 Sat Oct 11 09:02:08 1997 Fred Fish <fnf@cygnus.com>
9
10 * simops.c (OP_6401): postdecrement on r15 is OK, remove exception.
11 (OP_6601): Ditto.
12
13 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
14
15 * configure: Regenerated to track ../common/aclocal.m4 changes.
16
17 Sat Sep 27 12:51:34 1997 Fred Fish <fnf@cygnus.com>
18
19 * interp.c (pc_addr): Discard upper bit(s) of PC in case
20 IMAP1 selects unified memory.
21 * d10v_sim.h (INC_ADDR): Align MOD_E to increment before testing
22 for end condition.
23
24 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
25
26 * configure: Regenerated to track ../common/aclocal.m4 changes.
27
28 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
29
30 * configure: Regenerated to track ../common/aclocal.m4 changes.
31
32 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
33
34 * configure: Regenerated to track ../common/aclocal.m4 changes.
35
36 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
37
38 * configure: Regenerated to track ../common/aclocal.m4 changes.
39
40 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
41
42 * configure: Regenerated to track ../common/aclocal.m4 changes.
43
44 Wed Sep 10 22:30:24 1997 Martin M. Hunt <hunt@cygnus.com>
45
46 * interp.c (sim_resume): Increment PC at end of rep
47 loop.
48
49 * simops.c (OP_4201): Fix rachi instruction.
50
51 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
52
53 * configure: Regenerated to track ../common/aclocal.m4 changes.
54
55 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
56
57 * configure: Regenerated to track ../common/aclocal.m4 changes.
58 * config.in: Ditto.
59
60 Tue Aug 26 10:37:49 1997 Andrew Cagney <cagney@b1.cygnus.com>
61
62 * interp.c (sim_kill): Delete.
63 (sim_create_inferior): Add ABFD argument.
64 (sim_load): Move setting of PC from here.
65 (sim_create_inferior): To here.
66 (start_address): Delete variable.
67
68 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
69
70 * configure: Regenerated to track ../common/aclocal.m4 changes.
71 * config.in: Ditto.
72
73 Mon Aug 25 15:39:29 1997 Andrew Cagney <cagney@b1.cygnus.com>
74
75 * interp.c (sim_open): Add ABFD argument.
76
77 Tue May 20 10:14:45 1997 Andrew Cagney <cagney@b1.cygnus.com>
78
79 * interp.c (sim_open): Add callback argument.
80 (sim_set_callbacks): Remove SIM_DESC argument.
81
82 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
83
84 * configure: Regenerated to track ../common/aclocal.m4 changes.
85
86 Tue Apr 22 10:29:23 1997 Doug Evans <dje@canuck.cygnus.com>
87
88 * interp.c (sim_open): Undo patch to add -E support.
89
90 Fri Apr 18 13:39:01 1997 Andrew Cagney <cagney@b1.cygnus.com>
91
92 * interp.c (sim_stop): New function.
93
94 Thu Apr 17 02:42:00 1997 Doug Evans <dje@canuck.cygnus.com>
95
96 * Makefile.in (SIM_OBJS): Add sim-load.o.
97 * d10v_sim.h (exec_bfd): Rename to prog_bfd.
98 * interp.c: #include bfd.h.
99 (myname, sim_kind, start_address): New static locals.
100 (prog_bfd_was_opened_p, prog_bfd): New static locals.
101 (decode_pc): Update to use prog_bfd.
102 (sim_open): Set sim_kind, myname. Ignore -E arg.
103 (sim_close): Close prog_bfd if simulator opened it.
104 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
105 (sim_load): Return SIM_RC. New arg abfd. Set start address from bfd.
106 Call sim_load_file to load file into simulator.
107 * simops.c (trace_input_func): exec_bfd renamed to prog_bfd.
108
109 Wed Apr 16 16:12:03 1997 Andrew Cagney <cagney@b1.cygnus.com>
110
111 * simops.c (OP_5F00): Only provide system calls SYS_execv,
112 SYS_wait, SYS_wait, SYS_utime, SYS_time if defined by the host.
113
114 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
115
116 * configure: Regenerated to track ../common/aclocal.m4 changes.
117 * config.in: Ditto.
118
119 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
120
121 * interp.c (sim_open): New arg `kind'.
122
123 * configure: Regenerated to track ../common/aclocal.m4 changes.
124
125 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
126
127 * configure: Regenerated to track ../common/aclocal.m4 changes.
128
129 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
130
131 * configure: Re-generate.
132
133 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
134
135 * configure: Regenerate to track ../common/aclocal.m4 changes.
136
137 * simops.c (OP_5F00): Remove old traps 1-3. Make trap 15 the same
138 as trap 0, which will be deprecated. Only set errno, if an error
139 in fact was returned.
140
141 Thu Mar 13 12:41:20 1997 Doug Evans <dje@canuck.cygnus.com>
142
143 * interp.c: Delete redundant prototypes of sim_foo fns.
144 (sim_open): New SIM_DESC result. Argument is now in argv form.
145 (other sim_*): New SIM_DESC argument.
146
147 Thu Mar 13 10:29:04 1997 Michael Meissner <meissner@cygnus.com>
148
149 * simops.c (trace_{input,output}_func): Call flush_stdout from the
150 callback functions.
151 (OP_5F00): Ditto.
152 (OP_6{4,6,C,A}01): Test for post decrement on the stack pointer.
153 (OP_{1200,1000000,201,5FE0,1003,17001002}): Fix problems in
154 setting the carry bit after an add or a subtract.
155
156 Wed Feb 12 16:04:15 1997 Michael Meissner <meissner@cygnus.com>
157
158 * simops.c (OP_{1403,15002A02,3{0,4}0{0,1}}): Only use the bottom
159 40 bits of accumulators. Sign/zero extend as appropriate.
160
161 Tue Feb 4 13:33:30 1997 Doug Evans <dje@canuck.cygnus.com>
162
163 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
164 COMMON_{PRE,POST}_CONFIG_FRAG instead.
165 * configure.in: sinclude ../common/aclocal.m4.
166 * configure: Regenerated.
167
168 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
169
170 * configure configure.in Makefile.in: Update to new configure
171 scheme which is more compatible with WinGDB builds.
172 * configure.in: Improve comment on how to run autoconf.
173 * configure: Re-run autoconf to get new ../common/aclocal.m4.
174 * Makefile.in: Use autoconf substitution to install common
175 makefile fragment.
176
177 Fri Dec 27 22:54:05 1996 Angela Marie Thomas (angela@cygnus.com)
178
179 * gencode.c: patch to not #include "d10v_sim.h" which
180 unecessarily includes bfd.h and causes wingdb configure
181 to fail.
182
183 Mon Dec 16 13:39:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
184
185 * interp.c (xfer_mem): Change unified memory to 0x0.
186
187 Thu Nov 28 20:42:56 1996 Michael Meissner <meissner@tiktok.cygnus.com>
188
189 * simops.c (OP_3E01): Fix tracing information.
190 (OP_300{0,1}): Do not propigate sign.
191
192 Mon Nov 25 19:47:40 1996 Doug Evans <dje@canuck.cygnus.com>
193
194 * config.in (WORDS_BIGENDIAN): Add.
195 * configure: Regenerated.
196 * d10v_sim.h: #include "config.h"
197
198 Sat Nov 23 09:34:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
199
200 * gencode.c (write_opcodes): Eliminate warnings when generated
201 table.c is compiled.
202
203 Wed Nov 20 19:41:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
204
205 * interp.c (sim_open): Cast result of calloc, and make sure NULL
206 was not returned.
207 (dmem_addr): If address is illegal or in I/O space, signal a bus
208 error.
209 (pc_addr): Signal bus error, not illegal instruction for bogus
210 pc.
211
212 Wed Nov 20 01:23:03 1996 Doug Evans <dje@canuck.cygnus.com>
213
214 * Makefile.in: Delete all stuff moved to ../common/Make-common.in.
215 (SIM_OBJS,SIM_EXTRA_CFLAGS,SIM_EXTRA_CLEAN): Define.
216 * configure.in: Simplify using macros in ../common/aclocal.m4.
217 Call AC_CHECK_HEADERS(unistd.h).
218 * configure: Regenerated.
219 * config.in: New file.
220 * interp.c: #include "callback.h".
221 * simops.c: #include "config.h". #include <unistd.h> if present.
222
223 Fri Nov 8 16:19:55 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
224
225 * d10v-sim.h (simops): Add flag is_long.
226 (State): Add pc_changed. Instructions which update the PC should
227 use the JMP macro which sets this.
228 (JMP): New macro. Sets the PC and the pc_changed flag.
229
230 * gencode.c (write_opcodes): Add is_long field.
231
232 * interp.c (lookup_hash): If we blindly apply a short opcode's mask
233 to a long opcode we could get a false match. Check the opcode size.
234 (hash): Add a size field to the hash table.
235 (sim_open): Initialize size field in hash table.
236 (sim_resume): Change to logic for setting the PC. Used to increment the
237 PC if it had not been changed. This didn't allow single-instruction loops.
238 Now checks the flag State.pc_changed. Also now stops when ^C is received.
239 (dmem_addr): Fix translation of data segments to unified memory.
240 (sim_ctrl_c): New function. When ^C is received, set stop_simulator flag.
241
242 * simops.c: Changed all branch and jump instructions to use new JMP macro.
243 (OP_20000000): Corrected trace information to show this is a ldi.l, not
244 a ldi.s instruction.
245
246 Thu Oct 31 19:13:55 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
247
248 * interp.c (sim_fetch_register, sim_store_register): Fix bug where
249 updating the accumulators was overwriting other parts of the global
250 State variable.
251
252 Wed Oct 30 17:35:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
253
254 * interp.c (bfd.h) Don't include it here any more.
255 (text{,_start,_end}): Move here from simops.c and make extern.
256 (decode_pc): New function to return the PC as an address that the
257 debugger can use.
258 (dmem_addr): Print decoded PC in error message.
259 (pc_addr): Ditto.
260
261 * simops.c (bfd.h) Don't include it here any more.
262 (text{,_start,_end}): Move to simops.c.
263 (trace_input_func): Move decoding of PC, and looking up .text
264 start to decode_pc.
265
266 * d10v_sim.h (bfd.h): Include it here.
267 (text{,_start,_end}): Add external declarations.
268 (exec_bfd): Ditto.
269 (decode_pc): Ditto.
270
271 Tue Oct 29 12:13:52 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
272
273 * interp.c (sim_size): Now allocates unified memory for imap segments
274 0,1,2, and 127. Initializes imap0 and imap1 to 0x1000. Initializes dmap to 0.
275 (sim_write): Just call xfer_mem().
276 (sim_read): Just call xfer_mem().
277 (xfer_mem): New function. Does appropriate memory mapping and copies bytes.
278 (dmem_addr): New function. Reads dmap register and translates data
279 addresses to local addresses.
280 (pc_addr): New function. Reads imap register and computes local address
281 corresponding to contents of the PC.
282 (sim_resume): Change to use pc_addr().
283 (sim_create_inferior): Change reinitialization code. Also reinitializes
284 imap[01] and dmap.
285 (sim_fetch_register): Add fake registers 32,33,34 for imap0, imap1, and dmap.
286 (sim_store_register): Add fake registers 32,33,34 for imap0, imap1, and dmap.
287
288 * simops.c (MEMPTR): Redefine to use dmem_addr().
289 (OP_5F00): Replace references to STate.imem with dmem_addr().
290
291 * d10v-sim.h (State): Remove mem_min and mem_max. Add umem[128].
292 (RB,SW,RW,SLW,RLW): Redefine to use dmem_addr().
293 (IMAP0,IMAP1,DMAP,SET_IMAP,SET_IMAP1,SET_DMAP): Define.
294
295 Tue Oct 22 15:22:33 1996 Michael Meissner <meissner@tiktok.cygnus.com>
296
297 * d10v_sim.h (_ins_type): Reorganize, so that we can provide
298 better statistics, like not counting NOPS as parallel
299 instructions, and printing total cycles.
300 (ins_type_counters): Make unsigned long.
301 (left_nops,right_nops): Fold into ins_type_counters.
302
303 * simops.c (trace_input_func): Print new instruction types.
304 Handle OP_R2R3 as input types.
305 (OP_{38000000,7000}): Correctly sign extend bytes.
306 (OP_5E00): Don't count NOPs as parallel instructions.
307 (OP_460B): Remove unused variable.
308 (OP_5F00): Ditto.
309
310 * interp.c (ins_type_counters): Make unsigned long.
311 (left_nops,right_nops): Delete.
312 (most functions): Add prototypes.
313 (INLINE): If GCC and optimize define as __inline__.
314 ({,lookup_}hash,get_operands): Declare as INLINE.
315 (do_parallel): Count conditional operations.
316 (add_commas): New function, to add commas every 3 digits.
317 (sim_size): Call add_commas to print numbers.
318 (sim_{open,resume}): Delete unused variables.
319 (sim_info): Provide better statistics.
320 (sim_read): Add int return type.
321
322 Mon Oct 21 16:16:26 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
323
324 * interp.c (sim_resume): Change the way single-stepping and exceptions
325 are handled so single-stepping works again.
326
327 Thu Oct 17 12:24:16 1996 Michael Meissner <meissner@tiktok.cygnus.com>
328
329 * endian.c: Optimize simulated loads/stores on x86, AIX, and big
330 endian hosts.
331
332 * configure.in (--enable-sim-bswap): New switch to enable using
333 the BSWAP instruction on x86's.
334 * configure: Regenerate.
335
336 * Makefile.in ({SWAP,CONFIG}_CFLAGS): Add --enable-sim-bswap
337 support.
338
339 Wed Oct 16 13:50:06 1996 Michael Meissner <meissner@tiktok.cygnus.com>
340
341 * endian.c: New file. Move endian functions here from interp.c.
342 Optimize code, and make it work as either inline functions or as a
343 separate file.
344
345 * interp.c: Move endian functions from here to endian.c.
346
347 * Makefile.in (INCLUDE): Add endian.c.
348 (run,libsim.a): Add dependency on endian.o.
349 (endian.o): Add dependency.
350
351 * d10v_sim.h (read/write support): Always go through the machine
352 independent endian functions. If compiling with GCC and
353 optimizing, include endian.c so the endian functions are inlined.
354
355 * simops.c (OP_5F00): Correct tracing of accumulators.
356
357 Tue Oct 15 10:57:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
358
359 * simops.c (OP_5F00): Add support for getpid, kill system calls.
360
361 * interp.c (do_{2_short,parallel}): If an exception is raised,
362 don't execute the second instruction.
363
364 Sat Oct 12 22:17:43 1996 Michael Meissner <meissner@tiktok.cygnus.com>
365
366 * simops.c (OP_{31000000,6601,6201,6200}): Store address in a
367 temporary in case the register is overriden when loading.
368 (OP_6200): Output type is OP_DREG for tracing.
369
370 Fri Oct 4 23:46:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
371
372 * d10v_sim.h (struct _state): Add mem_{min,max} fields.
373
374 * interp.c (sim_size): Initialize mem_{min,max} fields.
375 (sim_write): Update mem_{min,max} fields.
376 (sim_resume): If PC is not in the minimum/maximum memory range,
377 abort.
378 (sim_create_inferior): Preserve mem_{min,max} fields.
379
380 Fri Sep 27 13:11:58 1996 Mark Alexander <marka@cygnus.com>
381
382 * simops.c (OP_5F00): Add support for time() system call.
383
384 Wed Sep 25 16:31:41 1996 Michael Meissner <meissner@tiktok.cygnus.com>
385
386 * simops.c (OP_{6E01,6A01,6E1F,6A00}): Print both words being
387 stored if tracing.
388 (OP_5F00,trace_{in,out}put_func): Add finer grain tracing for
389 system calls.
390
391 Mon Sep 23 17:55:30 1996 Michael Meissner <meissner@tiktok.cygnus.com>
392
393 * simops.c (op_types): Add OP_{CONSTANT8,R2,R3}.
394 (trace_input_func): Add support for OP_{CONSTANT8,R2,R3}.
395 (OP_{4900,24800000,4800,4A00,4B00,4D00,4C00}): Add OP_R2 and OP_R3
396 to call/subroutine returns to trace the first two arguments and
397 the return value. For small jumps, use CONSTANT8, not CONSTANT16.
398
399 Fri Sep 20 15:36:45 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
400
401 * interp.c (sim_create_inferior): Reinitialize State every time
402 sim_create_inferior() is called.
403
404 Thu Sep 19 21:38:20 1996 Michael Meissner <meissner@wogglebug.ziplink.net>
405
406 * simops.c (OP_{401,2000000,601,3000000,23000000}): Get sign right
407 on comparisons.
408 (OP_401): Fix tracing information.
409
410 Thu Sep 19 10:30:22 1996 Michael Meissner <meissner@tiktok.cygnus.com>
411
412 * simops.c (SIZE_{PC,LINE_NUMBER}): New default sizes for output.
413 (trace_input_func): Use them.
414 (trace_input_func): Make sure there is a trailing space after the
415 instruction.
416 (OP_6200): Fix tracing info.
417
418 * Makefile.in (run): Add dependencies on libbfd.a and
419 libiberity.a.
420
421 Wed Sep 18 09:13:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
422
423 * d10v_sim.h (DEBUG_INSTRUCTION): New debug value to include line
424 numbers and function names in debug trace.
425 (DEBUG): If not defined, set to DEBUG_TRACE, DEBUG_VALUES, and
426 DEBUG_LINE_NUMBER.
427 (SIG_D10V_{STOP,EXIT}): Values to represent the stop instruction
428 and exit system call trap being executed.
429
430 * interp.c (sim_stop_reason): Set exit code correctly for stop
431 instruction and exit system call trap.
432
433 * configure.in (--enable-sim-cflags): Remove trace case.
434 (--enable-sim-debug): New switch to set the debug values.
435 * configure: Regenerate.
436
437 * simops.c (trace_{input,output}_func): Rename from
438 trace_{input,output}.
439 (trace_{input,output}): Call trace_{input,output}_func if
440 d10v_debug is non-zero.
441 (SIZE_INSTRUCTION): Cut down to 8.
442 (SIZE_OPERANDS): Cut down to 18.
443 (SIZE_LOCATION): New value for size of line number, function name
444 field.
445 (init_text_p,text{,_start,_end}): New static variables for
446 printing line number and function name.
447 (exec_bfd): New external that run.c sets.
448 (trace_input_func): Print line number and function name if
449 available and if desired.
450 (OP_4E09): Don't print out DBT message.
451 (OP_5FE0): Set exception field to SIG_D10V_STOP.
452 (OP_5F00): Set exception field to SIG_D10V_EXIT.
453
454 Sat Sep 14 22:18:43 1996 Michael Meissner <meissner@tiktok.cygnus.com>
455
456 * interp.c (do_2_short): If the instruction encodes jump->ins,
457 don't do the second instruction if the jump succeeds.
458
459 Fri Sep 13 22:35:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
460
461 * simops.c (OP_5F00): Use unknown traps to print all GPRs,
462 accumulators, PC, and F0/F1/C flags.
463
464 Thu Sep 12 12:50:11 1996 Mark Alexander <marka@cygnus.com>
465
466 * simops.c (OP_5F00): Fix problems with system calls.
467
468 Thu Sep 12 12:19:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
469
470 * simops.c (OP_5F00): Correct tracing information for trap.
471
472 Wed Sep 11 18:55:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
473
474 * Makefile.in (CSEARCH): Correctly find opcodes directory.
475
476 Mon Sep 9 13:27:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
477
478 * simops.c (trace_output): Properly align accumulator output.
479 (OP_3{0,2,4}00): Properly parenthesize test expression. Add error
480 if shift count is too high.
481 (OP_4E{00,02,04,20,22,40,42}): Make tests agree with book.
482 (OP_4E09): Make cpfg properly trace the input flags.
483 (op_types): Add OP_FLAG_OUTPUT.
484 (trace_{input,output}): Support OP_FLAG_OUTPUT.
485 (OP_31000000): This ld2w varient is a 16-bit memory reference, not
486 an 8-bit memory reference instruction for tracing purposes.
487 (OP_201): Addi needs to set the carry.
488
489 Fri Sep 6 17:56:17 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
490
491 * simops.c (OP_2600, OP_2601): Changed min and max comparisons
492 to use signed register values.
493
494 Wed Sep 4 11:35:17 1996 Michael Meissner <meissner@tiktok.cygnus.com>
495
496 * d10v_sim.h (DEBUG_*): Add bit flags for controlling debug
497 output.
498 (_ins_type): New enumeration to specify which container an
499 instruction is in, and whether it is part of a parallel operation.
500 (_state): Add ins_type field.
501 ({,u}int{8,16,32,64}): Use limits.h to size the appropriate types.
502 (ins_type_counters): Counters for the various instruction types.
503 ({left,right}_nops): Counters for the number of nops in each
504 container.
505 (d10v_debug): New variable to indicate whether debugging is turned
506 on.
507
508 * simops.c: (all functions): Change all #ifdef DEBUG code so that
509 the input and output values can be traced, along with the
510 instruction type. Make the -t option enable tracing.
511 (all functions): Change printf calls to use the printf_filtered
512 function in the callback table.
513
514 * interp.c (_leftright): New enumeration to say whether 2 short
515 instructions are done left first or right first.
516 (do_{long,2_short,parallel}): Indicate in the machine state which
517 type of instruction this is. Count each of the types of
518 instructions executed.
519 (sim_size): Only print the memory sizes if DEBUG_MEMSIZE debug
520 flag is set.
521 (sim_resume): Pass left/right indication to do_2_short.
522 (all functions): Change printf calls to use the printf_filtered
523 function in the callback table.
524 (sim_trace): Turn on debug flag if DEBUG was defined, and call
525 sim_resume.
526 (sim_info): Print out statistics on instructions.
527 (sim_{trace,create_inferior}): Eliminate extraneous output unless
528 debugging.
529 (sim_open): If args == -t and DEBUG was defined, set d10v_debug.
530 Only initialize the hash table the first time sim_open is called.
531
532 * Makefile.in: Make objects depend on d10v_sim.h.
533 ({,SIM_}CFLAGS): Include configure dependent switches. Setting
534 CFLAGS does not override host/target defines or SIM_CFLAGS.
535 (CC_FOR_BUILD,gencode): Use CC_FOR_BUILD to compile gencode.
536 (run): By default, the math library is not needed to be linked
537 in.
538 ({BFD,LIBIBERTY}_LIB): Define as variables so they can be
539 overridden.
540 (VPATH): Don't set to anything but @srcdir@ to work with non-GNU
541 makes.
542 ({run,callback}.o): Provide explicit paths to their appropriate
543 source directories.
544 (gencode{,.o},d10v-opc.o): Split compilation into creating object
545 and linking. Instead of linking in libopcodes.a, just compile
546 d10v-opc.o directly to handle canadian cross.
547 (CSEARCH): Add opcodes directory.
548
549 * configure.in (--enable-sim-cflags): New switch to allow user to
550 set the defaults.
551 (CC_FOR_BUILD): Deal with canadian crosses.
552 * configure: Regenerate.
553
554 Wed Sep 04 04:45:34 1996 Mark Alexander <marka@cygnus.com>
555
556 * simops.c: Include correct syscall.h for d10v, not host's.
557 Fix #ifdef SYS_stat.
558
559 Tue Sep 3 14:00:04 1996 Michael Meissner <meissner@tiktok.cygnus.com>
560
561 * simops.c (OP_5F00): Wrap all SYS_xxx traps with #ifdef.
562 Add trap 2 to be printf and trap 3 to be putchar.
563
564 Wed Aug 28 21:42:34 1996 Mark Alexander <marka@cygnus.com>
565
566 * Makefile.in, d10v_sim.h, interp.c, simops.c: Add support
567 for low-level system calls.
568
569 Wed Aug 28 17:33:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
570
571 * Makefile.in, d10v_sim.h, interp.c: Fix byte-order problems.
572
573 Mon Aug 26 18:30:28 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
574
575 * d10v_sim.h (SEXT32): Added.
576 * interp.c: Commented out printfs.
577 * simops.c: Fixed error in sb and st2w.
578
579 Thu Aug 15 13:30:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
580
581 * Makefile.in, d10v_sim.h, interp.c, simops.c: Added remaining
582 DSP instructions. Added modulo addressing.
583
584 Sun Aug 11 12:57:15 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
585
586 * Makefile.in, d10v_sim.h, interp.c, simops.c: Snapshot.
587
588 Fri Aug 2 17:44:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
589
590 * d10v_sim.h, simops.c: Snapshot.
591
592 Thu Aug 1 17:05:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
593
594 * ChangeLog, Makefile.in, configure, configure.in, d10v_sim.h,
595 gencode.c, interp.c, simops.c: Created.
596
This page took 0.040333 seconds and 4 git commands to generate.