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