1 1999-05-08 Felix Lee <flee@cygnus.com>
3 * configure: Regenerated to track ../common/aclocal.m4 changes.
5 1999-04-06 Keith Seitz <keiths@cygnus.com>
7 * interp.c (sim_stop): Set the sim's exception
10 1999-04-02 Keith Seitz <keiths@cygnus.com>
12 * interp.c (UI_LOOP_POLL_INTERVAL): Define. Used to tweak the
13 frequency at which ui_loop_hook is called.
14 (ui_loop_hook_counter): New global defined when NEED_UI_LOOP_HOOK
16 (sim_resume): Call ui_loop_hook (if defined) when the interval
18 * Makefile.in (SIM_EXTRA_CFLAGS): Include NEED_UI_LOOP_HOOK.
20 Wed Jun 17 11:37:59 1998 Mark Alexander <marka@cygnus.com>
22 * Makefile.in: Define NL_TARGET so that targ-vals.h will be used
24 * simops.c: Use targ-vals.h instead of syscall.h.
26 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
28 * configure: Regenerated to track ../common/aclocal.m4 changes.
30 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
32 * configure: Regenerated to track ../common/aclocal.m4 changes.
35 Sun Apr 26 15:19:58 1998 Tom Tromey <tromey@cygnus.com>
37 * acconfig.h: New file.
38 * configure.in: Reverted change of Apr 24; use sinclude again.
40 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
42 * configure: Regenerated to track ../common/aclocal.m4 changes.
45 Fri Apr 24 11:19:13 1998 Tom Tromey <tromey@cygnus.com>
47 * configure.in: Don't call sinclude.
49 Thu Apr 23 09:48:14 1998 Tom Tromey <tromey@creche>
51 * configure: Regenerated to track ../common/aclocal.m4 changes.
53 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
55 * configure: Regenerated to track ../common/aclocal.m4 changes.
57 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
59 * configure: Regenerated to track ../common/aclocal.m4 changes.
61 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
63 * configure: Regenerated to track ../common/aclocal.m4 changes.
65 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
67 * configure: Regenerated to track ../common/aclocal.m4 changes.
69 Tue Feb 17 12:46:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
71 * interp.c (sim_store_register, sim_fetch_register): Pass in
72 length parameter. Return -1.
74 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
76 * configure: Regenerated to track ../common/aclocal.m4 changes.
78 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
80 * configure: Regenerated to track ../common/aclocal.m4 changes.
82 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
84 * configure: Regenerated to track ../common/aclocal.m4 changes.
86 Tue Jan 13 00:01:40 1998 Jeffrey A Law (law@cygnus.com)
88 * simops.c: Stores to abs16 memory addresses zero extend the
91 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
93 * configure: Regenerated to track ../common/aclocal.m4 changes.
96 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
98 * configure: Regenerated to track ../common/aclocal.m4 changes.
100 Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
102 * interp.c (sim_load): Pass lma_p and sim_write args to
105 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
107 * configure: Regenerated to track ../common/aclocal.m4 changes.
109 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
111 * configure: Regenerated to track ../common/aclocal.m4 changes.
113 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
115 * configure: Regenerated to track ../common/aclocal.m4 changes.
117 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
119 * configure: Regenerated to track ../common/aclocal.m4 changes.
121 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
123 * configure: Regenerated to track ../common/aclocal.m4 changes.
125 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
127 * configure: Regenerated to track ../common/aclocal.m4 changes.
129 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
131 * configure: Regenerated to track ../common/aclocal.m4 changes.
133 Tue Sep 2 18:41:23 1997 Jeffrey A Law (law@cygnus.com)
135 * simops.c: PC relative instructions are relative to the next
136 instruction, not the current instruction.
138 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
140 * configure: Regenerated to track ../common/aclocal.m4 changes.
143 Tue Aug 26 10:40:45 1997 Andrew Cagney <cagney@b1.cygnus.com>
145 * interp.c (sim_kill): Delete.
146 (sim_create_inferior): Add ABFD argument.
147 (sim_load): Move setting of PC from here.
148 (sim_create_inferior): To here.
150 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
152 * configure: Regenerated to track ../common/aclocal.m4 changes.
155 Mon Aug 25 16:14:44 1997 Andrew Cagney <cagney@b1.cygnus.com>
157 * interp.c (sim_open): Add ABFD argument.
159 Tue Jun 24 13:44:08 1997 Jeffrey A Law (law@cygnus.com)
161 * interp.c (sim_resume): Clear State.exited.
162 (sim_stop_reason): If State.exited is nonzero, then indicate that
163 the simulator exited instead of stopped.
164 * mn10200_sim.h (struct _state): Add exited field.
165 * simops.c (syscall): Set State.exited for SYS_exit.
167 Tue May 20 17:45:47 1997 Jeffrey A Law (law@cygnus.com)
169 * interp.c: Replace all references to load_mem and store_mem
170 with references to load_byte, load_half, load_3_byte, load_word
171 and store_byte, store_half, store_3_byte, store_word.
172 (INLINE): Delete definition.
173 (load_mem_big): Likewise.
174 (max_mem): Make it global.
175 (dispatch): Make this function inline.
176 (load_mem, store_mem): Delete functions.
177 * mn10200_sim.h (INLINE): Define.
178 (RLW): Delete unused definition.
179 (load_mem, store_mem): Delete declarations.
180 (load_mem_big): New definition.
181 (load_byte, load_half, load_3_byte, load_word): New functions.
182 (store_byte, store_half, store_3_byte, store_word): New functions.
183 * simops.c: Replace all references to load_mem and store_mem
184 with references to load_byte, load_half, load_3_byte, load_word
185 and store_byte, store_half, store_3_byte, store_word.
187 Tue May 20 10:21:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
189 * interp.c (sim_open): Add callback argument.
190 (sim_set_callbacks): Delete SIM_DESC argument.
192 Sun May 18 16:59:09 1997 Jeffrey A Law (law@cygnus.com)
194 * interp.c (compare_simops): New function.
195 (sim_open): Sort the Simops table before inserting entries
198 Fri May 16 16:29:18 1997 Jeffrey A Law (law@cygnus.com)
200 * interp.c (load_mem): Fix formatting/indention problems with
201 last change. If we get a load from an out of range address,
202 abort instead of returning zero.
203 (store_mem): Abort if we try to store to an out of range address.
205 Wed May 14 21:21:30 1997 Bob Manson <manson@charmed.cygnus.com>
207 * simops.c (OP_F010): Fix some arguments to correspond
208 with reality (types of arguments passed to lseek, read,
211 * interp.c (max_mem): New variable.
212 (load_mem): Check memory address against max_mem to
213 avoid some self-destructive behaviors.
215 Tue May 13 21:45:24 1997 Jeffrey A Law (law@cygnus.com)
217 * simops.c: Fix typo in cc0 setting for lsr.
219 Tue May 6 13:22:12 1997 Jeffrey A Law (law@cygnus.com)
221 * interp.c: Random typo/thinko cleanups.
223 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
225 * configure: Regenerated to track ../common/aclocal.m4 changes.
227 Mon Apr 21 10:29:30 1997 Jeffrey A Law (law@cygnus.com)
229 * simops.c: Fix typo in "open" syscall emulation.
231 Fri Apr 18 14:04:31 1997 Andrew Cagney <cagney@b1.cygnus.com>
233 * interp.c (sim_stop): Add stub function.
235 Thu Apr 17 03:23:58 1997 Doug Evans <dje@canuck.cygnus.com>
237 * Makefile.in (SIM_OBJS): Add sim-load.o.
238 * interp.c (sim_kind, myname): New static locals.
239 (sim_open): Set sim_kind, myname. Ignore -E arg.
240 (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to
241 load file into simulator. Set start address from bfd.
242 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
244 Wed Apr 16 18:06:50 1997 Andrew Cagney <cagney@b1.cygnus.com>
246 * simops.c (OP_F010): SYS_execv, SYS_time, SYS_times, SYS_utime
247 only include if implemented by host.
249 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
251 * configure: Regenerated to track ../common/aclocal.m4 changes.
254 Fri Apr 4 20:01:56 1997 Ian Lance Taylor <ian@cygnus.com>
256 * Makefile.in: Change mn10200-opc.o to m10200-opc.o, to match
257 corresponding change in opcodes directory.
259 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
261 * interp.c (sim_open): New arg `kind'.
263 * configure: Regenerated to track ../common/aclocal.m4 changes.
265 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
267 * configure: Regenerated to track ../common/aclocal.m4 changes.
269 Thu Mar 20 20:28:14 1997 Jeffrey A Law (law@cygnus.com)
271 * mn10200_sim.h: Protect uses of "signed" to cater to broken
272 non-ansi compilers (HPs). Don't use #error for the same reason.
274 Tue Mar 18 12:23:31 1997 Jeffrey A Law (law@cygnus.com)
276 * simops.c: Don't sign-extend immediate for "mov imm16,an".
277 Simplify "sub" handling. Fix "mul" to properly sign extend
278 operands. Set CF appropriately for btst imm16,dn. Implement "rti".
280 * gencode.c: Delete unused "Opcodes" and "curop" variables.
282 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
284 * configure: Regenerated to track ../common/aclocal.m4 changes.
286 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
288 * configure: Re-generate.
290 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
292 * configure: Regenerate to track ../common/aclocal.m4 changes.
294 Thu Mar 13 12:53:14 1997 Doug Evans <dje@canuck.cygnus.com>
296 * interp.c (sim_open): New SIM_DESC result. Argument is now
298 (other sim_*): New SIM_DESC argument.
300 Wed Mar 12 15:02:35 1997 Jeffrey A Law (law@cygnus.com)
302 * simops.c: Fix typo for "bclr".
304 Wed Feb 26 16:46:13 1997 Jeffrey A Law (law@cygnus.com)
306 * simops.c: Handle new calling convention in emulated syscall
309 Mon Feb 24 14:25:11 1997 Jeffrey A Law (law@cygnus.com)
311 * interp.c (load_mem_big): Add some missing parens.
313 Wed Feb 19 23:19:08 1997 Jeffrey A Law (law@cygnus.com)
315 * simops.c: Don't use "long long" data types for intermediate
316 values in "divu", "mul" and "mulu" instructions.
318 Fri Feb 14 02:46:46 1997 Jeffrey A Law (law@cygnus.com)
320 * interp.c (hash): Rework to be more efficient.
321 (dispatch): Renamed from lookup_hash. Dispatch to the target
322 function and update the PC here.
323 (load_mem_big): Now a macro.
324 (sim_resume): Restructure code to read an insn, determine its
325 length, call dispatch routines, etc to be much more efficient.
327 Fri Feb 7 12:59:36 1997 Jeffrey A Law (law@cygnus.com)
329 * interp.c (MAX_HASH): Redefine to 127.
330 (struct hash_entry): Add "count" field when HASH_STAT is defined.
331 (hash): Improve hashing for many heavily used opcodes.
332 (lookup_hash): Bump counters if HASH_STAT is defined.
333 (sim_open): Don't put the same opcode in the hash table more
334 than once. Clear counters if HASH_STAT is defined.
335 (sim_resume): After program exits, dump hash table stats if
336 HASH_STAT is defined.
338 Wed Feb 5 10:28:37 1997 Jeffrey A Law (law@cygnus.com)
340 * simops.c: Fix register extraction for "ext dn".
342 Tue Feb 4 17:27:41 1997 Jeffrey A Law (law@cygnus.com)
344 * simops.c: Fix register extractions for "movbu (an), dm".
346 Tue Feb 4 13:33:30 1997 Doug Evans <dje@canuck.cygnus.com>
348 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
349 COMMON_{PRE,POST}_CONFIG_FRAG instead.
350 * configure.in: sinclude ../common/aclocal.m4.
351 * configure: Regenerated.
353 Fri Jan 31 01:19:02 1997 Jeffrey A Law (law@cygnus.com)
355 * simops.c: Get carry-in bit right for rol. Just clear the
356 NF flag for btst imm8,dn.
358 Wed Jan 29 15:47:42 1997 Jeffrey A Law (law@cygnus.com)
360 * simops.c: Properly compute ZF flag for many insns.
362 Sat Jan 25 17:06:55 1997 Jeffrey A Law (law@cygnus.com)
364 * simops.c: Properly truncate divisor and dividend before
365 performing "divu" operation.
367 Fri Jan 24 10:47:48 1997 Jeffrey A Law (law@cygnus.com)
369 * simops.c (init_system): Allocate 2^19 bytes of space for
372 Thu Jan 23 21:17:33 1997 Jeffrey A Law (law@cygnus.com)
374 * simops.c: Rework code to extract arguments for emulated
375 syscalls to handle 24bit pointers.
377 Thu Jan 23 14:06:04 1997 Stu Grossman (grossman@critters.cygnus.com)
379 * configure configure.in Makefile.in: Update to new configure
380 scheme which is more compatible with WinGDB builds.
381 * configure.in: Improve comment on how to run autoconf.
382 * configure: Re-run autoconf to get new ../common/aclocal.m4.
383 * Makefile.in: Use autoconf substitution to install common
386 Thu Jan 23 12:04:38 1997 Jeffrey A Law (law@cygnus.com)
388 * simops.c: Fix destination register for "mov (abs24),an".
390 Tue Jan 21 15:59:21 1997 Jeffrey A Law (law@cygnus.com)
392 * simops.c: "rts" adds 4 to the stack pointer.
394 * simops.c: Fix CF and CX computation for add instructions.
396 * simops.c: Leave the upper 8 bits alone for logical ops.
397 Mask off high 8 bits before doing any shifts/rotates.
398 Fix carry bit handling in rotates again.
400 Mon Jan 20 10:45:08 1997 Jeffrey A Law (law@cygnus.com)
402 * simops.c: Don't lose the sign bit for "asr".
404 Fri Jan 17 01:45:14 1997 Jeffrey A Law (law@cygnus.com)
406 * simops.c: Fix overflow computation for "cmp" and "sub"
409 * simops.c: Use the right register for "jmp (an)" and "jsr (an)".
411 * interp.c (hash): Improve hashing for 3 byte instructions.
413 * simops.c: Fix extraction of 16/24bit immediates for some
414 instructions. "cmp" instructions only modify the PSW.
415 Fix various thinkos when extracting register operands too.
417 Thu Jan 16 07:47:56 1997 Jeffrey A Law (law@cygnus.com)
419 * simops.c: Fix "rol" and "ror".
421 * simops.c: Truncate PC to 24bits after modifying it.
422 Closer stab at emulated system calls.
424 Tue Jan 14 12:33:12 1997 Jeffrey A Law (law@cygnus.com)
426 * interp.c (hash): Improve hashing of two byte insns.
427 (store_mem): Handle storing 3 byte quantities.
429 * simops.c: Fix various typos/thinkos.
431 * interp.c (load_mem_big, load_mem, store_mem): Fix thinko in
432 code to handle 24bit addresses.
433 * simops.c (REG0_8, REG0_16): Fix typo.
435 Mon Jan 6 16:17:09 1997 Jeffrey A Law (law@cygnus.com)
437 * mn10200_sim.h: Various fixes for mixed 16/24bit architecture.
438 * interp.c: Similarly.
439 * simops.c: Similarly.
441 * Makefile.in, config.in, configure, configure.in: New files.
442 * gencode.c, interp.c, mn10200_sim.h, simops.c: New files.