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