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