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