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