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