sim: allow the assert configure option everywhere
[deliverable/binutils-gdb.git] / sim / h8300 / ChangeLog
CommitLineData
35656e95
MF
12016-01-10 Mike Frysinger <vapier@gentoo.org>
2
3 * configure: Regenerate.
4
22be3fbe
MF
52016-01-10 Mike Frysinger <vapier@gentoo.org>
6
7 * configure: Regenerate.
8
0dc73ef7
MF
92016-01-10 Mike Frysinger <vapier@gentoo.org>
10
11 * configure: Regenerate.
12
347fe5bb
MF
132016-01-10 Mike Frysinger <vapier@gentoo.org>
14
15 * configure: Regenerate.
16
99d8e879
MF
172016-01-10 Mike Frysinger <vapier@gentoo.org>
18
19 * configure: Regenerate.
20
936df756
MF
212016-01-09 Mike Frysinger <vapier@gentoo.org>
22
23 * config.in, configure: Regenerate.
24
2e3d4f4d
MF
252016-01-06 Mike Frysinger <vapier@gentoo.org>
26
27 * compile.c (sim_open): Mark argv const.
28 (sim_create_inferior): Mark argv and env const.
29
9bbf6f91
MF
302016-01-04 Mike Frysinger <vapier@gentoo.org>
31
32 * configure: Regenerate.
33
77cf2ef5
MF
342016-01-03 Mike Frysinger <vapier@gentoo.org>
35
36 * compile.c (sim_open): Update sim_parse_args comment.
37
0cb8d851
MF
382016-01-03 Mike Frysinger <vapier@gentoo.org>
39
40 * config.in, configure: Regenerate.
41
1ac72f06
MF
422016-01-02 Mike Frysinger <vapier@gentoo.org>
43
44 * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
45 * configure: Regenerate.
46
cec99e6b
MF
472015-12-30 Mike Frysinger <vapier@gentoo.org>
48
49 * compile.c (sim_state_initialize): Delete.
50 (sim_open): Replace sim_state_initialize call with SBR_REGNUM
51 assignment.
52
2a2757ac
MF
532015-12-30 Mike Frysinger <vapier@gentoo.org>
54
55 * compile.c (h8300_reg_store): Delete sd. Change init_pointers to
56 use CPU_STATE (cpu). Change h8_set_pc to cpu->pc. Return -1 and
57 drop the printf if the default case. Change all the set func calls
58 to use cpu->regs[rn] instead.
59 (h8300_reg_store): Delete sd. Change init_pointers to
60 use CPU_STATE (cpu). Change h8_get_pc to cpu->pc. Return -1 and
61 drop the printf if the default case. Change all the get func calls
62 to use cpu->regs[rn] instead. Add ZERO_REGNUM case. Return 2 and
63 4 instead of -1 at the end.
64
4ca9d09e
MF
652015-12-30 Mike Frysinger <vapier@gentoo.org>
66
67 * compile.c (lvalue): Change sim_engine_set_run_state calls to
68 sim_engine_halt. Declare local cpu.
69 (fetch_1): Likewise.
70 (store_1): Likewise.
71 (sim_resume): Rename to ...
72 (step_once): ... this. Declare init1, poll_count, reason, and
73 sigrc variables. Delete step checking. Change
74 sim_engine_set_run_state calls to sim_engine_halt. Delete poll
75 logic. Change while(1) loop to while(0).
76 (sim_engine_run): New function.
77 * Makefile.in (SIM_OBJS): Add sim-resume.o.
78
5658c257
MF
792015-12-30 Mike Frysinger <vapier@gentoo.org>
80
81 * compile.c (sim_open): Delete current_alignment and
82 current_target_byte_order assignments.
83 * configure.ac: Call SIM_AC_OPTION_ENDIAN and
84 SIM_AC_OPTION_ALIGNMENT.
85 * configure: Regenerate.
86
e1211e55
MF
872015-12-30 Mike Frysinger <vapier@gentoo.org>
88
89 * wrapper.c (sim_store_register): Rename to ...
90 (h8300_reg_store): ... this. Declare sd.
91 (sim_fetch_register): Rename to ...
92 (h8300_reg_fetch): ... this. Declare sd.
93 (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
94
c78dff22
MF
952015-12-30 Mike Frysinger <vapier@gentoo.org>
96
97 * compile.c (lreg): Delete.
98 (init_pointers): Delete lreg assignments.
99
f2089a69
MF
1002015-12-30 Mike Frysinger <vapier@gentoo.org>
101
102 * inst.h: Delete file.
103 * Makefile.in (compile.o): Delete rule.
104
1b393626
MF
1052015-12-26 Mike Frysinger <vapier@gentoo.org>
106
107 * config.in, configure: Regenerate.
108
bd3fb5b8
MF
1092015-12-24 Mike Frysinger <vapier@gentoo.org>
110
111 * compile.c (H8300_OPTIONS): New enum from common/sim-options.c.
112 (h8300_option_handler): New func from common/sim-options.c.
113 (h8300_options): New options from common/sim-options.c.
114 (sim_open): Call sim_add_option_table.
115 * tconfig.h: Delete file.
116
8abe6c66
MF
1172015-12-24 Mike Frysinger <vapier@gentoo.org>
118
119 * tconfig.h (SIM_HAVE_SIMCACHE): Delete.
120
c1fc4b4d
MF
1212015-11-21 Mike Frysinger <vapier@gentoo.org>
122
123 * compile.c (sim_callback, sim_kind, myname): Delete.
124 (init_pointers, sim_store_register, sim_fetch_register, sim_info):
125 Change sim_callback->printf_filtered calls to sim_io_printf.
126 (sim_resume): Likewise. Declare sim_callback.
127 (sim_open): Delete sim_callback, sim_kind, and myname assignment.
128 (sim_load); Use sd to look up myname, sim_callback, and sim_kind.
129
797eee42
MF
1302015-11-15 Mike Frysinger <vapier@gentoo.org>
131
132 * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
133
8ae8f9c3
MF
1342015-11-15 Mike Frysinger <vapier@gentoo.org>
135
136 * Makefile.in (SIM_OBJS): Add sim-reason.o and sim-stop.o.
137 * compile.c (sim_stop, sim_stop_reason): Delete.
138
d2dfd242
MF
1392015-11-14 Mike Frysinger <vapier@gentoo.org>
140
141 * Makefile.in (SIM_OBJS): Delete sim-load.o.
142
6e4f085c
MF
1432015-11-14 Mike Frysinger <vapier@gentoo.org>
144
145 * compile.c (sim_close): Delete.
146
5697b730
MF
1472015-11-09 Mike Frysinger <vapier@gentoo.org>
148
149 * compile.c (littleendian): Delete.
150 (init_pointers): Delete littleendian usage.
151
8d0978fb
MF
1522015-06-23 Mike Frysinger <vapier@gentoo.org>
153
154 * configure: Regenerate.
155
a3487082
MF
1562015-06-12 Mike Frysinger <vapier@gentoo.org>
157
158 * configure: Regenerate.
159
306f4178
MF
1602015-06-12 Mike Frysinger <vapier@gentoo.org>
161
162 * configure: Regenerate.
163
20bca71d
MF
1642015-04-18 Mike Frysinger <vapier@gentoo.org>
165
166 * sim-main.h (SIM_CPU): Delete.
167
7e83aa92
MF
1682015-04-18 Mike Frysinger <vapier@gentoo.org>
169
170 * sim-main.h (sim_cia): Delete.
171
034685f9
MF
1722015-04-17 Mike Frysinger <vapier@gentoo.org>
173
174 * sim-main.h (CIA_GET, CIA_SET): Delete.
175
27b97b40
MF
1762015-04-17 Mike Frysinger <vapier@gentoo.org>
177
178 * compile.c (h8300_pc_get, h8300_pc_set): New functions.
179 (sim_open): Declare new local var i. Call CPU_PC_FETCH &
180 CPU_PC_STORE for all cpus.
181 * sim-main.h (SIM_CPU): Define.
182
78e9aa70
MF
1832015-04-15 Mike Frysinger <vapier@gentoo.org>
184
185 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
186 * sim-main.h (STATE_CPU): Delete.
187
f95f4ed2
MF
1882015-04-15 Mike Frysinger <vapier@gentoo.org>
189
190 * compile.c: Include sim-options.h.
191 (sim_open): Call sim_cpu_alloc_all instead of sim_cpu_alloc.
192 * sim-main.h (struct sim_state): Change cpu to an array of pointers.
193 (STATE_CPU): Handle WITH_SMP.
194
bf12d44e
MF
1952015-04-13 Mike Frysinger <vapier@gentoo.org>
196
197 * configure: Regenerate.
198
122bbfb5
MF
1992015-04-06 Mike Frysinger <vapier@gentoo.org>
200
201 * Makefile.in (SIM_OBJS): Delete sim-engine.o.
202
1a8faa2a
MF
2032015-04-01 Mike Frysinger <vapier@gentoo.org>
204
205 * Makefile.in (SIM_OBJS): Delete $(SIM_EXTRA_OBJS).
206
aadc9410
MF
2072015-03-31 Mike Frysinger <vapier@gentoo.org>
208
209 * config.in, configure: Regenerate.
210
523ba8f9
MF
2112015-03-24 Mike Frysinger <vapier@gentoo.org>
212
213 * compile.c (sim_set_callbacks, sim_size, sim_trace): Delete.
214 * tconfig.h (SIM_HAVE_PROFILE): Delete.
215
ae7d0cac
MF
2162015-03-16 Mike Frysinger <vapier@gentoo.org>
217
218 * config.in, configure: Regenerate.
219 * tconfig.in: Rename file ...
220 * tconfig.h: ... here.
221
465fb143
MF
2222015-03-14 Mike Frysinger <vapier@gentoo.org>
223
224 * Makefile.in (SIM_RUN_OBJS): Delete.
225
5cddc23a
MF
2262015-03-14 Mike Frysinger <vapier@gentoo.org>
227
228 * configure.ac (AC_CHECK_HEADERS): Delete stdlib.h & time.h.
229 * aclocal.m4, configure: Regenerate.
230
2d7bb758
JB
2312014-12-03 Joel Brobecker <brobecker@adacore.com>
232
233 * compile.c (sim_resume): Adjust calls to "stat" and "fstat"
234 callbacks by calls to "to_stat" and "to_fstat" (resp) callbacks
235 following renaming in callback.h.
236
2974be62
AM
2372014-08-19 Alan Modra <amodra@gmail.com>
238
239 * configure: Regenerate.
240
faa743bb
RM
2412014-08-15 Roland McGrath <mcgrathr@google.com>
242
243 * configure: Regenerate.
244 * config.in: Regenerate.
245
b2b255bd
MF
2462014-03-05 Mike Frysinger <vapier@gentoo.org>
247
248 * compile.c (sim_load): Add const to prog.
249
ef3e8cf7
MF
2502014-02-17 Mike Frysinger <vapier@gentoo.org>
251
252 PR gdb/16450
253 * compile.c (control_c_sim_desc): Delete.
254 (control_c): Likewise.
255 (sim_resume): Delete signal(SIGINT) handling.
256
bf3d9781
AM
2572013-09-23 Alan Modra <amodra@gmail.com>
258
259 * configure: Regenerate.
260
31e6ad7d
MF
2612013-06-03 Mike Frysinger <vapier@gentoo.org>
262
263 * aclocal.m4, configure: Regenerate.
264
5f3ef9d0
JB
2652012-06-15 Joel Brobecker <brobecker@adacore.com>
266
267 * config.in, configure: Regenerate.
268
a6ff997c
NC
2692012-05-18 Nick Clifton <nickc@redhat.com>
270
271 PR 14072
272 * compile.c: Include config.h before system header files.
273 * sim-main.h: Likewise.
274
2232061b
MF
2752012-03-24 Mike Frysinger <vapier@gentoo.org>
276
277 * aclocal.m4, config.in, configure: Regenerate.
278
db2e4d67
MF
2792011-12-03 Mike Frysinger <vapier@gentoo.org>
280
281 * aclocal.m4: New file.
282 * configure: Regenerate.
283
9c082ca8
MF
2842011-10-17 Mike Frysinger <vapier@gentoo.org>
285
286 * configure.ac: Change include to common/acinclude.m4.
287
6ffe910a
MF
2882011-10-17 Mike Frysinger <vapier@gentoo.org>
289
290 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
291 call. Replace common.m4 include with SIM_AC_COMMON.
292 * configure: Regenerate.
293
2419798b
MF
2942011-07-05 Mike Frysinger <vapier@gentoo.org>
295
296 * compile.c (sim_do_command): Delete.
297
dae477fe
AB
2982011-01-11 Andrew Burgess <aburgess@broadcom.com>
299
300 * compile.c (sim_store_register): Update return value to
301 match new API.
302
5558e7e6
MF
3032010-04-14 Mike Frysinger <vapier@gentoo.org>
304
305 * compile.c (sim_write): Add const to buffer arg.
306
3725885a
RW
3072010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
308
309 * configure: Regenerate.
310
3a6c31f9
YS
3112009-12-09 Yoshinori Sato <ysato@users.sourceforge.jp>
312 * compile.c(fetch_1): Fix pre-dec, pre-inc, post-dec and post-inc.
313 Index registers not masked memory areas.
314 Only simply increment or decrement.
315 * compile.c(store_1): Ditto.
316
d6416cdc
RW
3172009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
318
81ecdfbb
RW
319 * config.in: Regenerate.
320 * configure: Likewise.
321
d6416cdc
RW
322 * configure: Regenerate.
323
c4212d37
JS
3242008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
325
326 * compile.c: Add const to remove warning.
327
b5bd9624
HPN
3282008-07-11 Hans-Peter Nilsson <hp@axis.com>
329
330 * configure: Regenerate to track ../common/common.m4 changes.
331 * config.in: Ditto.
332
6efef468 3332008-06-06 Vladimir Prus <vladimir@codesourcery.com>
72f4393d
L
334 Daniel Jacobowitz <dan@codesourcery.com>
335 Joseph Myers <joseph@codesourcery.com>
6efef468
JM
336
337 * configure: Regenerate.
338
917c78f9
DJ
3392007-07-03 Yoshinori Sato <ysato@users.sourceforge.jp>
340
341 * compile.c (sim_resume): Fix the last byte of ARGV for
342 SYS_CMDLINE.
343
edc5d9ec
HPN
3442006-12-21 Hans-Peter Nilsson <hp@axis.com>
345
346 * acconfig.h: Remove.
347 * config.in: Regenerate.
348
b86015ea
YS
3492006-07-13 Yoshinori Sato <ysato@users.sourceforge.jp>
350
351 * compile.c (OBITOP): Bit address mask low three bit.
352 * compile.c (decode): Fix warning.
353
e85e3205
RE
3542006-06-13 Richard Earnshaw <rearnsha@arm.com>
355
356 * configure: Regenerated.
357
2f0122dc
DJ
3582006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
359
360 * configure: Regenerated.
361
20e95c23
DJ
3622006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
363
364 * configure: Regenerated.
365
2b193c4a
MK
3662005-03-23 Mark Kettenis <kettenis@gnu.org>
367
368 * configure: Regenerate.
369
35695fd6
AC
3702005-01-14 Andrew Cagney <cagney@gnu.org>
371
372 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
373 explicit call to AC_CONFIG_HEADER.
374 * configure: Regenerate.
375
f0569246
AC
3762005-01-12 Andrew Cagney <cagney@gnu.org>
377
378 * configure.ac: Update to use ../common/common.m4.
379 * configure: Re-generate.
380
38f48d72
AC
3812005-01-11 Andrew Cagney <cagney@localhost.localdomain>
382
383 * configure: Regenerated to track ../common/aclocal.m4 changes.
384
b7026657
AC
3852005-01-07 Andrew Cagney <cagney@gnu.org>
386
387 * configure.ac: Rename configure.in, require autoconf 2.59.
388 * configure: Re-generate.
389
379832de
HPN
3902004-12-08 Hans-Peter Nilsson <hp@axis.com>
391
392 * configure: Regenerate for ../common/aclocal.m4 update.
393
e4d3c499
AO
3942004-06-28 Alexandre Oliva <aoliva@redhat.com>
395
e073c474
AO
396 2003-07-23 Richard Sandiford <rsandifo@redhat.com>
397 * compile.c (sim_resume): Make sure that dst.reg refers to the
398 right register byte in mova/sz.l @(dd,RnL),ERn.
399 2003-07-21 Richard Sandiford <rsandifo@redhat.com>
400 * compile.c (sim_resume): Zero-extend immediate to muls, mulsu,
401 mulxs, divs and divxs.
402
e4d3c499
AO
403 * compile.c (sim_load): Update sd->memory_size.
404
d6fd015d 4052004-06-10 Michael Snyder <msnyder@redhat.com>
3973a7d3 406
d6fd015d
MS
407 Patch submitted by Nitin Yewale <NitinY@KPITCummins.com>.
408 * compile.c (sim_resume): Corrected ANDC operation on EXR for H8S.
409
3d29fdb4
MS
4102004-01-05 Michael Snyder <msnyder@redhat.com>
411
412 * compile.c (sim_load): Don't pass a type to bfd_openr.
413
f5d3df96
MS
4142003-12-16 Michael Snyder <msnyder@redhat.com>
415
416 Patch submitted by Anil Paranjape <AnilP1@KPITCummins.com>
417 * sim-main.h (H8300H_MSIZE): Increase from 18 bits to 24 bits.
418
454d0511
DD
4192003-12-11 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
420
72f4393d 421 * compile.c (set_h8300h): Initialize globals to zero.
454d0511 422
29b52f93
KH
4232003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com>
424
425 * compile.c (h8300_normal_mode): New.
426 (SP): Handle normal mode.
427 (bitfrom): Use normal mode flag to return suitable value.
428 (lvalue): Use normal mode flag to return command line location.
429 (decode): Decode instruction correctly for normal mode.
430 (init_pointers): Initialise memory correctly for normal mode.
431 (sim_resume): Handle cases for normal mode using h8300_normal_mode
432 flag.
433 (sim_store_register): Handle 2 byte PC for normal mode.
434 (sim_fetch_register): Handle 2 byte PC for normal mode.
435 (set_h8300h): Set normal mode flag as per architechture.
436 (sim_load): Allocate 64K for normal mode instead of bigger memory.
437
f408565c
MS
4382003-07-18 Michael Snyder <msnyder@redhat.com>
439
440 * compile.c (decode): Enhancements for mova.
441 Initialize cst, reg, and rdisp inside the loop, for each
442 new instruction. Defer correction of the disp2 values until
443 later, and then adjust them by the size of the first operand,
444 rather than the size of the instruction.
445 (sim_resume): For mova, adjust the size of the second operand
446 according to the type of the first operand (INDEXB vs. INDEXW).
447 In cases where there is only one operand, the other two must
448 both be composed on the fly.
449
e22fef83
MS
4502003-07-22 Michael Snyder <msnyder@redhat.com>
451
452 * compile.c (sim_resume): Revert 6-24 change, it does not
453 work with gdb breakpoints.
454
0f42aa71
MS
4552003-07-17 Michael Snyder <msnyder@redhat.com>
456
55acb21b
MS
457 * compile.c (sim_resume): Handle shll reg, reg and shlr reg, reg.
458 (decode): IMM16 is always zero-extended.
0f42aa71 459
f0861129
MS
4602003-06-24 Michael Snyder <msnyder@redhat.com>
461
462 * sim-main.h (SIM_WIFSTOPPED, SIM_WSTOPSIG): Define.
463 * compile.c (sim_resume): Use the above to return stop signal.
464
9f70f8ec
MS
4652003-06-18 Michael Snyder <msnyder@redhat.com>
466
467 * compile.c: Replace "Hitachi" with "Renesas".
468 (decode): Distinguish AV_H8S from AV_H8H.
469 (sim_resume): H8SX can use any register for TAS.
470 (decode): Add support for VECIND.
471 (sim_resume): Implement rte/l and rts/l.
472 (GETSR): New macro (actually old macro reincarnated).
473 (decode): Add handling for IMM2.
474 (sim_resume): Drop extra block around jmp, jsr, rts.
475 Add handling for trapa and rte.
476 For divxu.b, change 0xffff mask to 0xff.
477 (set_h8300h): Add bfd_mach_h8300sxn machine.
478
18ad32b5
MS
4792003-06-18 Corinna Vinschen <vinschen@redhat.com>
480
481 * sim-main.h (enum h8_regnum): Turn around order of MACH, MACL
482 and SBR, VBR.
483
173b1c98
MS
4842003-06-05 Michael Snyder <msnyder@redhat.com>
485
486 * compile.c (sim_fetch_register): Handle SBR, VBR, MACH, MACL.
487 (sim_store_register): Ditto.
488
e8c1a4e7
MS
4892003-06-04 Michael Snyder <msnyder@redhat.com>
490
491 * compile.c (sim_info): Fix typo in output.
492
173b1c98 493 * compile.c (set_h8300h): Replace 'flag' arguments
27ebfdf4
MS
494 with a bfd_machine argument, and decode it inline.
495 Check for bfd_mach_h8300hn and bfd_mach_h8300sn.
496
dc5c3759
MS
4972003-06-03 Michael Snyder <msnyder@redhat.com>
498
e8c1a4e7
MS
499 * compile.c: Add h8300sx insns and addressing modes.
500 * sim-main.h: Replaces h8300/inst.h.
501 * Makefile.in: Tweak to bring in some sim/common stuff.
dc5c3759 502
b7f97e9c
MS
5032003-04-13 Michael Snyder <msnyder@redhat.com>
504
505 * compile.c (sim_resume): Implement 'daa' and 'das' instructions.
506
d1360fb0
V
5072003-03-20 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
508
72f4393d 509 * compile.c (cmdline_location): Added function to
d1360fb0
V
510 return the location of 8-bit (256 locations) where the
511 Command Line arguments would be stored.
72f4393d 512 (decode): Added a TRAP to 0xcc for Commandline
d1360fb0
V
513 processing using pseudo opcode O_SYS_CMDLINE.
514 (sim_resume): Added handling of O_SYS_CMDLINE Trap.
72f4393d 515 (sim_create_inferior): Setting a pointer to
d1360fb0
V
516 Commandline Args array.
517 * inst.h: Added a new variable ptr_command_line for
518 storing pointer to Commandline array.
519
bf174226
V
5202003-03-14 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
521
522 * compile.c (decode): Added code for some more magic traps.
523 * compile.c (sim_resume): Added support for File I/O system
524 calls through callback to host_system.
525 System calls provided support for :
526 open, read, write, lseek, close, stat, fstat
527 Only basic support for stat and fstat.
528
6b4a8935
AC
5292003-02-27 Andrew Cagney <cagney@redhat.com>
530
531 * compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
532
ec38ce99
KH
5332003-02-05 Kazu Hirata <kazu@cs.umass.edu>
534
535 * compile.c (init_pointers): Abort if wreg never gets initialized.
536 (sim_resume): Fix the handling of exts.w and extu.w.
537
ad4cda16
KH
5382003-01-31 Kazu Hirata <kazu@cs.umass.edu>
539
540 * compile.c (sim_resume): Fix the handling of bxor.
541
a4f27e3e
MS
5422003-01-16 Michael Snyder <msnyder@redhat.com>
543
544 * compile.c: Change K&R function definitions to ISO.
545 (fetch): Make static, and eliminate unused parameter 'n'.
546
d0fe2f7e
KH
5472002-12-26 Kazu Hirata <kazu@cs.umass.edu>
548
549 * compile.c: Fix formatting.
550 * inst.h: Likewise.
551
a64bfde3
AV
5522002-07-29 Andrey Volkov <avolkov@transas.com>
553
554 * compile.c: Include "gdb/sim-h8300.h"
555 * Makefile.in: Add dependences on "inst.h",
556 "gdb/callback.h", "gdb/remote-sim.h" and "gdb/sim-h8300.h".
557
c8cca39f
AC
5582002-06-16 Andrew Cagney <ac131313@redhat.com>
559
560 * configure: Regenerated to track ../common/aclocal.m4 changes.
561
3c25f8c7
AC
5622002-06-08 Andrew Cagney <cagney@redhat.com>
563
564 * compile.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
565
d1335144
KH
5662002-05-19 Kazu Hirata <kazu@cs.umass.edu>
567
568 * compile.c: Fix formatting.
569
c3f4437e
KH
5702002-05-18 Kazu Hirata <kazu@cs.umass.edu>
571
572 * compile.c: Fix formatting.
573
6147b1f6
AV
5742002-05-17 Andrey Volkov (avolkov@transas.com)
575
576 * compile.c: Add absented opcodes: LDC, STC, EEPMOV, TAS.
72f4393d 577
fc974602
AV
5782002-05-17 Andrey Volkov (avolkov@transas.com)
579
580 * compile.c: Add support of EXR register
581 * inst.h: Ditto.
72f4393d 582
a8cdafbd
AV
5832002-05-17 Andrey Volkov (avolkov@transas.com)
584
585 * compile.c: Made h8300s as new target, not h8300h alias.
586 * inst.h: Ditto.
72f4393d 587
f6225c96
AV
5882002-05-17 Andrey Volkov (avolkov@transas.com)
589
72f4393d 590 * compile.c: Add additional CCR flags (I,UI,H,U)
f6225c96 591
3b02cf92
AV
5922002-05-17 Andrey Volkov (avolkov@transas.com)
593
72f4393d 594 * compile.c: Change literal regnumbers to REGNUMS.
3b02cf92
AV
595 Fix instruction and cycles counting
596
de9b1892
KH
5972001-12-20 Kazu Hirata <kazu@hxi.com>
598
599 * compile.c: Fix formatting.
600
2ea716f6
KH
6012001-12-20 Kazu Hirata <kazu@hxi.com>
602
603 * compile.c: Fix comment typos.
604
6d028502
KH
6052000-08-10 Kazu Hirata <kazu@hxi.com>
606
607 * compile.c (decode): Clean up the code.
608
0a17cd59
AC
6092000-06-15 Kazu Hirata <kazu@hxi.com>
610
611 * compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
612 correctly.
613
97ee9e5a
FCE
6142000-06-20 Frank Ch. Eigler <fche@redhat.com>
615
616 * compile.c: Don't include "wait.h".
617 (sim_resume): Use local SIM_WIFEXITED and SIM_WIFSIGNALED macros
618 instead of WIF* from host.
619
98ecb0a7
FCE
6202000-06-13 Frank Ch. Eigler <fche@redhat.com>
621
622 * compile.c, writecode.c: Correct typo.
623
0ef9643e
JL
6242000-06-13 Kazu Hirata <kazu@hxi.com>
625
626 * compile.c: Fix formatting.
627
eb2d80b4
AC
628Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
629
630 * configure: Regenerated to track ../common/aclocal.m4 changes.
631
d4f3574e
SS
632Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
633
634 * configure: Regenerated to track ../common/aclocal.m4 changes.
635
cd0fc7c3
SS
6361999-05-08 Felix Lee <flee@cygnus.com>
637
638 * configure: Regenerated to track ../common/aclocal.m4 changes.
72f4393d 639
7a292a7a
SS
6401999-04-02 Keith Seitz <keiths@cygnus.com>
641
642 * compile.c (POLL_QUIT_INTERVAL): Define. Used to tweak the
643 frequency at which the poll_quit callback is used.
644 (sim_resume): Use POLL_QUIT_INTERVAL instead of hard-coded value.
645
c906108c
SS
646Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
647
72f4393d 648 * configure: Regenerated to track ../common/aclocal.m4 changes.
c906108c
SS
649
650Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
651
652 * configure: Regenerated to track ../common/aclocal.m4 changes.
653 * config.in: Ditto.
654
655Sun Apr 26 15:20:14 1998 Tom Tromey <tromey@cygnus.com>
656
657 * acconfig.h: New file.
658 * configure.in: Reverted change of Apr 24; use sinclude again.
659
660Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
661
662 * configure: Regenerated to track ../common/aclocal.m4 changes.
663 * config.in: Ditto.
664
665Fri Apr 24 11:19:46 1998 Tom Tromey <tromey@cygnus.com>
666
667 * configure.in: Don't call sinclude.
668
669Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
670
671 * configure: Regenerated to track ../common/aclocal.m4 changes.
672
673Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
674
675 * configure: Regenerated to track ../common/aclocal.m4 changes.
676
677Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
678
679 * configure: Regenerated to track ../common/aclocal.m4 changes.
680
681Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
682
683 * configure: Regenerated to track ../common/aclocal.m4 changes.
684
685Tue Feb 17 12:42:18 1998 Andrew Cagney <cagney@b1.cygnus.com>
686
687 * compile.c (sim_store_register, sim_fetch_register): Pass in
688 length parameter. Return -1.
689
690Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
691
692 * configure: Regenerated to track ../common/aclocal.m4 changes.
693
694Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
695
696 * configure: Regenerated to track ../common/aclocal.m4 changes.
697
698Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
699
700 * configure: Regenerated to track ../common/aclocal.m4 changes.
701
702Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
703
704 * configure: Regenerated to track ../common/aclocal.m4 changes.
705 * config.in: Ditto.
706
707Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
708
709 * configure: Regenerated to track ../common/aclocal.m4 changes.
710
711Tue Nov 11 16:52:07 1997 Angela Marie Thomas (angela@cygnus.com)
712
713 * compile.c: #include stdio.h for definition of NULL on
714 some platforms.
715
716Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
717
718 * compile.c (sim_load): Pass lma_p and sim_write args to
719 sim_load_file.
720
721Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
722
723 * configure: Regenerated to track ../common/aclocal.m4 changes.
724
725Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
726
727 * configure: Regenerated to track ../common/aclocal.m4 changes.
728
729Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
730
731 * configure: Regenerated to track ../common/aclocal.m4 changes.
732
733Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
734
735 * configure: Regenerated to track ../common/aclocal.m4 changes.
736
737Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
738
739 * configure: Regenerated to track ../common/aclocal.m4 changes.
740
741Wed Sep 17 12:00:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
742
743 * Makefile.in (compile.o): Depend on config.h in local directory.
744
745Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
746
747 * configure: Regenerated to track ../common/aclocal.m4 changes.
748
749Tue Sep 9 22:17:26 1997 Felix Lee <flee@cygnus.com>
750
751 * inst.h (sim_state): rename to h8300_sim_state, to avoid conflict
752 with sim/common.
753 * configure.in: check for sys/param.h
754 * compile.c: #ifdef HAVE_SYS_PARAM_H.
755 #define SIGTRAP for wingdb.
756 (sim_resume): poll keyboard at least once per call.
757 (sim_resume): use host_callback instead of printf for syscall
758 output.
759
760Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
761
762 * configure: Regenerated to track ../common/aclocal.m4 changes.
763
764Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
765
766 * configure: Regenerated to track ../common/aclocal.m4 changes.
767 * config.in: Ditto.
768
769Tue Aug 26 10:38:43 1997 Andrew Cagney <cagney@b1.cygnus.com>
770
771 * compile.c (sim_kill): Delete.
772 (sim_create_inferior): Add ABFD argument.
773 (sim_load): Move setting of PC from here.
774 (sim_create_inferior): To here.
775 (sim_open, sim_load, set_h8300h): Add fixme explaining why much of
776 the sim_load code should be moved to sim_open.
777
778Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
779
780 * configure: Regenerated to track ../common/aclocal.m4 changes.
781 * config.in: Ditto.
782
783Mon Aug 25 15:47:41 1997 Andrew Cagney <cagney@b1.cygnus.com>
784
785 * compile.c (sim_open): Add ABFD argument.
786
787Tue May 20 10:16:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
788
789 * compile.c (sim_open): Add callback argument.
790 (sim_set_callbacks): Delete SIM_DESC argument.
791
792Wed Apr 30 10:22:29 1997 Doug Evans <dje@canuck.cygnus.com>
793
794 * compile.c (sim_load): Call bfd_get_mach instead of examining
795 bfd fields directly.
796 * tconfig.in (SIM_PRE_LOAD): Delete, no longer used.
797
798Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
799
800 * configure: Regenerated to track ../common/aclocal.m4 changes.
801
802Fri Apr 18 14:30:09 1997 Andrew Cagney <cagney@b1.cygnus.com>
803
804 * compile.c (sim_resume): Use poll_quit callback.
805 (sim_stop): New function.
806
807Thu Apr 17 03:06:39 1997 Doug Evans <dje@canuck.cygnus.com>
808
809 * Makefile.in (SIM_OBJS): Add sim-load.o.
810 * compile.c (sim_kind, myname): New static locals.
811 (sim_open): Set sim_kind, myname.
812 (sim_load): Return SIM_RC. New arg abfd. Update test for h8300h.
813 Call sim_load_file to load file into simulator. Set start address
814 from bfd.
815 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
816
817Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
818
819 * configure: Regenerated to track ../common/aclocal.m4 changes.
820 * config.in: Ditto.
821
822Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
823
824 * compile.c (sim_open): New arg `kind'.
825
826 * configure: Regenerated to track ../common/aclocal.m4 changes.
827
828Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
829
830 * configure: Regenerated to track ../common/aclocal.m4 changes.
831
832Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
833
834 * configure: Regenerated to track ../common/aclocal.m4 changes.
835
836Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
837
838 * configure: Re-generate.
839
840Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
841
842 * configure: Regenerate to track ../common/aclocal.m4 changes.
843
844Thu Mar 13 12:48:05 1997 Doug Evans <dje@canuck.cygnus.com>
845
846 * compile.c (sim_open): New SIM_DESC result. Argument is now in
847 argv form.
848 (other sim_*): New SIM_DESC argument.
849
850Tue Feb 4 13:36:29 1997 Doug Evans <dje@canuck.cygnus.com>
851
852 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
853 COMMON_{PRE,POST}_CONFIG_FRAG instead.
854 * configure.in: sinclude ../common/aclocal.m4.
855 * configure: Regenerated.
856
857Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
858
859 * configure configure.in Makefile.in: Update to new configure
860 scheme which is more compatible with WinGDB builds.
861 * configure.in: Improve comment on how to run autoconf.
862 * configure: Re-run autoconf to get new ../common/aclocal.m4.
863 * Makefile.in: Use autoconf substitution to install common
864 makefile fragment.
865
866Wed Nov 20 01:39:12 1996 Doug Evans <dje@canuck.cygnus.com>
867
868 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
869 (SIM_OBJS): Define.
870 * configure.in: Simplify using macros in ../common/aclocal.m4.
871 * configure: Regenerated.
872 * inst.h (enum sim_state): Define.
873 (cpu_state_type): New member `state'. Set it whenever `exception'
874 is set.
875 * compile.c (sim_callback): New global.
876 (sim_set_simcache_size): Renamed from sim_csize.
877 (sim_resume, case O_SLEEP): Add right way to decode r0 but #if 0 out
878 'cus it can't work. Change main loop exit test to use cpu.state.
879 (sim_trace): New function.
880 (sim_stop_reason): Add right way to set results, but #if 0 out.
881 (sim_size): New function.
882 (sim_info): Redirect calls to printf_filtered through callback.
883 (sim_set_callbacks): Record callback.
884 * run.c: Deleted, using one in ../common now.
885 * tconfig.in: New file.
886
887Thu Oct 3 16:13:18 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
888
889 * Makefile.in (mostlyclean): Don't remove config.log here.
890
891Fri Aug 9 22:59:11 1996 Jeffrey A Law (law@cygnus.com)
892
893 * compile.c (sim_resume): rts, sleep, bpt and nop have
894 no associated "size".
895
896Tue Jul 9 22:15:39 1996 Jeffrey A Law (law@cygnus.com)
897
898 * compile.c (sim_resume): Fix all rotate-by-2-bits insns.
899
900Tue Jul 2 23:08:45 1996 Jeffrey A Law (law@cygnus.com)
901
902 * run.c (main): Don't "load" sections which don't have
903 SEC_LOAD set.
904 * compile.c (sim_resume, case "O_NOT"): Use ONOT instead
905 of OSHIFTS.
906 (ONOT): Define.
907 (sim_resume, shift/rotate cases): Add support for shift/rotate
908 by two bits.
909 (OSHIFTS): Corresponding changes.
910
911Tue Jul 2 01:37:27 1996 Jeffrey A Law (law@cygnus.com)
912
913 * compile.c (sim_resume): Handle "ldm.l" and "stm.l".
914
915Wed Jun 26 08:58:53 1996 Jeffrey A Law (law@cygnus.com)
916
917 * compile.c (h8300smode): Declare.
918
919Wed Jun 26 12:20:56 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
920
72f4393d
L
921 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
922 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
923 (docdir): Removed.
924 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
925 (AC_PROG_INSTALL): Added.
926 * configure: Rebuilt.
c906108c
SS
927
928Tue Jun 18 16:31:10 1996 Jeffrey A. Law <law@rtl.cygnus.com>
929
930 * compile.c (sim_load): Treat the H8/S like the H8/300H for now.
931 * run.c (main): Treat the H8/S like the H8/300H for now.
72f4393d 932
c906108c
SS
933Fri May 24 10:35:25 1996 Jeffrey A Law (law@cygnus.com)
934
935 * compile.c (SEXTCHAR): Clear upper bits when sign
936 bit is clear.
937
938Wed May 22 22:23:37 1996 Jeffrey A Law (law@cygnus.com)
939
940 * compile.c (sim_resume): Correctly handle divu.
941
942Tue May 7 02:13:05 1996 Jeffrey A Law (law@cygnus.com)
943
944 * compile.c (sim_resume): Never allow the PC to have an
945 odd value.
946
947Fri Apr 12 16:50:37 1996 Jeffrey A Law (law@cygnus.com)
948
949 * inst.h: Expand on comments regarding H8300H_MSIZE. Note
950 separate memory is allocate for the 8-bit area.
951 (struct cpu_state_type): Add new "eightbit' field.
952 * compile.c (GET_MEMORY_L): Handle access into the 8-bit
953 area.
954 (GET_MEMORY_W, GET_MEMORY_B): Likewise.
955 (SET_MEMORY_L, SET_MEMORY_W, SET_MEMORY_B): Likewise.
956 (init_pointers): Initialize space for the 8-bit area.
957 (sim_write): Handle writing into the 8-bit area.
958 (sim_read): Handle reading from the 8-bit area.
959 (sim_load): Reallocate space for the 8-bit area.
960
961 * compile.c (sim_load): Re-allocate memory for the simulator
962 here.
963
964Fri Apr 12 09:39:56 1996 Jeffrey A Law (law@cygnus.com)
965
966 * compile.c (sim_resume): Fix and simplify overflow and carry
967 handling for 32bit ALU insns.
968
969Mon Apr 8 23:58:49 1996 Jeffrey A Law (law@cygnus.com)
970
971 * compile.c (sim_resume): Fix overflow checks for ALU insns.
972
973Fri Apr 5 17:20:59 1996 Jeffrey A Law (law@cygnus.com)
974
975 * compile.c (decode): Use "bit" to hold L_3 immediates instead
976 of holding them in "abs". Handle ABS8MEM memory references aka
977 8-bit area. Replace ABSMOV references with ABS8MEM.
978
979Wed Mar 13 17:43:56 1996 Jeffrey A Law (law@cygnus.com)
980
981 * compile.c (fetch): Handle accesses to the exception/function
982 vectors.
983
984Mon Mar 11 09:53:25 1996 Doug Evans <dje@charmed.cygnus.com>
985
986 * compile.c: #include "wait.h".
987 (sim_resume, sleep insn): Check program exit status in r0.
988 (sim_resume, shift insns): Fix setting of overflow flag for shal.
989 * run.c: #include <signal.h>.
990 (main): Abort if program got SIGILL.
991 Print error message if argument is invalid.
992 (usage): Improve text.
993
994Wed Feb 21 12:15:00 1996 Ian Lance Taylor <ian@cygnus.com>
995
996 * configure: Regenerate with autoconf 2.7.
997
998Thu Jan 4 11:52:53 1996 Doug Evans <dje@canuck.cygnus.com>
999
1000 * inst.h (MPOWER,MSIZE): Deleted.
1001 (H8300{,H}_MSIZE): Define.
1002 * compile.c (memory_size): New static global.
1003 (init_pointers): Set memory size from one of H8300{,H}_MSIZE.
1004 (sim_write,sim_read): Use memory_size.
1005
1006Fri Oct 13 15:03:19 1995 steve chamberlain <sac@slash.cygnus.com>
1007
1008 * compile.c (sim_set_callbacks): New.
1009
1010Tue Oct 10 11:11:26 1995 Fred Fish <fnf@cygnus.com>
1011
1012 * Makefile.in (BISON): Remove macro.
1013
1014Wed Sep 20 13:35:02 1995 Ian Lance Taylor <ian@cygnus.com>
1015
1016 * Makefile.in (maintainer-clean): New synonym for realclean.
1017
1018Fri Sep 8 12:18:53 1995 Ian Lance Taylor <ian@cygnus.com>
1019
1020 * Makefile.in (install): Don't install in $(tooldir).
1021
1022 * configure.in: Call AC_CONFIG_HEADER. Don't try to use
1023 bfd/hosts/*.h file or bfd/config/*.mh file. Call AC_PROG_CC and
1024 AC_PROG_RANLIB. Substitute in values for CFLAGS, HDEFINES and AR.
1025 Call AC_CHECK_HEADERS for stdlib.h and time.h. Touch stamp.h if
1026 creating config.h.
1027 * configure: Rebuild.
1028 * config.in: New file, created by autoheader.
1029 * Makefile.in (AR): Define as @AR@.
1030 (CC): New variable, defined as @CC@.
1031 (CFLAGS): Define as @CFLAGS@.
1032 (RANLIB): Define as @RANLIB@.
1033 (HDEFINES, TDEFINES): New variables.
1034 (@host_makefile_frag@): Remove.
1035 (compile.o, run.o): Depend upon config.h.
1036 (mostlyclean): Make the same as clean, not distclean.
1037 (clean): Remove config.log.
1038 (distclean): Remove config.h and stamp-h.
1039 (Makefile): Don't depend upon @frags@. Just rebuild Makefile when
1040 invoking config.status.
1041 (config.h, stamp-h): New targets.
1042 * compile.c: Include "config.h". Don't include <sys/times.h>.
1043 Include <time.h> and <stdlib.h> if they exist. Don't include
1044 "sysdep.h".
1045 (get_now): Remove unused local b.
1046 * run.c: Include "config.h". Include <stdlib.h> if it exists.
1047 Don't include "sysdep.h".
1048 * writecode.c: Don't include "bfd.h" or "sysdep.h". Include
1049 <stdio.h>.
1050
1051Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1052
1053 * Update all FSF addresses except those in COPYING* files.
1054
1055Wed Jul 5 14:32:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1056
1057 * Makefile.in (clean): Remove run.
1058 (distclean): Remove Makefile.
1059
1060 * h8300.mt: Removed.
1061
1062 * Makefile.in, configure.in: converted to autoconf.
1063 * configure: New file, generated with autconf 2.4.
1064
1065Fri Jun 30 16:50:24 1995 Stan Shebs <shebs@andros.cygnus.com>
1066
1067 * compile.c (sim_do_command): New function.
1068
1069Tue Jun 20 16:18:13 1995 Steve Chamberlain <sac@slash.cygnus.com>
1070
1071 * compile.c (get_now): Don't do if win32.
1072 (sim_resume): Poll in win32 too.
1073
1074Wed May 24 16:31:38 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1075
1076 * configure.in: Fix typo in last change.
1077
1078Mon Mar 27 10:32:34 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1079
1080 * run.c: parse arguments with getopt().
1081
1082Tue Feb 28 17:30:08 1995 Ian Lance Taylor <ian@cygnus.com>
1083
1084 * configure.in: Use ../../bfd/hosts/std-host.h if specific
1085 host unavailable.
1086
1087Sun Jan 22 12:35:43 1995 Steve Chamberlain <sac@splat>
1088
1089 * compile.c (sim_resume): Initialize cpu.mask.
1090
1091Thu Sep 8 16:53:00 1994 Steve Chamberlain (sac@jonny.cygnus.com)
1092
1093 * inst.h (MPOWER): Bump simulated memory size to 2^18 bytes.
1094
1095Wed May 18 13:47:58 1994 Doug Evans (dje@canuck.cygnus.com)
1096
1097 * compile.c: #include "bfd.h".
1098 (sim_*): Set result type to void where there isn't one.
1099 (sim_resume, default case): Set cpu.exception to SIGILL.
1100 (sim_trace): Delete.
1101 (sim_set_pc): Delete.
1102 (sim_info): Delete printf_fn arg, all callers changed.
1103 Call printf_filtered.
1104 (set_h8300h): New arg `flag', all callers changed.
1105 (sim_close): New function.
1106 (sim_load): New function.
1107 (sim_create_inferior): Renamed from sim_set_args, all callers changed.
1108 * run.c: #include <varargs.h>, "remote-sim.h".
1109 (printf_filtered): New function.
1110
1111Fri May 13 18:32:27 1994 Doug Evans (dje@canuck.cygnus.com)
1112
1113 * compile.c (decode): Fix typo (16 bit branches).
1114 (*): Some white space clean up.
1115
1116Fri May 6 13:44:01 1994 Steve Chamberlain (sac@jonny.cygnus.com)
1117
1118 * compile.c (decode): Compile 16bit branches properly.
1119
1120Sat Dec 11 16:32:36 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1121
1122 * compile.c: Tidy up formatting. (sim_resume): Add orc, xorc,
1123 andc. Poll for interrupts.
1124
1125Thu Oct 28 19:29:34 1993 Doug Evans (dje@canuck.cygnus.com)
1126
1127 * compile.c: #include "ansidecl.h" for remote-sim.h.
1128
1129Tue Oct 26 09:43:36 1993 Doug Evans (dje@canuck.cygnus.com)
1130
1131 * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb
1132 * compile.c: #include "remote-sim.h".
1133 (sim_resume): New arg siggnal.
1134 (sim_write): Use SIM_ADDR for type of arg addr.
1135 Always return a value.
1136 (sim_read): Ditto.
1137 (sim_store_register): Result is type int.
1138 (sim_fetch_register): Ditto.
1139 (sim_stop_reason): Renamed from sim_stop_signal.
1140 (sim_set_pc): Use SIM_ADDR for type of arg pc.
1141 (sim_info): int result, new arg printf_fn.
1142 (sim_kill): int result.
1143 (sim_open): int result, new arg name.
1144 * run.c (main): Use sim_set_pc to set pc.
1145 Update call to sim_info.
1146
1147Sat Oct 23 15:01:18 1993 Doug Evans (dje@canuck.cygnus.com)
1148
1149 * compile.c (sim_stop_signal): Result is now enum sim_stop.
1150
1151Fri Oct 15 23:49:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1152
1153 * compile.c (sim_kill, sim_open, sim_set_args): New functions.
1154
1155Thu Oct 7 16:24:10 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1156
1157 * compile.c (sim_set_pc): Write to the pc direcly.
1158 (sim_store_register): Now value is passed by reference. (sim_read,
1159 sim_write): Return number of bytes copied.
1160
1161Tue Aug 17 07:16:15 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1162
1163 * compile.c (mop): New function to do multiplies.
1164
1165Fri Jul 16 13:53:53 1993 Doug Evans (dje@canuck.cygnus.com)
1166
1167 * compile.c (sim_resume): Add support for nop insn.
1168
1169Thu Jul 15 09:59:01 1993 Doug Evans (dje@canuck.cygnus.com)
1170
1171 * compile.c: Reset HMODE back to zero (accidently set it to 1).
1172
1173 * run.c (main): If h8/300h binary detected, call set_h8300h.
1174 * compile.c (sim_resume): Fix O_NEG insn.
1175
1176Fri Jul 9 14:36:48 1993 Doug Evans (dje@canuck.cygnus.com)
1177
1178 * run.c (main): Add -h flag to enable h8/300h emulation.
1179 * compile.c: Rename Hmode to HMODE (consistency with gdb).
1180 (set_h8300h): New function.
1181 (sim_resume): Add support for extu,exts insns.
1182 (sim_resume): Fix logical right shifting.
1183 (sim_resume, label alu32): Fix setting of carry flag.
72f4393d 1184
c906108c
SS
1185Sun Jul 4 00:35:41 1993 Doug Evans (dje@canuck.cygnus.com)
1186
1187 * compile.c (sim_csize): Initialize cpu.cache.
1188
1189Fri Jul 2 17:42:59 1993 Doug Evans (dje@canuck.cygnus.com)
1190
1191 * Makefile.in: Add -I../../bfd to pick up bfd.h.
1192
1193Thu Jun 24 13:40:12 1993 Doug Evans (dje@canuck.cygnus.com)
1194
1195 * run.c (main): Fix parsing of args.
1196
1197 * compile.c (sim_resume): Fix shll insn.
1198
1199Tue Jun 8 14:16:46 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1200
1201 * compile.c: New file, supports H8/300H.
1202 * p1,p3, gencode.c, state.h, writecode.c All dead and obsolete.
1203
1204Tue Jun 1 11:14:59 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1205
1206 * run.c (main): Add -v to print info.
1207 * p3.c (sim_info): New function.
1208
1209Mon Mar 15 15:48:31 1993 Ian Lance Taylor (ian@cygnus.com)
1210
1211 * h8300.mt (DO_INSTALL): Renamed from INSTALL.
1212
1213Wed Mar 3 15:06:53 1993 Steve Chamberlain (sac@poseidon.cygnus.com)
1214
1215 * Makefile.in: Don't use cb or indent
1216 * p1.c, state.h, writecode.c: lint
1217
1218Mon Feb 1 16:44:58 1993 John Gilmore (gnu@cygnus.com)
1219
1220 * Makefile.in: Make SunOS halfdone VPATH work.
1221 * p1.c: Lint picked up by HP native compiler.
1222
1223Mon Jan 4 12:32:35 1993 Steve Chamberlain (sac@wahini.cygnus.com)
1224
1225 * p1.c (sim_resume): when running on dos, any character typed to
1226 the keyboard will cause a simulated exception.
1227
1228Sun Jan 3 14:15:07 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1229
1230 * p1.c, p3.c, run.c, writecode.c: all used h8/300 opcodes in and
1231 running
1232
1233Tue Dec 22 13:56:48 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1234
72f4393d 1235 * new
c906108c 1236
This page took 0.891753 seconds and 4 git commands to generate.