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