]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/h8300/ChangeLog
2003-07-17 Michael Snyder <msnyder@redhat.com>
[thirdparty/binutils-gdb.git] / sim / h8300 / ChangeLog
CommitLineData
0f42aa71
MS
12003-07-17 Michael Snyder <msnyder@redhat.com>
2
3 * compile.c (decode): IMM16 is always zero-extended.
4
f0861129
MS
52003-06-24 Michael Snyder <msnyder@redhat.com>
6
7 * sim-main.h (SIM_WIFSTOPPED, SIM_WSTOPSIG): Define.
8 * compile.c (sim_resume): Use the above to return stop signal.
9
9f70f8ec
MS
102003-06-18 Michael Snyder <msnyder@redhat.com>
11
12 * compile.c: Replace "Hitachi" with "Renesas".
13 (decode): Distinguish AV_H8S from AV_H8H.
14 (sim_resume): H8SX can use any register for TAS.
15 (decode): Add support for VECIND.
16 (sim_resume): Implement rte/l and rts/l.
17 (GETSR): New macro (actually old macro reincarnated).
18 (decode): Add handling for IMM2.
19 (sim_resume): Drop extra block around jmp, jsr, rts.
20 Add handling for trapa and rte.
21 For divxu.b, change 0xffff mask to 0xff.
22 (set_h8300h): Add bfd_mach_h8300sxn machine.
23
18ad32b5
MS
242003-06-18 Corinna Vinschen <vinschen@redhat.com>
25
26 * sim-main.h (enum h8_regnum): Turn around order of MACH, MACL
27 and SBR, VBR.
28
173b1c98
MS
292003-06-05 Michael Snyder <msnyder@redhat.com>
30
31 * compile.c (sim_fetch_register): Handle SBR, VBR, MACH, MACL.
32 (sim_store_register): Ditto.
33
e8c1a4e7
MS
342003-06-04 Michael Snyder <msnyder@redhat.com>
35
36 * compile.c (sim_info): Fix typo in output.
37
173b1c98 38 * compile.c (set_h8300h): Replace 'flag' arguments
27ebfdf4
MS
39 with a bfd_machine argument, and decode it inline.
40 Check for bfd_mach_h8300hn and bfd_mach_h8300sn.
41
dc5c3759
MS
422003-06-03 Michael Snyder <msnyder@redhat.com>
43
e8c1a4e7
MS
44 * compile.c: Add h8300sx insns and addressing modes.
45 * sim-main.h: Replaces h8300/inst.h.
46 * Makefile.in: Tweak to bring in some sim/common stuff.
dc5c3759 47
b7f97e9c
MS
482003-04-13 Michael Snyder <msnyder@redhat.com>
49
50 * compile.c (sim_resume): Implement 'daa' and 'das' instructions.
51
d1360fb0
V
522003-03-20 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
53
54 * compile.c (cmdline_location): Added function to
55 return the location of 8-bit (256 locations) where the
56 Command Line arguments would be stored.
57 (decode): Added a TRAP to 0xcc for Commandline
58 processing using pseudo opcode O_SYS_CMDLINE.
59 (sim_resume): Added handling of O_SYS_CMDLINE Trap.
60 (sim_create_inferior): Setting a pointer to
61 Commandline Args array.
62 * inst.h: Added a new variable ptr_command_line for
63 storing pointer to Commandline array.
64
bf174226
V
652003-03-14 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
66
67 * compile.c (decode): Added code for some more magic traps.
68 * compile.c (sim_resume): Added support for File I/O system
69 calls through callback to host_system.
70 System calls provided support for :
71 open, read, write, lseek, close, stat, fstat
72 Only basic support for stat and fstat.
73
6b4a8935
AC
742003-02-27 Andrew Cagney <cagney@redhat.com>
75
76 * compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
77
ec38ce99
KH
782003-02-05 Kazu Hirata <kazu@cs.umass.edu>
79
80 * compile.c (init_pointers): Abort if wreg never gets initialized.
81 (sim_resume): Fix the handling of exts.w and extu.w.
82
ad4cda16
KH
832003-01-31 Kazu Hirata <kazu@cs.umass.edu>
84
85 * compile.c (sim_resume): Fix the handling of bxor.
86
a4f27e3e
MS
872003-01-16 Michael Snyder <msnyder@redhat.com>
88
89 * compile.c: Change K&R function definitions to ISO.
90 (fetch): Make static, and eliminate unused parameter 'n'.
91
d0fe2f7e
KH
922002-12-26 Kazu Hirata <kazu@cs.umass.edu>
93
94 * compile.c: Fix formatting.
95 * inst.h: Likewise.
96
a64bfde3
AV
972002-07-29 Andrey Volkov <avolkov@transas.com>
98
99 * compile.c: Include "gdb/sim-h8300.h"
100 * Makefile.in: Add dependences on "inst.h",
101 "gdb/callback.h", "gdb/remote-sim.h" and "gdb/sim-h8300.h".
102
c8cca39f
AC
1032002-06-16 Andrew Cagney <ac131313@redhat.com>
104
105 * configure: Regenerated to track ../common/aclocal.m4 changes.
106
3c25f8c7
AC
1072002-06-08 Andrew Cagney <cagney@redhat.com>
108
109 * compile.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
110
d1335144
KH
1112002-05-19 Kazu Hirata <kazu@cs.umass.edu>
112
113 * compile.c: Fix formatting.
114
c3f4437e
KH
1152002-05-18 Kazu Hirata <kazu@cs.umass.edu>
116
117 * compile.c: Fix formatting.
118
6147b1f6
AV
1192002-05-17 Andrey Volkov (avolkov@transas.com)
120
121 * compile.c: Add absented opcodes: LDC, STC, EEPMOV, TAS.
122
fc974602
AV
1232002-05-17 Andrey Volkov (avolkov@transas.com)
124
125 * compile.c: Add support of EXR register
126 * inst.h: Ditto.
127
a8cdafbd
AV
1282002-05-17 Andrey Volkov (avolkov@transas.com)
129
130 * compile.c: Made h8300s as new target, not h8300h alias.
131 * inst.h: Ditto.
132
f6225c96
AV
1332002-05-17 Andrey Volkov (avolkov@transas.com)
134
135 * compile.c: Add additional CCR flags (I,UI,H,U)
136
3b02cf92
AV
1372002-05-17 Andrey Volkov (avolkov@transas.com)
138
139 * compile.c: Change literal regnumbers to REGNUMS.
140 Fix instruction and cycles counting
141
de9b1892
KH
1422001-12-20 Kazu Hirata <kazu@hxi.com>
143
144 * compile.c: Fix formatting.
145
2ea716f6
KH
1462001-12-20 Kazu Hirata <kazu@hxi.com>
147
148 * compile.c: Fix comment typos.
149
6d028502
KH
1502000-08-10 Kazu Hirata <kazu@hxi.com>
151
152 * compile.c (decode): Clean up the code.
153
0a17cd59
AC
1542000-06-15 Kazu Hirata <kazu@hxi.com>
155
156 * compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
157 correctly.
158
97ee9e5a
FCE
1592000-06-20 Frank Ch. Eigler <fche@redhat.com>
160
161 * compile.c: Don't include "wait.h".
162 (sim_resume): Use local SIM_WIFEXITED and SIM_WIFSIGNALED macros
163 instead of WIF* from host.
164
98ecb0a7
FCE
1652000-06-13 Frank Ch. Eigler <fche@redhat.com>
166
167 * compile.c, writecode.c: Correct typo.
168
0ef9643e
JL
1692000-06-13 Kazu Hirata <kazu@hxi.com>
170
171 * compile.c: Fix formatting.
172
eb2d80b4
AC
173Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
174
175 * configure: Regenerated to track ../common/aclocal.m4 changes.
176
d4f3574e
SS
177Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
178
179 * configure: Regenerated to track ../common/aclocal.m4 changes.
180
cd0fc7c3
SS
1811999-05-08 Felix Lee <flee@cygnus.com>
182
183 * configure: Regenerated to track ../common/aclocal.m4 changes.
184
7a292a7a
SS
1851999-04-02 Keith Seitz <keiths@cygnus.com>
186
187 * compile.c (POLL_QUIT_INTERVAL): Define. Used to tweak the
188 frequency at which the poll_quit callback is used.
189 (sim_resume): Use POLL_QUIT_INTERVAL instead of hard-coded value.
190
c906108c
SS
191Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
192
193 * configure: Regenerated to track ../common/aclocal.m4 changes.
194
195Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
196
197 * configure: Regenerated to track ../common/aclocal.m4 changes.
198 * config.in: Ditto.
199
200Sun Apr 26 15:20:14 1998 Tom Tromey <tromey@cygnus.com>
201
202 * acconfig.h: New file.
203 * configure.in: Reverted change of Apr 24; use sinclude again.
204
205Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
206
207 * configure: Regenerated to track ../common/aclocal.m4 changes.
208 * config.in: Ditto.
209
210Fri Apr 24 11:19:46 1998 Tom Tromey <tromey@cygnus.com>
211
212 * configure.in: Don't call sinclude.
213
214Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
215
216 * configure: Regenerated to track ../common/aclocal.m4 changes.
217
218Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
219
220 * configure: Regenerated to track ../common/aclocal.m4 changes.
221
222Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
223
224 * configure: Regenerated to track ../common/aclocal.m4 changes.
225
226Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
227
228 * configure: Regenerated to track ../common/aclocal.m4 changes.
229
230Tue Feb 17 12:42:18 1998 Andrew Cagney <cagney@b1.cygnus.com>
231
232 * compile.c (sim_store_register, sim_fetch_register): Pass in
233 length parameter. Return -1.
234
235Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
236
237 * configure: Regenerated to track ../common/aclocal.m4 changes.
238
239Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
240
241 * configure: Regenerated to track ../common/aclocal.m4 changes.
242
243Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
244
245 * configure: Regenerated to track ../common/aclocal.m4 changes.
246
247Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
248
249 * configure: Regenerated to track ../common/aclocal.m4 changes.
250 * config.in: Ditto.
251
252Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
253
254 * configure: Regenerated to track ../common/aclocal.m4 changes.
255
256Tue Nov 11 16:52:07 1997 Angela Marie Thomas (angela@cygnus.com)
257
258 * compile.c: #include stdio.h for definition of NULL on
259 some platforms.
260
261Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
262
263 * compile.c (sim_load): Pass lma_p and sim_write args to
264 sim_load_file.
265
266Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
267
268 * configure: Regenerated to track ../common/aclocal.m4 changes.
269
270Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
271
272 * configure: Regenerated to track ../common/aclocal.m4 changes.
273
274Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
275
276 * configure: Regenerated to track ../common/aclocal.m4 changes.
277
278Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
279
280 * configure: Regenerated to track ../common/aclocal.m4 changes.
281
282Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
283
284 * configure: Regenerated to track ../common/aclocal.m4 changes.
285
286Wed Sep 17 12:00:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
287
288 * Makefile.in (compile.o): Depend on config.h in local directory.
289
290Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
291
292 * configure: Regenerated to track ../common/aclocal.m4 changes.
293
294Tue Sep 9 22:17:26 1997 Felix Lee <flee@cygnus.com>
295
296 * inst.h (sim_state): rename to h8300_sim_state, to avoid conflict
297 with sim/common.
298 * configure.in: check for sys/param.h
299 * compile.c: #ifdef HAVE_SYS_PARAM_H.
300 #define SIGTRAP for wingdb.
301 (sim_resume): poll keyboard at least once per call.
302 (sim_resume): use host_callback instead of printf for syscall
303 output.
304
305Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
306
307 * configure: Regenerated to track ../common/aclocal.m4 changes.
308
309Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
310
311 * configure: Regenerated to track ../common/aclocal.m4 changes.
312 * config.in: Ditto.
313
314Tue Aug 26 10:38:43 1997 Andrew Cagney <cagney@b1.cygnus.com>
315
316 * compile.c (sim_kill): Delete.
317 (sim_create_inferior): Add ABFD argument.
318 (sim_load): Move setting of PC from here.
319 (sim_create_inferior): To here.
320 (sim_open, sim_load, set_h8300h): Add fixme explaining why much of
321 the sim_load code should be moved to sim_open.
322
323Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
324
325 * configure: Regenerated to track ../common/aclocal.m4 changes.
326 * config.in: Ditto.
327
328Mon Aug 25 15:47:41 1997 Andrew Cagney <cagney@b1.cygnus.com>
329
330 * compile.c (sim_open): Add ABFD argument.
331
332Tue May 20 10:16:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
333
334 * compile.c (sim_open): Add callback argument.
335 (sim_set_callbacks): Delete SIM_DESC argument.
336
337Wed Apr 30 10:22:29 1997 Doug Evans <dje@canuck.cygnus.com>
338
339 * compile.c (sim_load): Call bfd_get_mach instead of examining
340 bfd fields directly.
341 * tconfig.in (SIM_PRE_LOAD): Delete, no longer used.
342
343Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
344
345 * configure: Regenerated to track ../common/aclocal.m4 changes.
346
347Fri Apr 18 14:30:09 1997 Andrew Cagney <cagney@b1.cygnus.com>
348
349 * compile.c (sim_resume): Use poll_quit callback.
350 (sim_stop): New function.
351
352Thu Apr 17 03:06:39 1997 Doug Evans <dje@canuck.cygnus.com>
353
354 * Makefile.in (SIM_OBJS): Add sim-load.o.
355 * compile.c (sim_kind, myname): New static locals.
356 (sim_open): Set sim_kind, myname.
357 (sim_load): Return SIM_RC. New arg abfd. Update test for h8300h.
358 Call sim_load_file to load file into simulator. Set start address
359 from bfd.
360 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
361
362Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
363
364 * configure: Regenerated to track ../common/aclocal.m4 changes.
365 * config.in: Ditto.
366
367Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
368
369 * compile.c (sim_open): New arg `kind'.
370
371 * configure: Regenerated to track ../common/aclocal.m4 changes.
372
373Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
374
375 * configure: Regenerated to track ../common/aclocal.m4 changes.
376
377Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
378
379 * configure: Regenerated to track ../common/aclocal.m4 changes.
380
381Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
382
383 * configure: Re-generate.
384
385Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
386
387 * configure: Regenerate to track ../common/aclocal.m4 changes.
388
389Thu Mar 13 12:48:05 1997 Doug Evans <dje@canuck.cygnus.com>
390
391 * compile.c (sim_open): New SIM_DESC result. Argument is now in
392 argv form.
393 (other sim_*): New SIM_DESC argument.
394
395Tue Feb 4 13:36:29 1997 Doug Evans <dje@canuck.cygnus.com>
396
397 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
398 COMMON_{PRE,POST}_CONFIG_FRAG instead.
399 * configure.in: sinclude ../common/aclocal.m4.
400 * configure: Regenerated.
401
402Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
403
404 * configure configure.in Makefile.in: Update to new configure
405 scheme which is more compatible with WinGDB builds.
406 * configure.in: Improve comment on how to run autoconf.
407 * configure: Re-run autoconf to get new ../common/aclocal.m4.
408 * Makefile.in: Use autoconf substitution to install common
409 makefile fragment.
410
411Wed Nov 20 01:39:12 1996 Doug Evans <dje@canuck.cygnus.com>
412
413 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
414 (SIM_OBJS): Define.
415 * configure.in: Simplify using macros in ../common/aclocal.m4.
416 * configure: Regenerated.
417 * inst.h (enum sim_state): Define.
418 (cpu_state_type): New member `state'. Set it whenever `exception'
419 is set.
420 * compile.c (sim_callback): New global.
421 (sim_set_simcache_size): Renamed from sim_csize.
422 (sim_resume, case O_SLEEP): Add right way to decode r0 but #if 0 out
423 'cus it can't work. Change main loop exit test to use cpu.state.
424 (sim_trace): New function.
425 (sim_stop_reason): Add right way to set results, but #if 0 out.
426 (sim_size): New function.
427 (sim_info): Redirect calls to printf_filtered through callback.
428 (sim_set_callbacks): Record callback.
429 * run.c: Deleted, using one in ../common now.
430 * tconfig.in: New file.
431
432Thu Oct 3 16:13:18 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
433
434 * Makefile.in (mostlyclean): Don't remove config.log here.
435
436Fri Aug 9 22:59:11 1996 Jeffrey A Law (law@cygnus.com)
437
438 * compile.c (sim_resume): rts, sleep, bpt and nop have
439 no associated "size".
440
441Tue Jul 9 22:15:39 1996 Jeffrey A Law (law@cygnus.com)
442
443 * compile.c (sim_resume): Fix all rotate-by-2-bits insns.
444
445Tue Jul 2 23:08:45 1996 Jeffrey A Law (law@cygnus.com)
446
447 * run.c (main): Don't "load" sections which don't have
448 SEC_LOAD set.
449 * compile.c (sim_resume, case "O_NOT"): Use ONOT instead
450 of OSHIFTS.
451 (ONOT): Define.
452 (sim_resume, shift/rotate cases): Add support for shift/rotate
453 by two bits.
454 (OSHIFTS): Corresponding changes.
455
456Tue Jul 2 01:37:27 1996 Jeffrey A Law (law@cygnus.com)
457
458 * compile.c (sim_resume): Handle "ldm.l" and "stm.l".
459
460Wed Jun 26 08:58:53 1996 Jeffrey A Law (law@cygnus.com)
461
462 * compile.c (h8300smode): Declare.
463
464Wed Jun 26 12:20:56 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
465
466 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
467 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
468 (docdir): Removed.
469 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
470 (AC_PROG_INSTALL): Added.
471 * configure: Rebuilt.
472
473Tue Jun 18 16:31:10 1996 Jeffrey A. Law <law@rtl.cygnus.com>
474
475 * compile.c (sim_load): Treat the H8/S like the H8/300H for now.
476 * run.c (main): Treat the H8/S like the H8/300H for now.
477
478Fri May 24 10:35:25 1996 Jeffrey A Law (law@cygnus.com)
479
480 * compile.c (SEXTCHAR): Clear upper bits when sign
481 bit is clear.
482
483Wed May 22 22:23:37 1996 Jeffrey A Law (law@cygnus.com)
484
485 * compile.c (sim_resume): Correctly handle divu.
486
487Tue May 7 02:13:05 1996 Jeffrey A Law (law@cygnus.com)
488
489 * compile.c (sim_resume): Never allow the PC to have an
490 odd value.
491
492Fri Apr 12 16:50:37 1996 Jeffrey A Law (law@cygnus.com)
493
494 * inst.h: Expand on comments regarding H8300H_MSIZE. Note
495 separate memory is allocate for the 8-bit area.
496 (struct cpu_state_type): Add new "eightbit' field.
497 * compile.c (GET_MEMORY_L): Handle access into the 8-bit
498 area.
499 (GET_MEMORY_W, GET_MEMORY_B): Likewise.
500 (SET_MEMORY_L, SET_MEMORY_W, SET_MEMORY_B): Likewise.
501 (init_pointers): Initialize space for the 8-bit area.
502 (sim_write): Handle writing into the 8-bit area.
503 (sim_read): Handle reading from the 8-bit area.
504 (sim_load): Reallocate space for the 8-bit area.
505
506 * compile.c (sim_load): Re-allocate memory for the simulator
507 here.
508
509Fri Apr 12 09:39:56 1996 Jeffrey A Law (law@cygnus.com)
510
511 * compile.c (sim_resume): Fix and simplify overflow and carry
512 handling for 32bit ALU insns.
513
514Mon Apr 8 23:58:49 1996 Jeffrey A Law (law@cygnus.com)
515
516 * compile.c (sim_resume): Fix overflow checks for ALU insns.
517
518Fri Apr 5 17:20:59 1996 Jeffrey A Law (law@cygnus.com)
519
520 * compile.c (decode): Use "bit" to hold L_3 immediates instead
521 of holding them in "abs". Handle ABS8MEM memory references aka
522 8-bit area. Replace ABSMOV references with ABS8MEM.
523
524Wed Mar 13 17:43:56 1996 Jeffrey A Law (law@cygnus.com)
525
526 * compile.c (fetch): Handle accesses to the exception/function
527 vectors.
528
529Mon Mar 11 09:53:25 1996 Doug Evans <dje@charmed.cygnus.com>
530
531 * compile.c: #include "wait.h".
532 (sim_resume, sleep insn): Check program exit status in r0.
533 (sim_resume, shift insns): Fix setting of overflow flag for shal.
534 * run.c: #include <signal.h>.
535 (main): Abort if program got SIGILL.
536 Print error message if argument is invalid.
537 (usage): Improve text.
538
539Wed Feb 21 12:15:00 1996 Ian Lance Taylor <ian@cygnus.com>
540
541 * configure: Regenerate with autoconf 2.7.
542
543Thu Jan 4 11:52:53 1996 Doug Evans <dje@canuck.cygnus.com>
544
545 * inst.h (MPOWER,MSIZE): Deleted.
546 (H8300{,H}_MSIZE): Define.
547 * compile.c (memory_size): New static global.
548 (init_pointers): Set memory size from one of H8300{,H}_MSIZE.
549 (sim_write,sim_read): Use memory_size.
550
551Fri Oct 13 15:03:19 1995 steve chamberlain <sac@slash.cygnus.com>
552
553 * compile.c (sim_set_callbacks): New.
554
555Tue Oct 10 11:11:26 1995 Fred Fish <fnf@cygnus.com>
556
557 * Makefile.in (BISON): Remove macro.
558
559Wed Sep 20 13:35:02 1995 Ian Lance Taylor <ian@cygnus.com>
560
561 * Makefile.in (maintainer-clean): New synonym for realclean.
562
563Fri Sep 8 12:18:53 1995 Ian Lance Taylor <ian@cygnus.com>
564
565 * Makefile.in (install): Don't install in $(tooldir).
566
567 * configure.in: Call AC_CONFIG_HEADER. Don't try to use
568 bfd/hosts/*.h file or bfd/config/*.mh file. Call AC_PROG_CC and
569 AC_PROG_RANLIB. Substitute in values for CFLAGS, HDEFINES and AR.
570 Call AC_CHECK_HEADERS for stdlib.h and time.h. Touch stamp.h if
571 creating config.h.
572 * configure: Rebuild.
573 * config.in: New file, created by autoheader.
574 * Makefile.in (AR): Define as @AR@.
575 (CC): New variable, defined as @CC@.
576 (CFLAGS): Define as @CFLAGS@.
577 (RANLIB): Define as @RANLIB@.
578 (HDEFINES, TDEFINES): New variables.
579 (@host_makefile_frag@): Remove.
580 (compile.o, run.o): Depend upon config.h.
581 (mostlyclean): Make the same as clean, not distclean.
582 (clean): Remove config.log.
583 (distclean): Remove config.h and stamp-h.
584 (Makefile): Don't depend upon @frags@. Just rebuild Makefile when
585 invoking config.status.
586 (config.h, stamp-h): New targets.
587 * compile.c: Include "config.h". Don't include <sys/times.h>.
588 Include <time.h> and <stdlib.h> if they exist. Don't include
589 "sysdep.h".
590 (get_now): Remove unused local b.
591 * run.c: Include "config.h". Include <stdlib.h> if it exists.
592 Don't include "sysdep.h".
593 * writecode.c: Don't include "bfd.h" or "sysdep.h". Include
594 <stdio.h>.
595
596Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
597
598 * Update all FSF addresses except those in COPYING* files.
599
600Wed Jul 5 14:32:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
601
602 * Makefile.in (clean): Remove run.
603 (distclean): Remove Makefile.
604
605 * h8300.mt: Removed.
606
607 * Makefile.in, configure.in: converted to autoconf.
608 * configure: New file, generated with autconf 2.4.
609
610Fri Jun 30 16:50:24 1995 Stan Shebs <shebs@andros.cygnus.com>
611
612 * compile.c (sim_do_command): New function.
613
614Tue Jun 20 16:18:13 1995 Steve Chamberlain <sac@slash.cygnus.com>
615
616 * compile.c (get_now): Don't do if win32.
617 (sim_resume): Poll in win32 too.
618
619Wed May 24 16:31:38 1995 Jim Wilson <wilson@chestnut.cygnus.com>
620
621 * configure.in: Fix typo in last change.
622
623Mon Mar 27 10:32:34 1995 J.T. Conklin <jtc@rtl.cygnus.com>
624
625 * run.c: parse arguments with getopt().
626
627Tue Feb 28 17:30:08 1995 Ian Lance Taylor <ian@cygnus.com>
628
629 * configure.in: Use ../../bfd/hosts/std-host.h if specific
630 host unavailable.
631
632Sun Jan 22 12:35:43 1995 Steve Chamberlain <sac@splat>
633
634 * compile.c (sim_resume): Initialize cpu.mask.
635
636Thu Sep 8 16:53:00 1994 Steve Chamberlain (sac@jonny.cygnus.com)
637
638 * inst.h (MPOWER): Bump simulated memory size to 2^18 bytes.
639
640Wed May 18 13:47:58 1994 Doug Evans (dje@canuck.cygnus.com)
641
642 * compile.c: #include "bfd.h".
643 (sim_*): Set result type to void where there isn't one.
644 (sim_resume, default case): Set cpu.exception to SIGILL.
645 (sim_trace): Delete.
646 (sim_set_pc): Delete.
647 (sim_info): Delete printf_fn arg, all callers changed.
648 Call printf_filtered.
649 (set_h8300h): New arg `flag', all callers changed.
650 (sim_close): New function.
651 (sim_load): New function.
652 (sim_create_inferior): Renamed from sim_set_args, all callers changed.
653 * run.c: #include <varargs.h>, "remote-sim.h".
654 (printf_filtered): New function.
655
656Fri May 13 18:32:27 1994 Doug Evans (dje@canuck.cygnus.com)
657
658 * compile.c (decode): Fix typo (16 bit branches).
659 (*): Some white space clean up.
660
661Fri May 6 13:44:01 1994 Steve Chamberlain (sac@jonny.cygnus.com)
662
663 * compile.c (decode): Compile 16bit branches properly.
664
665Sat Dec 11 16:32:36 1993 Steve Chamberlain (sac@thepub.cygnus.com)
666
667 * compile.c: Tidy up formatting. (sim_resume): Add orc, xorc,
668 andc. Poll for interrupts.
669
670Thu Oct 28 19:29:34 1993 Doug Evans (dje@canuck.cygnus.com)
671
672 * compile.c: #include "ansidecl.h" for remote-sim.h.
673
674Tue Oct 26 09:43:36 1993 Doug Evans (dje@canuck.cygnus.com)
675
676 * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb
677 * compile.c: #include "remote-sim.h".
678 (sim_resume): New arg siggnal.
679 (sim_write): Use SIM_ADDR for type of arg addr.
680 Always return a value.
681 (sim_read): Ditto.
682 (sim_store_register): Result is type int.
683 (sim_fetch_register): Ditto.
684 (sim_stop_reason): Renamed from sim_stop_signal.
685 (sim_set_pc): Use SIM_ADDR for type of arg pc.
686 (sim_info): int result, new arg printf_fn.
687 (sim_kill): int result.
688 (sim_open): int result, new arg name.
689 * run.c (main): Use sim_set_pc to set pc.
690 Update call to sim_info.
691
692Sat Oct 23 15:01:18 1993 Doug Evans (dje@canuck.cygnus.com)
693
694 * compile.c (sim_stop_signal): Result is now enum sim_stop.
695
696Fri Oct 15 23:49:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
697
698 * compile.c (sim_kill, sim_open, sim_set_args): New functions.
699
700Thu Oct 7 16:24:10 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
701
702 * compile.c (sim_set_pc): Write to the pc direcly.
703 (sim_store_register): Now value is passed by reference. (sim_read,
704 sim_write): Return number of bytes copied.
705
706Tue Aug 17 07:16:15 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
707
708 * compile.c (mop): New function to do multiplies.
709
710Fri Jul 16 13:53:53 1993 Doug Evans (dje@canuck.cygnus.com)
711
712 * compile.c (sim_resume): Add support for nop insn.
713
714Thu Jul 15 09:59:01 1993 Doug Evans (dje@canuck.cygnus.com)
715
716 * compile.c: Reset HMODE back to zero (accidently set it to 1).
717
718 * run.c (main): If h8/300h binary detected, call set_h8300h.
719 * compile.c (sim_resume): Fix O_NEG insn.
720
721Fri Jul 9 14:36:48 1993 Doug Evans (dje@canuck.cygnus.com)
722
723 * run.c (main): Add -h flag to enable h8/300h emulation.
724 * compile.c: Rename Hmode to HMODE (consistency with gdb).
725 (set_h8300h): New function.
726 (sim_resume): Add support for extu,exts insns.
727 (sim_resume): Fix logical right shifting.
728 (sim_resume, label alu32): Fix setting of carry flag.
729
730Sun Jul 4 00:35:41 1993 Doug Evans (dje@canuck.cygnus.com)
731
732 * compile.c (sim_csize): Initialize cpu.cache.
733
734Fri Jul 2 17:42:59 1993 Doug Evans (dje@canuck.cygnus.com)
735
736 * Makefile.in: Add -I../../bfd to pick up bfd.h.
737
738Thu Jun 24 13:40:12 1993 Doug Evans (dje@canuck.cygnus.com)
739
740 * run.c (main): Fix parsing of args.
741
742 * compile.c (sim_resume): Fix shll insn.
743
744Tue Jun 8 14:16:46 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
745
746 * compile.c: New file, supports H8/300H.
747 * p1,p3, gencode.c, state.h, writecode.c All dead and obsolete.
748
749Tue Jun 1 11:14:59 1993 Steve Chamberlain (sac@thepub.cygnus.com)
750
751 * run.c (main): Add -v to print info.
752 * p3.c (sim_info): New function.
753
754Mon Mar 15 15:48:31 1993 Ian Lance Taylor (ian@cygnus.com)
755
756 * h8300.mt (DO_INSTALL): Renamed from INSTALL.
757
758Wed Mar 3 15:06:53 1993 Steve Chamberlain (sac@poseidon.cygnus.com)
759
760 * Makefile.in: Don't use cb or indent
761 * p1.c, state.h, writecode.c: lint
762
763Mon Feb 1 16:44:58 1993 John Gilmore (gnu@cygnus.com)
764
765 * Makefile.in: Make SunOS halfdone VPATH work.
766 * p1.c: Lint picked up by HP native compiler.
767
768Mon Jan 4 12:32:35 1993 Steve Chamberlain (sac@wahini.cygnus.com)
769
770 * p1.c (sim_resume): when running on dos, any character typed to
771 the keyboard will cause a simulated exception.
772
773Sun Jan 3 14:15:07 1993 Steve Chamberlain (sac@thepub.cygnus.com)
774
775 * p1.c, p3.c, run.c, writecode.c: all used h8/300 opcodes in and
776 running
777
778Tue Dec 22 13:56:48 1992 Steve Chamberlain (sac@thepub.cygnus.com)
779
780 * new
781