Fix dwarf2_emit_insn calls when frag_var breaks things.
[deliverable/binutils-gdb.git] / sim / mn10200 / ChangeLog
1 2001-04-15 J.T. Conklin <jtc@redback.com>
2
3 * Makefile.in (simops.o): Add simops.h to dependency list.
4
5 Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
6
7 * configure: Regenerated to track ../common/aclocal.m4 changes.
8
9 Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
10
11 * configure: Regenerated to track ../common/aclocal.m4 changes.
12
13 1999-05-08 Felix Lee <flee@cygnus.com>
14
15 * configure: Regenerated to track ../common/aclocal.m4 changes.
16
17 1999-04-06 Keith Seitz <keiths@cygnus.com>
18
19 * interp.c (sim_stop): Set the sim's exception
20 to SIGINT.
21
22 1999-04-02 Keith Seitz <keiths@cygnus.com>
23
24 * interp.c (UI_LOOP_POLL_INTERVAL): Define. Used to tweak the
25 frequency at which ui_loop_hook is called.
26 (ui_loop_hook_counter): New global defined when NEED_UI_LOOP_HOOK
27 is defined.
28 (sim_resume): Call ui_loop_hook (if defined) when the interval
29 passes.
30 * Makefile.in (SIM_EXTRA_CFLAGS): Include NEED_UI_LOOP_HOOK.
31
32 Wed Jun 17 11:37:59 1998 Mark Alexander <marka@cygnus.com>
33
34 * Makefile.in: Define NL_TARGET so that targ-vals.h will be used
35 instead of syscall.h.
36 * simops.c: Use targ-vals.h instead of syscall.h.
37
38 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
39
40 * configure: Regenerated to track ../common/aclocal.m4 changes.
41
42 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
43
44 * configure: Regenerated to track ../common/aclocal.m4 changes.
45 * config.in: Ditto.
46
47 Sun Apr 26 15:19:58 1998 Tom Tromey <tromey@cygnus.com>
48
49 * acconfig.h: New file.
50 * configure.in: Reverted change of Apr 24; use sinclude again.
51
52 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
53
54 * configure: Regenerated to track ../common/aclocal.m4 changes.
55 * config.in: Ditto.
56
57 Fri Apr 24 11:19:13 1998 Tom Tromey <tromey@cygnus.com>
58
59 * configure.in: Don't call sinclude.
60
61 Thu Apr 23 09:48:14 1998 Tom Tromey <tromey@creche>
62
63 * configure: Regenerated to track ../common/aclocal.m4 changes.
64
65 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
66
67 * configure: Regenerated to track ../common/aclocal.m4 changes.
68
69 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
70
71 * configure: Regenerated to track ../common/aclocal.m4 changes.
72
73 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
74
75 * configure: Regenerated to track ../common/aclocal.m4 changes.
76
77 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
78
79 * configure: Regenerated to track ../common/aclocal.m4 changes.
80
81 Tue Feb 17 12:46:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
82
83 * interp.c (sim_store_register, sim_fetch_register): Pass in
84 length parameter. Return -1.
85
86 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
87
88 * configure: Regenerated to track ../common/aclocal.m4 changes.
89
90 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
91
92 * configure: Regenerated to track ../common/aclocal.m4 changes.
93
94 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
95
96 * configure: Regenerated to track ../common/aclocal.m4 changes.
97
98 Tue Jan 13 00:01:40 1998 Jeffrey A Law (law@cygnus.com)
99
100 * simops.c: Stores to abs16 memory addresses zero extend the
101 abs16 address.
102
103 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
104
105 * configure: Regenerated to track ../common/aclocal.m4 changes.
106 * config.in: Ditto.
107
108 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
109
110 * configure: Regenerated to track ../common/aclocal.m4 changes.
111
112 Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
113
114 * interp.c (sim_load): Pass lma_p and sim_write args to
115 sim_load_file.
116
117 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
118
119 * configure: Regenerated to track ../common/aclocal.m4 changes.
120
121 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
122
123 * configure: Regenerated to track ../common/aclocal.m4 changes.
124
125 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
126
127 * configure: Regenerated to track ../common/aclocal.m4 changes.
128
129 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
130
131 * configure: Regenerated to track ../common/aclocal.m4 changes.
132
133 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
134
135 * configure: Regenerated to track ../common/aclocal.m4 changes.
136
137 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
138
139 * configure: Regenerated to track ../common/aclocal.m4 changes.
140
141 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
142
143 * configure: Regenerated to track ../common/aclocal.m4 changes.
144
145 Tue Sep 2 18:41:23 1997 Jeffrey A Law (law@cygnus.com)
146
147 * simops.c: PC relative instructions are relative to the next
148 instruction, not the current instruction.
149
150 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
151
152 * configure: Regenerated to track ../common/aclocal.m4 changes.
153 * config.in: Ditto.
154
155 Tue Aug 26 10:40:45 1997 Andrew Cagney <cagney@b1.cygnus.com>
156
157 * interp.c (sim_kill): Delete.
158 (sim_create_inferior): Add ABFD argument.
159 (sim_load): Move setting of PC from here.
160 (sim_create_inferior): To here.
161
162 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
163
164 * configure: Regenerated to track ../common/aclocal.m4 changes.
165 * config.in: Ditto.
166
167 Mon Aug 25 16:14:44 1997 Andrew Cagney <cagney@b1.cygnus.com>
168
169 * interp.c (sim_open): Add ABFD argument.
170
171 Tue Jun 24 13:44:08 1997 Jeffrey A Law (law@cygnus.com)
172
173 * interp.c (sim_resume): Clear State.exited.
174 (sim_stop_reason): If State.exited is nonzero, then indicate that
175 the simulator exited instead of stopped.
176 * mn10200_sim.h (struct _state): Add exited field.
177 * simops.c (syscall): Set State.exited for SYS_exit.
178
179 Tue May 20 17:45:47 1997 Jeffrey A Law (law@cygnus.com)
180
181 * interp.c: Replace all references to load_mem and store_mem
182 with references to load_byte, load_half, load_3_byte, load_word
183 and store_byte, store_half, store_3_byte, store_word.
184 (INLINE): Delete definition.
185 (load_mem_big): Likewise.
186 (max_mem): Make it global.
187 (dispatch): Make this function inline.
188 (load_mem, store_mem): Delete functions.
189 * mn10200_sim.h (INLINE): Define.
190 (RLW): Delete unused definition.
191 (load_mem, store_mem): Delete declarations.
192 (load_mem_big): New definition.
193 (load_byte, load_half, load_3_byte, load_word): New functions.
194 (store_byte, store_half, store_3_byte, store_word): New functions.
195 * simops.c: Replace all references to load_mem and store_mem
196 with references to load_byte, load_half, load_3_byte, load_word
197 and store_byte, store_half, store_3_byte, store_word.
198
199 Tue May 20 10:21:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
200
201 * interp.c (sim_open): Add callback argument.
202 (sim_set_callbacks): Delete SIM_DESC argument.
203
204 Sun May 18 16:59:09 1997 Jeffrey A Law (law@cygnus.com)
205
206 * interp.c (compare_simops): New function.
207 (sim_open): Sort the Simops table before inserting entries
208 into the hash table.
209
210 Fri May 16 16:29:18 1997 Jeffrey A Law (law@cygnus.com)
211
212 * interp.c (load_mem): Fix formatting/indention problems with
213 last change. If we get a load from an out of range address,
214 abort instead of returning zero.
215 (store_mem): Abort if we try to store to an out of range address.
216
217 Wed May 14 21:21:30 1997 Bob Manson <manson@charmed.cygnus.com>
218
219 * simops.c (OP_F010): Fix some arguments to correspond
220 with reality (types of arguments passed to lseek, read,
221 write, open).
222
223 * interp.c (max_mem): New variable.
224 (load_mem): Check memory address against max_mem to
225 avoid some self-destructive behaviors.
226
227 Tue May 13 21:45:24 1997 Jeffrey A Law (law@cygnus.com)
228
229 * simops.c: Fix typo in cc0 setting for lsr.
230
231 Tue May 6 13:22:12 1997 Jeffrey A Law (law@cygnus.com)
232
233 * interp.c: Random typo/thinko cleanups.
234
235 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
236
237 * configure: Regenerated to track ../common/aclocal.m4 changes.
238
239 Mon Apr 21 10:29:30 1997 Jeffrey A Law (law@cygnus.com)
240
241 * simops.c: Fix typo in "open" syscall emulation.
242
243 Fri Apr 18 14:04:31 1997 Andrew Cagney <cagney@b1.cygnus.com>
244
245 * interp.c (sim_stop): Add stub function.
246
247 Thu Apr 17 03:23:58 1997 Doug Evans <dje@canuck.cygnus.com>
248
249 * Makefile.in (SIM_OBJS): Add sim-load.o.
250 * interp.c (sim_kind, myname): New static locals.
251 (sim_open): Set sim_kind, myname. Ignore -E arg.
252 (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to
253 load file into simulator. Set start address from bfd.
254 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
255
256 Wed Apr 16 18:06:50 1997 Andrew Cagney <cagney@b1.cygnus.com>
257
258 * simops.c (OP_F010): SYS_execv, SYS_time, SYS_times, SYS_utime
259 only include if implemented by host.
260
261 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
262
263 * configure: Regenerated to track ../common/aclocal.m4 changes.
264 * config.in: Ditto.
265
266 Fri Apr 4 20:01:56 1997 Ian Lance Taylor <ian@cygnus.com>
267
268 * Makefile.in: Change mn10200-opc.o to m10200-opc.o, to match
269 corresponding change in opcodes directory.
270
271 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
272
273 * interp.c (sim_open): New arg `kind'.
274
275 * configure: Regenerated to track ../common/aclocal.m4 changes.
276
277 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
278
279 * configure: Regenerated to track ../common/aclocal.m4 changes.
280
281 Thu Mar 20 20:28:14 1997 Jeffrey A Law (law@cygnus.com)
282
283 * mn10200_sim.h: Protect uses of "signed" to cater to broken
284 non-ansi compilers (HPs). Don't use #error for the same reason.
285
286 Tue Mar 18 12:23:31 1997 Jeffrey A Law (law@cygnus.com)
287
288 * simops.c: Don't sign-extend immediate for "mov imm16,an".
289 Simplify "sub" handling. Fix "mul" to properly sign extend
290 operands. Set CF appropriately for btst imm16,dn. Implement "rti".
291
292 * gencode.c: Delete unused "Opcodes" and "curop" variables.
293
294 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
295
296 * configure: Regenerated to track ../common/aclocal.m4 changes.
297
298 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
299
300 * configure: Re-generate.
301
302 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
303
304 * configure: Regenerate to track ../common/aclocal.m4 changes.
305
306 Thu Mar 13 12:53:14 1997 Doug Evans <dje@canuck.cygnus.com>
307
308 * interp.c (sim_open): New SIM_DESC result. Argument is now
309 in argv form.
310 (other sim_*): New SIM_DESC argument.
311
312 Wed Mar 12 15:02:35 1997 Jeffrey A Law (law@cygnus.com)
313
314 * simops.c: Fix typo for "bclr".
315
316 Wed Feb 26 16:46:13 1997 Jeffrey A Law (law@cygnus.com)
317
318 * simops.c: Handle new calling convention in emulated syscall
319 code.
320
321 Mon Feb 24 14:25:11 1997 Jeffrey A Law (law@cygnus.com)
322
323 * interp.c (load_mem_big): Add some missing parens.
324
325 Wed Feb 19 23:19:08 1997 Jeffrey A Law (law@cygnus.com)
326
327 * simops.c: Don't use "long long" data types for intermediate
328 values in "divu", "mul" and "mulu" instructions.
329
330 Fri Feb 14 02:46:46 1997 Jeffrey A Law (law@cygnus.com)
331
332 * interp.c (hash): Rework to be more efficient.
333 (dispatch): Renamed from lookup_hash. Dispatch to the target
334 function and update the PC here.
335 (load_mem_big): Now a macro.
336 (sim_resume): Restructure code to read an insn, determine its
337 length, call dispatch routines, etc to be much more efficient.
338
339 Fri Feb 7 12:59:36 1997 Jeffrey A Law (law@cygnus.com)
340
341 * interp.c (MAX_HASH): Redefine to 127.
342 (struct hash_entry): Add "count" field when HASH_STAT is defined.
343 (hash): Improve hashing for many heavily used opcodes.
344 (lookup_hash): Bump counters if HASH_STAT is defined.
345 (sim_open): Don't put the same opcode in the hash table more
346 than once. Clear counters if HASH_STAT is defined.
347 (sim_resume): After program exits, dump hash table stats if
348 HASH_STAT is defined.
349
350 Wed Feb 5 10:28:37 1997 Jeffrey A Law (law@cygnus.com)
351
352 * simops.c: Fix register extraction for "ext dn".
353
354 Tue Feb 4 17:27:41 1997 Jeffrey A Law (law@cygnus.com)
355
356 * simops.c: Fix register extractions for "movbu (an), dm".
357
358 Tue Feb 4 13:33:30 1997 Doug Evans <dje@canuck.cygnus.com>
359
360 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
361 COMMON_{PRE,POST}_CONFIG_FRAG instead.
362 * configure.in: sinclude ../common/aclocal.m4.
363 * configure: Regenerated.
364
365 Fri Jan 31 01:19:02 1997 Jeffrey A Law (law@cygnus.com)
366
367 * simops.c: Get carry-in bit right for rol. Just clear the
368 NF flag for btst imm8,dn.
369
370 Wed Jan 29 15:47:42 1997 Jeffrey A Law (law@cygnus.com)
371
372 * simops.c: Properly compute ZF flag for many insns.
373
374 Sat Jan 25 17:06:55 1997 Jeffrey A Law (law@cygnus.com)
375
376 * simops.c: Properly truncate divisor and dividend before
377 performing "divu" operation.
378
379 Fri Jan 24 10:47:48 1997 Jeffrey A Law (law@cygnus.com)
380
381 * simops.c (init_system): Allocate 2^19 bytes of space for
382 the simulator.
383
384 Thu Jan 23 21:17:33 1997 Jeffrey A Law (law@cygnus.com)
385
386 * simops.c: Rework code to extract arguments for emulated
387 syscalls to handle 24bit pointers.
388
389 Thu Jan 23 14:06:04 1997 Stu Grossman (grossman@critters.cygnus.com)
390
391 * configure configure.in Makefile.in: Update to new configure
392 scheme which is more compatible with WinGDB builds.
393 * configure.in: Improve comment on how to run autoconf.
394 * configure: Re-run autoconf to get new ../common/aclocal.m4.
395 * Makefile.in: Use autoconf substitution to install common
396 makefile fragment.
397
398 Thu Jan 23 12:04:38 1997 Jeffrey A Law (law@cygnus.com)
399
400 * simops.c: Fix destination register for "mov (abs24),an".
401
402 Tue Jan 21 15:59:21 1997 Jeffrey A Law (law@cygnus.com)
403
404 * simops.c: "rts" adds 4 to the stack pointer.
405
406 * simops.c: Fix CF and CX computation for add instructions.
407
408 * simops.c: Leave the upper 8 bits alone for logical ops.
409 Mask off high 8 bits before doing any shifts/rotates.
410 Fix carry bit handling in rotates again.
411
412 Mon Jan 20 10:45:08 1997 Jeffrey A Law (law@cygnus.com)
413
414 * simops.c: Don't lose the sign bit for "asr".
415
416 Fri Jan 17 01:45:14 1997 Jeffrey A Law (law@cygnus.com)
417
418 * simops.c: Fix overflow computation for "cmp" and "sub"
419 instructions.
420
421 * simops.c: Use the right register for "jmp (an)" and "jsr (an)".
422
423 * interp.c (hash): Improve hashing for 3 byte instructions.
424
425 * simops.c: Fix extraction of 16/24bit immediates for some
426 instructions. "cmp" instructions only modify the PSW.
427 Fix various thinkos when extracting register operands too.
428
429 Thu Jan 16 07:47:56 1997 Jeffrey A Law (law@cygnus.com)
430
431 * simops.c: Fix "rol" and "ror".
432
433 * simops.c: Truncate PC to 24bits after modifying it.
434 Closer stab at emulated system calls.
435
436 Tue Jan 14 12:33:12 1997 Jeffrey A Law (law@cygnus.com)
437
438 * interp.c (hash): Improve hashing of two byte insns.
439 (store_mem): Handle storing 3 byte quantities.
440
441 * simops.c: Fix various typos/thinkos.
442
443 * interp.c (load_mem_big, load_mem, store_mem): Fix thinko in
444 code to handle 24bit addresses.
445 * simops.c (REG0_8, REG0_16): Fix typo.
446
447 Mon Jan 6 16:17:09 1997 Jeffrey A Law (law@cygnus.com)
448
449 * mn10200_sim.h: Various fixes for mixed 16/24bit architecture.
450 * interp.c: Similarly.
451 * simops.c: Similarly.
452
453 * Makefile.in, config.in, configure, configure.in: New files.
454 * gencode.c, interp.c, mn10200_sim.h, simops.c: New files.
455
This page took 0.046738 seconds and 4 git commands to generate.