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