]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/moxie/ChangeLog
sim: drop unused SIM_AC_OPTION_PACKAGES
[thirdparty/binutils-gdb.git] / sim / moxie / ChangeLog
CommitLineData
e19418e0
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.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
8 * configure: Regenerate.
9
99d8e879
MF
102016-01-10 Mike Frysinger <vapier@gentoo.org>
11
12 * configure: Regenerate.
13
35656e95
MF
142016-01-10 Mike Frysinger <vapier@gentoo.org>
15
16 * configure: Regenerate.
17
347fe5bb
MF
182016-01-10 Mike Frysinger <vapier@gentoo.org>
19
20 * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
21 * configure: Regenerate.
22
0dc73ef7
MF
232016-01-10 Mike Frysinger <vapier@gentoo.org>
24
25 * configure: Regenerate.
26
22be3fbe
MF
272016-01-10 Mike Frysinger <vapier@gentoo.org>
28
29 * configure: Regenerate.
30 * Makefile.in (SIM_CFLAGS): Rename to ...
31 (SIM_EXTRA_CFLAGS): ... this.
32
936df756
MF
332016-01-09 Mike Frysinger <vapier@gentoo.org>
34
35 * config.in, configure: Regenerate.
36
2e3d4f4d
MF
372016-01-06 Mike Frysinger <vapier@gentoo.org>
38
39 * interp.c (sim_open): Mark argv const.
40 (sim_create_inferior): Mark argv and env const.
41
9bbf6f91
MF
422016-01-04 Mike Frysinger <vapier@gentoo.org>
43
44 * configure: Regenerate.
45
77cf2ef5
MF
462016-01-03 Mike Frysinger <vapier@gentoo.org>
47
48 * interp.c (sim_open): Update sim_parse_args comment.
49
0cb8d851
MF
502016-01-03 Mike Frysinger <vapier@gentoo.org>
51
52 * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
53 * configure: Regenerate.
54
1ac72f06
MF
552016-01-02 Mike Frysinger <vapier@gentoo.org>
56
57 * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
58 * configure: Regenerate.
59
e1211e55
MF
602015-12-30 Mike Frysinger <vapier@gentoo.org>
61
62 * wrapper.c (sim_store_register): Rename to ...
63 (moxie_reg_store): ... this.
64 (sim_fetch_register): Rename to ...
65 (moxie_reg_fetch): ... this.
66 (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
67
5e744ef8
MF
682015-12-27 Mike Frysinger <vapier@gentoo.org>
69
70 * Makefile.in (SIM_OBJS): Delete sim-hload.o.
71
1b393626
MF
722015-12-26 Mike Frysinger <vapier@gentoo.org>
73
74 * config.in, configure: Regenerate.
75
797eee42
MF
762015-11-15 Mike Frysinger <vapier@gentoo.org>
77
78 * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
79
6e4f085c
MF
802015-11-14 Mike Frysinger <vapier@gentoo.org>
81
82 * interp.c (sim_close): Delete.
83
7d8a636c
MF
842015-10-11 Mike Frysinger <vapier@gentoo.org>
85
86 PR sim/18273
87 * interp.c (load_dtb): Close open file in error path.
88
8d0978fb
MF
892015-06-23 Mike Frysinger <vapier@gentoo.org>
90
91 * configure: Regenerate.
92
a3487082
MF
932015-06-12 Mike Frysinger <vapier@gentoo.org>
94
95 * configure: Regenerate.
96
306f4178
MF
972015-06-12 Mike Frysinger <vapier@gentoo.org>
98
99 * configure: Regenerate.
100
0054dcd7
MF
1012015-06-12 Mike Frysinger <vapier@gentoo.org>
102
103 * interp.c (tracefile, tracing): Delete.
104 (MOXIE_TRACE_INSN): Call TRACE_INSN directly.
105
53d2389f
MF
1062015-06-12 Mike Frysinger <vapier@gentoo.org>
107
108 * interp.c (TRACE): Rename to ...
109 (MOXIE_TRACE_INSN): ... this.
110 (sim_engine_run): Change TRACE to MOXIE_TRACE_INSN.
111
20bca71d
MF
1122015-04-18 Mike Frysinger <vapier@gentoo.org>
113
114 * sim-main.h (SIM_CPU): Delete.
115
7e83aa92
MF
1162015-04-18 Mike Frysinger <vapier@gentoo.org>
117
118 * sim-main.h (sim_cia): Delete.
119
034685f9
MF
1202015-04-17 Mike Frysinger <vapier@gentoo.org>
121
122 * interp.c (wbat, wsat, wlat, rsat, rbat, rlat, sim_engine_run):
123 Change CIA_GET to CPU_PC_GET.
124 * sim-main.h (CIA_GET, CIA_SET): Delete.
125
4c0cab1e
MF
1262015-04-16 Mike Frysinger <vapier@gentoo.org>
127
128 * interp.c (moxie_pc_get, moxie_pc_set): New functions.
129 (sim_open): Declare new local var i. Call CPU_PC_FETCH &
130 CPU_PC_STORE for all cpus.
131 * sim-main.h (SIM_CPU): New typedef.
132
78e9aa70
MF
1332015-04-15 Mike Frysinger <vapier@gentoo.org>
134
135 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
136 * sim-main.h (STATE_CPU): Delete.
137
bf12d44e
MF
1382015-04-13 Mike Frysinger <vapier@gentoo.org>
139
140 * configure: Regenerate.
141
122bbfb5
MF
1422015-04-06 Mike Frysinger <vapier@gentoo.org>
143
144 * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
145
20cc9753
MF
1462015-04-05 Mike Frysinger <vapier@gentoo.org>
147
148 * Makefile.in (SIM_OBJS): Add sim-resume.o.
149 * interp.c (moxie_regset): Delete exception.
150 (sim_resume): Rename to ...
151 (sim_engine_run): ... this. Delete insts variable and references
152 to cpu.asregs.exception, and change most to sim_engine_halt. Move
153 trailing insts and PC_REGNO updates into the loop.
154 (load_dtb): Delete open warning. Change printf to sim_io_eprintf.
155
0fe84f3f
MF
1562015-04-01 Mike Frysinger <vapier@gentoo.org>
157
158 * sim-main.h (SIM_HAVE_BIENDIAN): Delete.
159
aadc9410
MF
1602015-03-31 Mike Frysinger <vapier@gentoo.org>
161
162 * config.in, configure: Regenerate.
163
1bf57e9a
MF
1642015-03-24 Mike Frysinger <vapier@gentoo.org>
165
166 * interp.c (moxie_extract_unsigned_integer): Mark static. Update
167 prototype. Change printf %d to %zu.
168 (moxie_store_unsigned_integer): Mark static. Update prototype.
169 (wbat, wsat, wlat, rsat, rbat, rlat): Move INLINE after static.
170 (convert_target_flags): Mark static.
171 (sim_resume): Update prototype. Move val decl above local code.
172 (sim_store_register, sim_fetch_register, sim_open, sim_close,
173 sim_create_inferior): Update prototype.
174
cc8ab1de
MF
1752015-03-24 Mike Frysinger <vapier@gentoo.org>
176
177 * configure: Regenerate.
178 * configure.ac: Call SIM_AC_OPTION_WARNINGS.
179 * interp.c: Delete gdb/callback.h include. Add sim-options.h include.
180 (callback, myname, sim_kind): Delete.
181 (tracefile, tracine, TRACE): Move code together and add a TODO.
182 (struct moxie_regset): Add a TODO.
183 (cpu): Likewise.
184 (callback, issue_messages, sim_size, sim_write, sim_read, sim_trace,
185 sim_stop_reason, sim_stop, sim_info, sim_load, sim_set_callbacks):
186 Delete.
187 (set_initial_gprs): Change prototype to (void).
188 (free_state): New function.
189 (sim_open): Call sim_cpu_alloc_all, sim_parse_args, and
190 sim_analyze_program. Move set_initial_gprs to the end. Set
191 STATE_WATCHPOINTS pc data. Delete callback, myname, and
192 issue_messages. Call free_state on error.
193 (sim_create_inferior): Delete references to issue_messages and
194 set_initial_gprs.
195 * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS): Delete.
196 (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
197 * sim-main.h (struct sim_state): Change cpu to a pointer array.
198 (STATE_CPU): Drop the &.
199
c4a6006b
MF
2002015-03-24 Mike Frysinger <vapier@gentoo.org>
201
202 * Makefile.in (SIM_OBJS): Add sim-command.o.
203 * interp.c (sim_do_command): Delete.
204
ae7d0cac
MF
2052015-03-16 Mike Frysinger <vapier@gentoo.org>
206
207 * config.in, configure: Regenerate.
208
41cc895f
MF
2092015-03-14 Mike Frysinger <vapier@gentoo.org>
210
211 * Makefile.in (SIM_EXTRA_CLEAN): Delete.
212 (all): Drop interp.o dependency.
213 (interp.o, mcore-clean): Delete rules.
214
465fb143
MF
2152015-03-14 Mike Frysinger <vapier@gentoo.org>
216
217 * Makefile.in (SIM_EXTRA_CFLAGS): Set to
218 -DSIM_USE_DEPRECATED_RUN_FRONTEND.
219 (SIM_RUN_OBJS): Set to run.o.
220
5cddc23a
MF
2212015-03-14 Mike Frysinger <vapier@gentoo.org>
222
223 * configure.ac (AC_CHECK_HEADERS): Delete.
224 * aclocal.m4, configure: Regenerate.
225
dc049bf4
MF
2262015-02-20 Mike Frysinger <vapier@gentoo.org>
227
228 * interp.c: Delete sysdep.h and netinet/in.h includes.
229 Include string.h and unistd.h.
230 * sysdep.h: Delete.
231
4c4ca605
MF
2322015-02-19 Mike Frysinger <vapier@gentoo.org>
233
234 * interp.c (sim_kill): Delete unused func.
235
507411cc
AG
2362014-12-27 Anthony Green <green@moxielogic.com>
237
238 * interp.c (EXTRACT_OFFSET): Define.
239 (sim_resume): ldo/sto instructions now use 16 bit offset instead
240 of 32. Also swap mul.x/umul.x opcodes (reversed by mistake).
241
67afb06e
AG
2422014-12-25 Anthony Green <green@moxielogic.com>
243
244 * interp.c (sim_resume): Whitespace changes to align with GDB
245 coding standard.
246
ed4fd7b7
AG
2472014-12-24 Anthony Green <green@moxielogic.com>
248
249 * interp.c (sim_resume): Add mul.x and umul.x instructions.
250
c784b115
AG
2512014-12-12 Anthony Green <green@moxielogic.com>
252
253 * interp.c (sim_resume): Add zex instructions.
254
2974be62
AM
2552014-08-19 Alan Modra <amodra@gmail.com>
256
257 * configure: Regenerate.
258
faa743bb
RM
2592014-08-15 Roland McGrath <mcgrathr@google.com>
260
261 * configure: Regenerate.
262 * config.in: Regenerate.
263
048ea174
AG
2642014-04-02 Anthony Green <green@moxielogic.com>
265
266 * interp.c (sim_resume): Add new sign-extend instructions.
267
60d847df
MF
2682014-03-10 Mike Frysinger <vapier@gentoo.org>
269
270 * interp.c (sim_do_command): Add const to cmd.
271
b2b255bd
MF
2722014-03-05 Mike Frysinger <vapier@gentoo.org>
273
274 * interp.c (sim_load): Add const to prog.
275
ef3e8cf7
MF
2762014-02-17 Mike Frysinger <vapier@gentoo.org>
277
278 PR gdb/16450
279 * interp.c (interrupt): Delete.
280 (sim_resume): Delete signal(SIGINT) handling.
281
bf3d9781
AM
2822013-09-23 Alan Modra <amodra@gmail.com>
283
284 * configure: Regenerate.
285
3cd8689b
TT
2862013-06-26 Tom Tromey <tromey@redhat.com>
287
288 * Makefile.in (dtbdir): Don't use gdb's version.in.
289
31e6ad7d
MF
2902013-06-03 Mike Frysinger <vapier@gentoo.org>
291
292 * aclocal.m4, configure: Regenerate.
293
9c9e1b26
AG
2942013-01-17 Anthony Green <green@moxielogic.com>
295
296 * interp.c (sim_open): Remove from debug output.
297
78ca4e81
AG
2982012-09-07 Anthony Green <green@moxielogic.com>
299
300 * interp.c (sim_resume): Branches are now relative to the
72f4393d 301 address of the instruction following the branch.
78ca4e81 302
a6c2b87e
MF
3032012-06-17 Mike Frysinger <vapier@gentoo.org>
304
305 * interp.c: Include config.h first. Also include fcntl.h directly.
306
5f3ef9d0
JB
3072012-06-15 Joel Brobecker <brobecker@adacore.com>
308
309 * config.in, configure: Regenerate.
310
2232061b
MF
3112012-03-24 Mike Frysinger <vapier@gentoo.org>
312
313 * aclocal.m4, config.in, configure: Regenerate.
314
db2e4d67
MF
3152011-12-03 Mike Frysinger <vapier@gentoo.org>
316
317 * aclocal.m4: New file.
318 * configure: Regenerate.
319
9c082ca8
MF
3202011-10-17 Mike Frysinger <vapier@gentoo.org>
321
322 * configure.ac: Change include to common/acinclude.m4.
323
6ffe910a
MF
3242011-10-17 Mike Frysinger <vapier@gentoo.org>
325
326 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
327 call. Replace common.m4 include with SIM_AC_COMMON.
328 * configure: Regenerate.
329
5558e7e6
MF
3302010-04-14 Mike Frysinger <vapier@gentoo.org>
331
332 * interp.c (sim_write): Add const to buffer arg.
333
bc56c8fa
JK
3342010-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
335
336 * interp.c (sim_create_inferior): Fix crashes on zero PROG_BFD or ARGV.
337
32d49b7b
AG
3382010-02-03 Anthony Green <green@moxielogic.com>
339
340 * interp.c (sim_resume): nop is 0x0f, and 0x00 is an illegal
341 instruction.
342
11db68fd
AG
3432010-01-13 Anthony Green <green@moxielogic.com>
344
345 * interp.c (sim_open): Add period to end of sentence in comment.
346
b8dcd182
AG
3472010-01-13 Anthony Green <green@moxielogic.com>
348
349 * interp.c (sim_open): Initialize the SIM_DESC object properly
350 with sim_config() and sim_post_argv_init().
351
3725885a
RW
3522010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
353
354 * configure: Regenerate.
355
5c27d164
AG
3562009-09-10 Anthony Green <green@moxielogic.com>
357
358 * Makefile.in (install-dtb): New target.
359 (moxie-gdb.dtb): New target.
360 (SIM_CFLAGS): Define DTB macro on command line.
361 (SIM_OBJS): Use common infrastructire.
362 (dtbdir): Define install location for dtb file.
363
364 * sim-main.h: New file.
365 * moxie-gdb.dts: New file.
366 * configure.ac: Check for dtc. Install dtb file. Remove some old
367 cruft.
368 * configure: Regenerate.
369 * interp.c: Many changes to use common memory infrastructure.
370 (load_dtb): New function.
371 (sim_create_inferior): Call it.
372
d6416cdc
RW
3732009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
374
81ecdfbb
RW
375 * config.in: Regenerate.
376 * configure: Likewise.
377
d6416cdc
RW
378 * configure: Regenerate.
379
7a321525
AG
3802009-07-31 Anthony Green <green@moxielogic.com>
381
382 * interp.c: Increase simulated memory to 16MB.
383 (sim_resume): Tweak swi system calls to support new ABI (up to 5
384 args in regs). Also simluate proper exception processing for
385 Linux system calls.
386
3872009-07-30 Anthony Green <green@moxielogic.com>
388
389 * interp.c (sim_resume): Add system call software interrupt support.
390
86566200
AG
3912009-06-11 Anthony Green <green@moxielogic.com>
392
393 * interp.c (INST2OFFSET): Define.
394 (sim_resume): Support new PC relative branch instructions.
395
77176dfc
AG
3962009-05-09 Anthony Green <green@moxielogic.com>
397
398 * interp.c (sim_resume): Add missing breaks in switch.
399
fdd6fa61
AG
4002008-10-03 Anthony Green <green@moxielogic.com>
401
402 * interp.c (sim_resume): Add support for ldo.b, sto.b, ldo.s, sto.s.
403
4042008-09-10 Anthony Green <green@moxielogic.com>
405
406 * interp.c (NUM_SPRO_SREGS): New.
407 (struct moxie_regset): Add sregs.
408 (set_initial_gprs): Initialize sregs.
409 (sim_resume): Add gsr and ssr support.
410
4112008-09-04 Anthony Green <green@moxielogic.com>
412
413 * interp.c (sim_resume): Add inc and dec instructions.
414
4152008-09-04 Anthony Green <green@moxielogic.com>
416
417 * interp.c (struct moxie_regset): Use an unsigned long long to keep
418 track of instruction trace counts.
419 * interp.c (sim_resume): Ditto.
420 (sim_info): Ditto.
421
4222008-08-22 Anthony Green <green@moxielogic.com>
423
424 * interp.c (sim_resume): Remove debugging code.
425
4262008-08-20 Anthony Green <green@moxielogic.com>
427
428 * interp.c (TRACE): Add new tracing infrastructure.
429 (sim_resume): Use it.
430 (reg_names): Add new registers.
431 (NUM_MOXIE_REGS): New registers.
432 (PC_REGNO): New registers.
433 (sim_resume): New instruction encodings.
434
4352008-08-16 Anthony Green <green@moxielogic.com>
436
437 * interp.c (sim_resume): Add SYS_read, and fix SYS_open and SYS_write.
438 (convert_target_flags): New function.
439
4402008-08-08 Anthony Green <green@moxielogic.com>
441
442 * interp.c (sim_resume): Add SYS_open and SYS_write system call support.
443
4442008-08-04 Anthony Green <green@moxielogic.com>
445
446 * Makefile.in (SIM_EXTRA_LIBS): Add -lz.
447
4482008-08-04 Anthony Green <green@moxielogic.com>
449
450 * interp.c (sim_create_inferior): Set argc & argv in the target.
451
4522008-04-12 Anthony Green <green@moxielogic.com>
453
454 * interp.c (sim_resume): Add brk.
455
4562008-04-10 Anthony Green <green@moxielogic.com>
457
458 * interp.c (sim_resume): Add static chain pointer to call frame.
459
4602008-03-24 Anthony Green <green@moxielogic.com>
461
462 * interp.c (sim_resume): Add missing breaks.
463 (sim_resume): Fix neg implementation.
464
4652008-03-23 Anthony Green <green@moxielogic.com>
466
467 * interp.c (sim_load): Don't require a .bss section.
468
4692008-03-21 Anthony Green <green@moxielogic.com>
470
471 * interp.c (sim_resume): Add swi, and, lshr, ashl, sub.l, neg, or,
472 not, ashr, xor.
473
4742008-03-20 Anthony Green <green@moxielogic.com>
475
476 * interp.c (struct moxie_regset): Add condition code, cc.
477 (CC_GT, CC_LT, CC_EQ, CC_GTU, CC_LTU): Define.
478 (sim_resume): Add jmpa, jsr, cmp, beq, bne, blt, bgt, bltu, bgtu,
479 bge, ble, bgeu, and bleu.
480 (rbat, rsat, wbat, wsat): New functions.
481 (sim_resume): Add ld.b, lda.b, ldi.b, ld.s, lda.s, ldi.s, st.b,
482 sta.b, st.s, sta.s, jmp.
483
4842008-03-19 Anthony Green <green@moxielogic.com>
485
486 * interp.c (sim_resume): Add ld.l, st.l, lda.l, sta.l.
487 jsra should set $fp == $sp.
488 Fix jsra and ret semantics.
489
4902008-03-18 Anthony Green <green@moxielogic.com>
491
492 * interp.c (sim_resume): Add push, pop and add.l.
493
4942008-03-16 Anthony Green <green@moxielogic.com>
495
496 * interp.c (EXTRACT_WORD): Define.
497 (rlat): Use EXTRACT_WORD.
498 (sim_resume): Add jsra and ret.
499
5002008-02-22 Anthony Green <green@moxielogic.com>
501
502 * interp.c (reg_names): Define.
503 (sim_resume): Use reg_names.
504
5052008-02-21 Anthony Green <green@moxielogic.com>
506
507 * config.in, configure, configure.ac, interp.c, Makefile.in,
508 sysdep.h: Created.