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