sim: move from common.m4 to SIM_AC_COMMON
[deliverable/binutils-gdb.git] / sim / h8300 / ChangeLog
1 2011-10-17 Mike Frysinger <vapier@gentoo.org>
2
3 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
4 call. Replace common.m4 include with SIM_AC_COMMON.
5 * configure: Regenerate.
6
7 2011-07-05 Mike Frysinger <vapier@gentoo.org>
8
9 * compile.c (sim_do_command): Delete.
10
11 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
12
13 * compile.c (sim_store_register): Update return value to
14 match new API.
15
16 2010-04-14 Mike Frysinger <vapier@gentoo.org>
17
18 * compile.c (sim_write): Add const to buffer arg.
19
20 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
21
22 * configure: Regenerate.
23
24 2009-12-09 Yoshinori Sato <ysato@users.sourceforge.jp>
25 * compile.c(fetch_1): Fix pre-dec, pre-inc, post-dec and post-inc.
26 Index registers not masked memory areas.
27 Only simply increment or decrement.
28 * compile.c(store_1): Ditto.
29
30 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
31
32 * config.in: Regenerate.
33 * configure: Likewise.
34
35 * configure: Regenerate.
36
37 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
38
39 * compile.c: Add const to remove warning.
40
41 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
42
43 * configure: Regenerate to track ../common/common.m4 changes.
44 * config.in: Ditto.
45
46 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
47 Daniel Jacobowitz <dan@codesourcery.com>
48 Joseph Myers <joseph@codesourcery.com>
49
50 * configure: Regenerate.
51
52 2007-07-03 Yoshinori Sato <ysato@users.sourceforge.jp>
53
54 * compile.c (sim_resume): Fix the last byte of ARGV for
55 SYS_CMDLINE.
56
57 2006-12-21 Hans-Peter Nilsson <hp@axis.com>
58
59 * acconfig.h: Remove.
60 * config.in: Regenerate.
61
62 2006-07-13 Yoshinori Sato <ysato@users.sourceforge.jp>
63
64 * compile.c (OBITOP): Bit address mask low three bit.
65 * compile.c (decode): Fix warning.
66
67 2006-06-13 Richard Earnshaw <rearnsha@arm.com>
68
69 * configure: Regenerated.
70
71 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
72
73 * configure: Regenerated.
74
75 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
76
77 * configure: Regenerated.
78
79 2005-03-23 Mark Kettenis <kettenis@gnu.org>
80
81 * configure: Regenerate.
82
83 2005-01-14 Andrew Cagney <cagney@gnu.org>
84
85 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
86 explicit call to AC_CONFIG_HEADER.
87 * configure: Regenerate.
88
89 2005-01-12 Andrew Cagney <cagney@gnu.org>
90
91 * configure.ac: Update to use ../common/common.m4.
92 * configure: Re-generate.
93
94 2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
95
96 * configure: Regenerated to track ../common/aclocal.m4 changes.
97
98 2005-01-07 Andrew Cagney <cagney@gnu.org>
99
100 * configure.ac: Rename configure.in, require autoconf 2.59.
101 * configure: Re-generate.
102
103 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
104
105 * configure: Regenerate for ../common/aclocal.m4 update.
106
107 2004-06-28 Alexandre Oliva <aoliva@redhat.com>
108
109 2003-07-23 Richard Sandiford <rsandifo@redhat.com>
110 * compile.c (sim_resume): Make sure that dst.reg refers to the
111 right register byte in mova/sz.l @(dd,RnL),ERn.
112 2003-07-21 Richard Sandiford <rsandifo@redhat.com>
113 * compile.c (sim_resume): Zero-extend immediate to muls, mulsu,
114 mulxs, divs and divxs.
115
116 * compile.c (sim_load): Update sd->memory_size.
117
118 2004-06-10 Michael Snyder <msnyder@redhat.com>
119
120 Patch submitted by Nitin Yewale <NitinY@KPITCummins.com>.
121 * compile.c (sim_resume): Corrected ANDC operation on EXR for H8S.
122
123 2004-01-05 Michael Snyder <msnyder@redhat.com>
124
125 * compile.c (sim_load): Don't pass a type to bfd_openr.
126
127 2003-12-16 Michael Snyder <msnyder@redhat.com>
128
129 Patch submitted by Anil Paranjape <AnilP1@KPITCummins.com>
130 * sim-main.h (H8300H_MSIZE): Increase from 18 bits to 24 bits.
131
132 2003-12-11 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
133
134 * compile.c (set_h8300h): Initialize globals to zero.
135
136 2003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com>
137
138 * compile.c (h8300_normal_mode): New.
139 (SP): Handle normal mode.
140 (bitfrom): Use normal mode flag to return suitable value.
141 (lvalue): Use normal mode flag to return command line location.
142 (decode): Decode instruction correctly for normal mode.
143 (init_pointers): Initialise memory correctly for normal mode.
144 (sim_resume): Handle cases for normal mode using h8300_normal_mode
145 flag.
146 (sim_store_register): Handle 2 byte PC for normal mode.
147 (sim_fetch_register): Handle 2 byte PC for normal mode.
148 (set_h8300h): Set normal mode flag as per architechture.
149 (sim_load): Allocate 64K for normal mode instead of bigger memory.
150
151 2003-07-18 Michael Snyder <msnyder@redhat.com>
152
153 * compile.c (decode): Enhancements for mova.
154 Initialize cst, reg, and rdisp inside the loop, for each
155 new instruction. Defer correction of the disp2 values until
156 later, and then adjust them by the size of the first operand,
157 rather than the size of the instruction.
158 (sim_resume): For mova, adjust the size of the second operand
159 according to the type of the first operand (INDEXB vs. INDEXW).
160 In cases where there is only one operand, the other two must
161 both be composed on the fly.
162
163 2003-07-22 Michael Snyder <msnyder@redhat.com>
164
165 * compile.c (sim_resume): Revert 6-24 change, it does not
166 work with gdb breakpoints.
167
168 2003-07-17 Michael Snyder <msnyder@redhat.com>
169
170 * compile.c (sim_resume): Handle shll reg, reg and shlr reg, reg.
171 (decode): IMM16 is always zero-extended.
172
173 2003-06-24 Michael Snyder <msnyder@redhat.com>
174
175 * sim-main.h (SIM_WIFSTOPPED, SIM_WSTOPSIG): Define.
176 * compile.c (sim_resume): Use the above to return stop signal.
177
178 2003-06-18 Michael Snyder <msnyder@redhat.com>
179
180 * compile.c: Replace "Hitachi" with "Renesas".
181 (decode): Distinguish AV_H8S from AV_H8H.
182 (sim_resume): H8SX can use any register for TAS.
183 (decode): Add support for VECIND.
184 (sim_resume): Implement rte/l and rts/l.
185 (GETSR): New macro (actually old macro reincarnated).
186 (decode): Add handling for IMM2.
187 (sim_resume): Drop extra block around jmp, jsr, rts.
188 Add handling for trapa and rte.
189 For divxu.b, change 0xffff mask to 0xff.
190 (set_h8300h): Add bfd_mach_h8300sxn machine.
191
192 2003-06-18 Corinna Vinschen <vinschen@redhat.com>
193
194 * sim-main.h (enum h8_regnum): Turn around order of MACH, MACL
195 and SBR, VBR.
196
197 2003-06-05 Michael Snyder <msnyder@redhat.com>
198
199 * compile.c (sim_fetch_register): Handle SBR, VBR, MACH, MACL.
200 (sim_store_register): Ditto.
201
202 2003-06-04 Michael Snyder <msnyder@redhat.com>
203
204 * compile.c (sim_info): Fix typo in output.
205
206 * compile.c (set_h8300h): Replace 'flag' arguments
207 with a bfd_machine argument, and decode it inline.
208 Check for bfd_mach_h8300hn and bfd_mach_h8300sn.
209
210 2003-06-03 Michael Snyder <msnyder@redhat.com>
211
212 * compile.c: Add h8300sx insns and addressing modes.
213 * sim-main.h: Replaces h8300/inst.h.
214 * Makefile.in: Tweak to bring in some sim/common stuff.
215
216 2003-04-13 Michael Snyder <msnyder@redhat.com>
217
218 * compile.c (sim_resume): Implement 'daa' and 'das' instructions.
219
220 2003-03-20 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
221
222 * compile.c (cmdline_location): Added function to
223 return the location of 8-bit (256 locations) where the
224 Command Line arguments would be stored.
225 (decode): Added a TRAP to 0xcc for Commandline
226 processing using pseudo opcode O_SYS_CMDLINE.
227 (sim_resume): Added handling of O_SYS_CMDLINE Trap.
228 (sim_create_inferior): Setting a pointer to
229 Commandline Args array.
230 * inst.h: Added a new variable ptr_command_line for
231 storing pointer to Commandline array.
232
233 2003-03-14 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
234
235 * compile.c (decode): Added code for some more magic traps.
236 * compile.c (sim_resume): Added support for File I/O system
237 calls through callback to host_system.
238 System calls provided support for :
239 open, read, write, lseek, close, stat, fstat
240 Only basic support for stat and fstat.
241
242 2003-02-27 Andrew Cagney <cagney@redhat.com>
243
244 * compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
245
246 2003-02-05 Kazu Hirata <kazu@cs.umass.edu>
247
248 * compile.c (init_pointers): Abort if wreg never gets initialized.
249 (sim_resume): Fix the handling of exts.w and extu.w.
250
251 2003-01-31 Kazu Hirata <kazu@cs.umass.edu>
252
253 * compile.c (sim_resume): Fix the handling of bxor.
254
255 2003-01-16 Michael Snyder <msnyder@redhat.com>
256
257 * compile.c: Change K&R function definitions to ISO.
258 (fetch): Make static, and eliminate unused parameter 'n'.
259
260 2002-12-26 Kazu Hirata <kazu@cs.umass.edu>
261
262 * compile.c: Fix formatting.
263 * inst.h: Likewise.
264
265 2002-07-29 Andrey Volkov <avolkov@transas.com>
266
267 * compile.c: Include "gdb/sim-h8300.h"
268 * Makefile.in: Add dependences on "inst.h",
269 "gdb/callback.h", "gdb/remote-sim.h" and "gdb/sim-h8300.h".
270
271 2002-06-16 Andrew Cagney <ac131313@redhat.com>
272
273 * configure: Regenerated to track ../common/aclocal.m4 changes.
274
275 2002-06-08 Andrew Cagney <cagney@redhat.com>
276
277 * compile.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
278
279 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
280
281 * compile.c: Fix formatting.
282
283 2002-05-18 Kazu Hirata <kazu@cs.umass.edu>
284
285 * compile.c: Fix formatting.
286
287 2002-05-17 Andrey Volkov (avolkov@transas.com)
288
289 * compile.c: Add absented opcodes: LDC, STC, EEPMOV, TAS.
290
291 2002-05-17 Andrey Volkov (avolkov@transas.com)
292
293 * compile.c: Add support of EXR register
294 * inst.h: Ditto.
295
296 2002-05-17 Andrey Volkov (avolkov@transas.com)
297
298 * compile.c: Made h8300s as new target, not h8300h alias.
299 * inst.h: Ditto.
300
301 2002-05-17 Andrey Volkov (avolkov@transas.com)
302
303 * compile.c: Add additional CCR flags (I,UI,H,U)
304
305 2002-05-17 Andrey Volkov (avolkov@transas.com)
306
307 * compile.c: Change literal regnumbers to REGNUMS.
308 Fix instruction and cycles counting
309
310 2001-12-20 Kazu Hirata <kazu@hxi.com>
311
312 * compile.c: Fix formatting.
313
314 2001-12-20 Kazu Hirata <kazu@hxi.com>
315
316 * compile.c: Fix comment typos.
317
318 2000-08-10 Kazu Hirata <kazu@hxi.com>
319
320 * compile.c (decode): Clean up the code.
321
322 2000-06-15 Kazu Hirata <kazu@hxi.com>
323
324 * compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
325 correctly.
326
327 2000-06-20 Frank Ch. Eigler <fche@redhat.com>
328
329 * compile.c: Don't include "wait.h".
330 (sim_resume): Use local SIM_WIFEXITED and SIM_WIFSIGNALED macros
331 instead of WIF* from host.
332
333 2000-06-13 Frank Ch. Eigler <fche@redhat.com>
334
335 * compile.c, writecode.c: Correct typo.
336
337 2000-06-13 Kazu Hirata <kazu@hxi.com>
338
339 * compile.c: Fix formatting.
340
341 Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
342
343 * configure: Regenerated to track ../common/aclocal.m4 changes.
344
345 Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
346
347 * configure: Regenerated to track ../common/aclocal.m4 changes.
348
349 1999-05-08 Felix Lee <flee@cygnus.com>
350
351 * configure: Regenerated to track ../common/aclocal.m4 changes.
352
353 1999-04-02 Keith Seitz <keiths@cygnus.com>
354
355 * compile.c (POLL_QUIT_INTERVAL): Define. Used to tweak the
356 frequency at which the poll_quit callback is used.
357 (sim_resume): Use POLL_QUIT_INTERVAL instead of hard-coded value.
358
359 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
360
361 * configure: Regenerated to track ../common/aclocal.m4 changes.
362
363 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
364
365 * configure: Regenerated to track ../common/aclocal.m4 changes.
366 * config.in: Ditto.
367
368 Sun Apr 26 15:20:14 1998 Tom Tromey <tromey@cygnus.com>
369
370 * acconfig.h: New file.
371 * configure.in: Reverted change of Apr 24; use sinclude again.
372
373 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
374
375 * configure: Regenerated to track ../common/aclocal.m4 changes.
376 * config.in: Ditto.
377
378 Fri Apr 24 11:19:46 1998 Tom Tromey <tromey@cygnus.com>
379
380 * configure.in: Don't call sinclude.
381
382 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
383
384 * configure: Regenerated to track ../common/aclocal.m4 changes.
385
386 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
387
388 * configure: Regenerated to track ../common/aclocal.m4 changes.
389
390 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
391
392 * configure: Regenerated to track ../common/aclocal.m4 changes.
393
394 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
395
396 * configure: Regenerated to track ../common/aclocal.m4 changes.
397
398 Tue Feb 17 12:42:18 1998 Andrew Cagney <cagney@b1.cygnus.com>
399
400 * compile.c (sim_store_register, sim_fetch_register): Pass in
401 length parameter. Return -1.
402
403 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
404
405 * configure: Regenerated to track ../common/aclocal.m4 changes.
406
407 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
408
409 * configure: Regenerated to track ../common/aclocal.m4 changes.
410
411 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
412
413 * configure: Regenerated to track ../common/aclocal.m4 changes.
414
415 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
416
417 * configure: Regenerated to track ../common/aclocal.m4 changes.
418 * config.in: Ditto.
419
420 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
421
422 * configure: Regenerated to track ../common/aclocal.m4 changes.
423
424 Tue Nov 11 16:52:07 1997 Angela Marie Thomas (angela@cygnus.com)
425
426 * compile.c: #include stdio.h for definition of NULL on
427 some platforms.
428
429 Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
430
431 * compile.c (sim_load): Pass lma_p and sim_write args to
432 sim_load_file.
433
434 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
435
436 * configure: Regenerated to track ../common/aclocal.m4 changes.
437
438 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
439
440 * configure: Regenerated to track ../common/aclocal.m4 changes.
441
442 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
443
444 * configure: Regenerated to track ../common/aclocal.m4 changes.
445
446 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
447
448 * configure: Regenerated to track ../common/aclocal.m4 changes.
449
450 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
451
452 * configure: Regenerated to track ../common/aclocal.m4 changes.
453
454 Wed Sep 17 12:00:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
455
456 * Makefile.in (compile.o): Depend on config.h in local directory.
457
458 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
459
460 * configure: Regenerated to track ../common/aclocal.m4 changes.
461
462 Tue Sep 9 22:17:26 1997 Felix Lee <flee@cygnus.com>
463
464 * inst.h (sim_state): rename to h8300_sim_state, to avoid conflict
465 with sim/common.
466 * configure.in: check for sys/param.h
467 * compile.c: #ifdef HAVE_SYS_PARAM_H.
468 #define SIGTRAP for wingdb.
469 (sim_resume): poll keyboard at least once per call.
470 (sim_resume): use host_callback instead of printf for syscall
471 output.
472
473 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
474
475 * configure: Regenerated to track ../common/aclocal.m4 changes.
476
477 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
478
479 * configure: Regenerated to track ../common/aclocal.m4 changes.
480 * config.in: Ditto.
481
482 Tue Aug 26 10:38:43 1997 Andrew Cagney <cagney@b1.cygnus.com>
483
484 * compile.c (sim_kill): Delete.
485 (sim_create_inferior): Add ABFD argument.
486 (sim_load): Move setting of PC from here.
487 (sim_create_inferior): To here.
488 (sim_open, sim_load, set_h8300h): Add fixme explaining why much of
489 the sim_load code should be moved to sim_open.
490
491 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
492
493 * configure: Regenerated to track ../common/aclocal.m4 changes.
494 * config.in: Ditto.
495
496 Mon Aug 25 15:47:41 1997 Andrew Cagney <cagney@b1.cygnus.com>
497
498 * compile.c (sim_open): Add ABFD argument.
499
500 Tue May 20 10:16:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
501
502 * compile.c (sim_open): Add callback argument.
503 (sim_set_callbacks): Delete SIM_DESC argument.
504
505 Wed Apr 30 10:22:29 1997 Doug Evans <dje@canuck.cygnus.com>
506
507 * compile.c (sim_load): Call bfd_get_mach instead of examining
508 bfd fields directly.
509 * tconfig.in (SIM_PRE_LOAD): Delete, no longer used.
510
511 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
512
513 * configure: Regenerated to track ../common/aclocal.m4 changes.
514
515 Fri Apr 18 14:30:09 1997 Andrew Cagney <cagney@b1.cygnus.com>
516
517 * compile.c (sim_resume): Use poll_quit callback.
518 (sim_stop): New function.
519
520 Thu Apr 17 03:06:39 1997 Doug Evans <dje@canuck.cygnus.com>
521
522 * Makefile.in (SIM_OBJS): Add sim-load.o.
523 * compile.c (sim_kind, myname): New static locals.
524 (sim_open): Set sim_kind, myname.
525 (sim_load): Return SIM_RC. New arg abfd. Update test for h8300h.
526 Call sim_load_file to load file into simulator. Set start address
527 from bfd.
528 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
529
530 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
531
532 * configure: Regenerated to track ../common/aclocal.m4 changes.
533 * config.in: Ditto.
534
535 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
536
537 * compile.c (sim_open): New arg `kind'.
538
539 * configure: Regenerated to track ../common/aclocal.m4 changes.
540
541 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
542
543 * configure: Regenerated to track ../common/aclocal.m4 changes.
544
545 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
546
547 * configure: Regenerated to track ../common/aclocal.m4 changes.
548
549 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
550
551 * configure: Re-generate.
552
553 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
554
555 * configure: Regenerate to track ../common/aclocal.m4 changes.
556
557 Thu Mar 13 12:48:05 1997 Doug Evans <dje@canuck.cygnus.com>
558
559 * compile.c (sim_open): New SIM_DESC result. Argument is now in
560 argv form.
561 (other sim_*): New SIM_DESC argument.
562
563 Tue Feb 4 13:36:29 1997 Doug Evans <dje@canuck.cygnus.com>
564
565 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
566 COMMON_{PRE,POST}_CONFIG_FRAG instead.
567 * configure.in: sinclude ../common/aclocal.m4.
568 * configure: Regenerated.
569
570 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
571
572 * configure configure.in Makefile.in: Update to new configure
573 scheme which is more compatible with WinGDB builds.
574 * configure.in: Improve comment on how to run autoconf.
575 * configure: Re-run autoconf to get new ../common/aclocal.m4.
576 * Makefile.in: Use autoconf substitution to install common
577 makefile fragment.
578
579 Wed Nov 20 01:39:12 1996 Doug Evans <dje@canuck.cygnus.com>
580
581 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
582 (SIM_OBJS): Define.
583 * configure.in: Simplify using macros in ../common/aclocal.m4.
584 * configure: Regenerated.
585 * inst.h (enum sim_state): Define.
586 (cpu_state_type): New member `state'. Set it whenever `exception'
587 is set.
588 * compile.c (sim_callback): New global.
589 (sim_set_simcache_size): Renamed from sim_csize.
590 (sim_resume, case O_SLEEP): Add right way to decode r0 but #if 0 out
591 'cus it can't work. Change main loop exit test to use cpu.state.
592 (sim_trace): New function.
593 (sim_stop_reason): Add right way to set results, but #if 0 out.
594 (sim_size): New function.
595 (sim_info): Redirect calls to printf_filtered through callback.
596 (sim_set_callbacks): Record callback.
597 * run.c: Deleted, using one in ../common now.
598 * tconfig.in: New file.
599
600 Thu Oct 3 16:13:18 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
601
602 * Makefile.in (mostlyclean): Don't remove config.log here.
603
604 Fri Aug 9 22:59:11 1996 Jeffrey A Law (law@cygnus.com)
605
606 * compile.c (sim_resume): rts, sleep, bpt and nop have
607 no associated "size".
608
609 Tue Jul 9 22:15:39 1996 Jeffrey A Law (law@cygnus.com)
610
611 * compile.c (sim_resume): Fix all rotate-by-2-bits insns.
612
613 Tue Jul 2 23:08:45 1996 Jeffrey A Law (law@cygnus.com)
614
615 * run.c (main): Don't "load" sections which don't have
616 SEC_LOAD set.
617 * compile.c (sim_resume, case "O_NOT"): Use ONOT instead
618 of OSHIFTS.
619 (ONOT): Define.
620 (sim_resume, shift/rotate cases): Add support for shift/rotate
621 by two bits.
622 (OSHIFTS): Corresponding changes.
623
624 Tue Jul 2 01:37:27 1996 Jeffrey A Law (law@cygnus.com)
625
626 * compile.c (sim_resume): Handle "ldm.l" and "stm.l".
627
628 Wed Jun 26 08:58:53 1996 Jeffrey A Law (law@cygnus.com)
629
630 * compile.c (h8300smode): Declare.
631
632 Wed Jun 26 12:20:56 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
633
634 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
635 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
636 (docdir): Removed.
637 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
638 (AC_PROG_INSTALL): Added.
639 * configure: Rebuilt.
640
641 Tue Jun 18 16:31:10 1996 Jeffrey A. Law <law@rtl.cygnus.com>
642
643 * compile.c (sim_load): Treat the H8/S like the H8/300H for now.
644 * run.c (main): Treat the H8/S like the H8/300H for now.
645
646 Fri May 24 10:35:25 1996 Jeffrey A Law (law@cygnus.com)
647
648 * compile.c (SEXTCHAR): Clear upper bits when sign
649 bit is clear.
650
651 Wed May 22 22:23:37 1996 Jeffrey A Law (law@cygnus.com)
652
653 * compile.c (sim_resume): Correctly handle divu.
654
655 Tue May 7 02:13:05 1996 Jeffrey A Law (law@cygnus.com)
656
657 * compile.c (sim_resume): Never allow the PC to have an
658 odd value.
659
660 Fri Apr 12 16:50:37 1996 Jeffrey A Law (law@cygnus.com)
661
662 * inst.h: Expand on comments regarding H8300H_MSIZE. Note
663 separate memory is allocate for the 8-bit area.
664 (struct cpu_state_type): Add new "eightbit' field.
665 * compile.c (GET_MEMORY_L): Handle access into the 8-bit
666 area.
667 (GET_MEMORY_W, GET_MEMORY_B): Likewise.
668 (SET_MEMORY_L, SET_MEMORY_W, SET_MEMORY_B): Likewise.
669 (init_pointers): Initialize space for the 8-bit area.
670 (sim_write): Handle writing into the 8-bit area.
671 (sim_read): Handle reading from the 8-bit area.
672 (sim_load): Reallocate space for the 8-bit area.
673
674 * compile.c (sim_load): Re-allocate memory for the simulator
675 here.
676
677 Fri Apr 12 09:39:56 1996 Jeffrey A Law (law@cygnus.com)
678
679 * compile.c (sim_resume): Fix and simplify overflow and carry
680 handling for 32bit ALU insns.
681
682 Mon Apr 8 23:58:49 1996 Jeffrey A Law (law@cygnus.com)
683
684 * compile.c (sim_resume): Fix overflow checks for ALU insns.
685
686 Fri Apr 5 17:20:59 1996 Jeffrey A Law (law@cygnus.com)
687
688 * compile.c (decode): Use "bit" to hold L_3 immediates instead
689 of holding them in "abs". Handle ABS8MEM memory references aka
690 8-bit area. Replace ABSMOV references with ABS8MEM.
691
692 Wed Mar 13 17:43:56 1996 Jeffrey A Law (law@cygnus.com)
693
694 * compile.c (fetch): Handle accesses to the exception/function
695 vectors.
696
697 Mon Mar 11 09:53:25 1996 Doug Evans <dje@charmed.cygnus.com>
698
699 * compile.c: #include "wait.h".
700 (sim_resume, sleep insn): Check program exit status in r0.
701 (sim_resume, shift insns): Fix setting of overflow flag for shal.
702 * run.c: #include <signal.h>.
703 (main): Abort if program got SIGILL.
704 Print error message if argument is invalid.
705 (usage): Improve text.
706
707 Wed Feb 21 12:15:00 1996 Ian Lance Taylor <ian@cygnus.com>
708
709 * configure: Regenerate with autoconf 2.7.
710
711 Thu Jan 4 11:52:53 1996 Doug Evans <dje@canuck.cygnus.com>
712
713 * inst.h (MPOWER,MSIZE): Deleted.
714 (H8300{,H}_MSIZE): Define.
715 * compile.c (memory_size): New static global.
716 (init_pointers): Set memory size from one of H8300{,H}_MSIZE.
717 (sim_write,sim_read): Use memory_size.
718
719 Fri Oct 13 15:03:19 1995 steve chamberlain <sac@slash.cygnus.com>
720
721 * compile.c (sim_set_callbacks): New.
722
723 Tue Oct 10 11:11:26 1995 Fred Fish <fnf@cygnus.com>
724
725 * Makefile.in (BISON): Remove macro.
726
727 Wed Sep 20 13:35:02 1995 Ian Lance Taylor <ian@cygnus.com>
728
729 * Makefile.in (maintainer-clean): New synonym for realclean.
730
731 Fri Sep 8 12:18:53 1995 Ian Lance Taylor <ian@cygnus.com>
732
733 * Makefile.in (install): Don't install in $(tooldir).
734
735 * configure.in: Call AC_CONFIG_HEADER. Don't try to use
736 bfd/hosts/*.h file or bfd/config/*.mh file. Call AC_PROG_CC and
737 AC_PROG_RANLIB. Substitute in values for CFLAGS, HDEFINES and AR.
738 Call AC_CHECK_HEADERS for stdlib.h and time.h. Touch stamp.h if
739 creating config.h.
740 * configure: Rebuild.
741 * config.in: New file, created by autoheader.
742 * Makefile.in (AR): Define as @AR@.
743 (CC): New variable, defined as @CC@.
744 (CFLAGS): Define as @CFLAGS@.
745 (RANLIB): Define as @RANLIB@.
746 (HDEFINES, TDEFINES): New variables.
747 (@host_makefile_frag@): Remove.
748 (compile.o, run.o): Depend upon config.h.
749 (mostlyclean): Make the same as clean, not distclean.
750 (clean): Remove config.log.
751 (distclean): Remove config.h and stamp-h.
752 (Makefile): Don't depend upon @frags@. Just rebuild Makefile when
753 invoking config.status.
754 (config.h, stamp-h): New targets.
755 * compile.c: Include "config.h". Don't include <sys/times.h>.
756 Include <time.h> and <stdlib.h> if they exist. Don't include
757 "sysdep.h".
758 (get_now): Remove unused local b.
759 * run.c: Include "config.h". Include <stdlib.h> if it exists.
760 Don't include "sysdep.h".
761 * writecode.c: Don't include "bfd.h" or "sysdep.h". Include
762 <stdio.h>.
763
764 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
765
766 * Update all FSF addresses except those in COPYING* files.
767
768 Wed Jul 5 14:32:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
769
770 * Makefile.in (clean): Remove run.
771 (distclean): Remove Makefile.
772
773 * h8300.mt: Removed.
774
775 * Makefile.in, configure.in: converted to autoconf.
776 * configure: New file, generated with autconf 2.4.
777
778 Fri Jun 30 16:50:24 1995 Stan Shebs <shebs@andros.cygnus.com>
779
780 * compile.c (sim_do_command): New function.
781
782 Tue Jun 20 16:18:13 1995 Steve Chamberlain <sac@slash.cygnus.com>
783
784 * compile.c (get_now): Don't do if win32.
785 (sim_resume): Poll in win32 too.
786
787 Wed May 24 16:31:38 1995 Jim Wilson <wilson@chestnut.cygnus.com>
788
789 * configure.in: Fix typo in last change.
790
791 Mon Mar 27 10:32:34 1995 J.T. Conklin <jtc@rtl.cygnus.com>
792
793 * run.c: parse arguments with getopt().
794
795 Tue Feb 28 17:30:08 1995 Ian Lance Taylor <ian@cygnus.com>
796
797 * configure.in: Use ../../bfd/hosts/std-host.h if specific
798 host unavailable.
799
800 Sun Jan 22 12:35:43 1995 Steve Chamberlain <sac@splat>
801
802 * compile.c (sim_resume): Initialize cpu.mask.
803
804 Thu Sep 8 16:53:00 1994 Steve Chamberlain (sac@jonny.cygnus.com)
805
806 * inst.h (MPOWER): Bump simulated memory size to 2^18 bytes.
807
808 Wed May 18 13:47:58 1994 Doug Evans (dje@canuck.cygnus.com)
809
810 * compile.c: #include "bfd.h".
811 (sim_*): Set result type to void where there isn't one.
812 (sim_resume, default case): Set cpu.exception to SIGILL.
813 (sim_trace): Delete.
814 (sim_set_pc): Delete.
815 (sim_info): Delete printf_fn arg, all callers changed.
816 Call printf_filtered.
817 (set_h8300h): New arg `flag', all callers changed.
818 (sim_close): New function.
819 (sim_load): New function.
820 (sim_create_inferior): Renamed from sim_set_args, all callers changed.
821 * run.c: #include <varargs.h>, "remote-sim.h".
822 (printf_filtered): New function.
823
824 Fri May 13 18:32:27 1994 Doug Evans (dje@canuck.cygnus.com)
825
826 * compile.c (decode): Fix typo (16 bit branches).
827 (*): Some white space clean up.
828
829 Fri May 6 13:44:01 1994 Steve Chamberlain (sac@jonny.cygnus.com)
830
831 * compile.c (decode): Compile 16bit branches properly.
832
833 Sat Dec 11 16:32:36 1993 Steve Chamberlain (sac@thepub.cygnus.com)
834
835 * compile.c: Tidy up formatting. (sim_resume): Add orc, xorc,
836 andc. Poll for interrupts.
837
838 Thu Oct 28 19:29:34 1993 Doug Evans (dje@canuck.cygnus.com)
839
840 * compile.c: #include "ansidecl.h" for remote-sim.h.
841
842 Tue Oct 26 09:43:36 1993 Doug Evans (dje@canuck.cygnus.com)
843
844 * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb
845 * compile.c: #include "remote-sim.h".
846 (sim_resume): New arg siggnal.
847 (sim_write): Use SIM_ADDR for type of arg addr.
848 Always return a value.
849 (sim_read): Ditto.
850 (sim_store_register): Result is type int.
851 (sim_fetch_register): Ditto.
852 (sim_stop_reason): Renamed from sim_stop_signal.
853 (sim_set_pc): Use SIM_ADDR for type of arg pc.
854 (sim_info): int result, new arg printf_fn.
855 (sim_kill): int result.
856 (sim_open): int result, new arg name.
857 * run.c (main): Use sim_set_pc to set pc.
858 Update call to sim_info.
859
860 Sat Oct 23 15:01:18 1993 Doug Evans (dje@canuck.cygnus.com)
861
862 * compile.c (sim_stop_signal): Result is now enum sim_stop.
863
864 Fri Oct 15 23:49:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
865
866 * compile.c (sim_kill, sim_open, sim_set_args): New functions.
867
868 Thu Oct 7 16:24:10 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
869
870 * compile.c (sim_set_pc): Write to the pc direcly.
871 (sim_store_register): Now value is passed by reference. (sim_read,
872 sim_write): Return number of bytes copied.
873
874 Tue Aug 17 07:16:15 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
875
876 * compile.c (mop): New function to do multiplies.
877
878 Fri Jul 16 13:53:53 1993 Doug Evans (dje@canuck.cygnus.com)
879
880 * compile.c (sim_resume): Add support for nop insn.
881
882 Thu Jul 15 09:59:01 1993 Doug Evans (dje@canuck.cygnus.com)
883
884 * compile.c: Reset HMODE back to zero (accidently set it to 1).
885
886 * run.c (main): If h8/300h binary detected, call set_h8300h.
887 * compile.c (sim_resume): Fix O_NEG insn.
888
889 Fri Jul 9 14:36:48 1993 Doug Evans (dje@canuck.cygnus.com)
890
891 * run.c (main): Add -h flag to enable h8/300h emulation.
892 * compile.c: Rename Hmode to HMODE (consistency with gdb).
893 (set_h8300h): New function.
894 (sim_resume): Add support for extu,exts insns.
895 (sim_resume): Fix logical right shifting.
896 (sim_resume, label alu32): Fix setting of carry flag.
897
898 Sun Jul 4 00:35:41 1993 Doug Evans (dje@canuck.cygnus.com)
899
900 * compile.c (sim_csize): Initialize cpu.cache.
901
902 Fri Jul 2 17:42:59 1993 Doug Evans (dje@canuck.cygnus.com)
903
904 * Makefile.in: Add -I../../bfd to pick up bfd.h.
905
906 Thu Jun 24 13:40:12 1993 Doug Evans (dje@canuck.cygnus.com)
907
908 * run.c (main): Fix parsing of args.
909
910 * compile.c (sim_resume): Fix shll insn.
911
912 Tue Jun 8 14:16:46 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
913
914 * compile.c: New file, supports H8/300H.
915 * p1,p3, gencode.c, state.h, writecode.c All dead and obsolete.
916
917 Tue Jun 1 11:14:59 1993 Steve Chamberlain (sac@thepub.cygnus.com)
918
919 * run.c (main): Add -v to print info.
920 * p3.c (sim_info): New function.
921
922 Mon Mar 15 15:48:31 1993 Ian Lance Taylor (ian@cygnus.com)
923
924 * h8300.mt (DO_INSTALL): Renamed from INSTALL.
925
926 Wed Mar 3 15:06:53 1993 Steve Chamberlain (sac@poseidon.cygnus.com)
927
928 * Makefile.in: Don't use cb or indent
929 * p1.c, state.h, writecode.c: lint
930
931 Mon Feb 1 16:44:58 1993 John Gilmore (gnu@cygnus.com)
932
933 * Makefile.in: Make SunOS halfdone VPATH work.
934 * p1.c: Lint picked up by HP native compiler.
935
936 Mon Jan 4 12:32:35 1993 Steve Chamberlain (sac@wahini.cygnus.com)
937
938 * p1.c (sim_resume): when running on dos, any character typed to
939 the keyboard will cause a simulated exception.
940
941 Sun Jan 3 14:15:07 1993 Steve Chamberlain (sac@thepub.cygnus.com)
942
943 * p1.c, p3.c, run.c, writecode.c: all used h8/300 opcodes in and
944 running
945
946 Tue Dec 22 13:56:48 1992 Steve Chamberlain (sac@thepub.cygnus.com)
947
948 * new
949
This page took 0.070201 seconds and 4 git commands to generate.