1 2021-06-22 Mike Frysinger <vapier@gentoo.org>
3 * Makefile.in (SIM_EXTRA_CFLAGS): Change to
4 @SIM_RX_CYCLE_ACCURATE_FLAGS@.
5 * configure.ac: Delete most content. Moved sim-rx-cycle-accurate
7 * acinclude.m4: ... here.
11 2021-06-22 Mike Frysinger <vapier@gentoo.org>
13 * configure: Regenerate.
15 2021-06-21 Mike Frysinger <vapier@gentoo.org>
17 * aclocal.m4: Regenerate.
18 * configure: Regenerate.
20 2021-06-21 Mike Frysinger <vapier@gentoo.org>
22 * configure: Regenerate.
24 2021-06-20 Mike Frysinger <vapier@gentoo.org>
26 * Makefile.in: Rename sim_cycle_accurate_flags to
27 sim_rx_cycle_accurate_flags.
28 * configure.ac: Likewise.
29 * configure: Regenerate.
31 2021-06-20 Mike Frysinger <vapier@gentoo.org>
33 * configure.ac (SIM_AC_COMMON): Delete.
34 * aclocal.m4, configure: Regenerate.
36 2021-06-20 Mike Frysinger <vapier@gentoo.org>
38 * aclocal.m4: Regenerate.
39 * configure: Regenerate.
41 2021-06-19 Mike Frysinger <vapier@gentoo.org>
43 * aclocal.m4: Regenerate.
44 * configure: Regenerate.
46 2021-06-19 Mike Frysinger <vapier@gentoo.org>
48 * configure: Regenerate.
50 2021-06-18 Mike Frysinger <vapier@gentoo.org>
52 * aclocal.m4, configure: Regenerate.
54 2021-06-18 Mike Frysinger <vapier@gentoo.org>
56 * configure: Regenerate.
58 2021-06-17 Mike Frysinger <vapier@gentoo.org>
60 * configure: Regenerate.
62 2021-06-16 Mike Frysinger <vapier@gentoo.org>
64 * configure: Regenerate.
66 2021-06-16 Mike Frysinger <vapier@gentoo.org>
68 * configure: Regenerate.
71 2021-06-15 Mike Frysinger <vapier@gentoo.org>
73 * config.in, configure: Regenerate.
75 2021-06-13 Mike Frysinger <vapier@gentoo.org>
77 * Makefile.in (SIM_EXTRA_CFLAGS): Set to @sim_cycle_accurate_flags@.
78 * configure.ac: Move CYCLE_ACCURATE define from AC_DEFINE to
80 * config.in, configure: Regenerate.
82 2021-06-12 Mike Frysinger <vapier@gentoo.org>
84 * README.txt: Change cycle-stats to sim-profile.
85 * configure.ac: Delete cycle-stats.
86 * mem.c: Change CYCLE_STATS to WITH_PROFILE
88 * config.in, configure: Regenerate.
90 2021-06-12 Mike Frysinger <vapier@gentoo.org>
92 * aclocal.m4, config.in, configure: Regenerate.
94 2021-06-12 Mike Frysinger <vapier@gentoo.org>
96 * config.in, configure: Regenerate.
98 2021-05-16 Mike Frysinger <vapier@gentoo.org>
100 * err.c: Include defs.h.
101 * fpu.c, gdb-if.c, load.c, main.c, mem.c, misc.c, reg.c, rx.c,
102 syscalls.c, trace.c: Replace config.h include with defs.h.
104 2021-05-16 Mike Frysinger <vapier@gentoo.org>
106 * config.in, configure: Regenerate.
108 2021-05-14 Mike Frysinger <vapier@gentoo.org>
110 * gdb-if.c: Update include path.
112 * syscalls.c: Likewise.
114 2021-05-05 Mike Frysinger <vapier@gentoo.org>
116 * gdb-if.c: Include libiberty.h.
117 (sim_do_command): Rewrite to use buildargv.
119 2021-05-04 Mike Frysinger <vapier@gentoo.org>
121 * configure: Regenerate.
123 2021-05-04 Mike Frysinger <vapier@gentoo.org>
125 * load.c (rx_load): Use BFD_VMA_FMT and drop casts.
127 2021-05-03 Simon Marchi <simon.marchi@polymtl.ca>
129 * trace.c (op_printf): Likewise.
131 2021-05-01 Mike Frysinger <vapier@gentoo.org>
133 * config.in, configure: Regenerate.
135 2021-05-01 Mike Frysinger <vapier@gentoo.org>
137 * load.c (rx_load): Cast size to long.
139 2021-04-26 Mike Frysinger <vapier@gentoo.org>
141 * Makefile.in (NL_TARGET): Delete.
143 2021-04-26 Mike Frysinger <vapier@gentoo.org>
145 * aclocal.m4, config.in, configure: Regenerate.
147 2021-04-22 Tom Tromey <tom@tromey.com>
149 * configure, config.in: Rebuild.
151 2021-04-22 Tom Tromey <tom@tromey.com>
153 * Makefile.in (LIBS): Remove.
155 2021-04-22 Tom Tromey <tom@tromey.com>
157 * Makefile.in (err.o, fpu.o, gdb-if.o, load.o, main.o, mem.o)
158 (misc.o, reg.o, rx.o, syscalls.o, trace.o): Remove.
160 2021-04-22 Tom Tromey <tom@tromey.com>
162 * configure: Rebuild.
164 2021-04-21 Mike Frysinger <vapier@gentoo.org>
166 * aclocal.m4: Regenerate.
168 2021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
170 * configure: Regenerate.
172 2021-04-20 Mike Frysinger <vapier@gentoo.org>
174 * configure.ac: Delete AC_CHECK_HEADERS_ONCE.
175 * main.c: Delete HAVE_GETOPT_H.
176 * config.in, configure: Regenerate.
178 2021-04-18 Mike Frysinger <vapier@gentoo.org>
180 * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE.
181 * configure: Regenerate.
183 2021-04-18 Mike Frysinger <vapier@gentoo.org>
185 * Makefile.in (NL_TARGET): Define.
186 (syscalls.o): Delete syscall.h.
187 * syscalls.c: Change syscall.h include to targ-vals.h.
188 (rx_syscall): Add TARGET_ prefix to all SYS_ constants.
189 * syscall.h: Removed.
191 2021-04-18 Mike Frysinger <vapier@gentoo.org>
193 * configure: Regenerate.
195 2021-04-09 Luis Machado <luis.machado@linaro.org>
197 * fpu.c (rxfp_itof): Initialize structure.
199 2021-04-02 Mike Frysinger <vapier@gentoo.org>
201 * aclocal.m4, configure: Regenerate.
203 2021-02-28 Mike Frysinger <vapier@gentoo.org>
205 * configure: Regenerate.
207 2021-02-21 Mike Frysinger <vapier@gentoo.org>
209 * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
210 * aclocal.m4, configure: Regenerate.
212 2021-02-13 Mike Frysinger <vapier@gentoo.org>
214 * trace.c (load_file_and_line): Use fread return value to index
217 2021-02-13 Mike Frysinger <vapier@gentoo.org>
219 * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
220 * aclocal.m4, configure: Regenerate.
222 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
224 * configure: Regenerate.
225 * configure.ac (SIM_AC_OPTION_WARNINGS): Delete call.
227 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
229 * mem.c (mem_put_blk): Rename parameter, add cast from parameter
230 type to local type. Remove cast later in the function.
231 (mem_get_blk): Likewise.
232 * mem.h (mem_put_blk): Rename parameter to match definition.
233 (mem_get_blk): Likewise.
235 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
237 * load.c: Replace 'elf/internal.h' and 'elf/common.h' includes
238 with 'elf-bfd.h' include.
239 * trace.c: Add 'trace.h' include.
241 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
243 * reg.c (trace_register_changes): Use PRIx64 in printf format
246 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
248 * syscalls.c (rx_syscall): Move declaration of some variables to
249 the start of the enclosing block.
250 * trace.c (load_file_and_line): Likewise.
252 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
254 * reg.c (fpsw2str): Provide a format string to printf.
255 (trace_register_changes): Likewise.
257 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
259 * err.c (execution_error_exit_all): Delete.
261 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
263 * fpu.c (check_exceptions): Make static.
264 * gdb-if.c (handle_step): Likewise.
265 * mem.c (mem_put_byte): Likewise.
267 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
269 * cpu.h (trace_register_changes): Add void parameter type.
270 * err.c (ee_overrides): Likewise.
271 * mem.c (mem_usage_stats): Likewise.
273 * reg.c (stack_heap_stats): Likewise.
274 * rx.c (pop): Likewise.
276 (decode_opcode): Likewise.
277 * syscalls.c (arg): Likewise.
279 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
281 * gdb-if.c (sim_do_command): Work with a copy of the command.
283 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
285 * gdb-if.c (sim_memory_map): New function.
287 2021-02-06 Mike Frysinger <vapier@gentoo.org>
289 * configure: Regenerate.
291 2021-01-11 Mike Frysinger <vapier@gentoo.org>
293 * configure.ac: Call SIM_AC_OPTION_WARNINGS.
294 * configure: Regenerate.
296 2021-01-11 Mike Frysinger <vapier@gentoo.org>
298 * config.in, configure: Regenerate.
299 * main.c: Delete HAVE_STDLIB_H.
301 2021-01-09 Mike Frysinger <vapier@gentoo.org>
303 * configure: Regenerate.
305 2021-01-08 Mike Frysinger <vapier@gentoo.org>
307 * configure: Regenerate.
309 2021-01-04 Mike Frysinger <vapier@gentoo.org>
311 * configure: Regenerate.
313 2017-09-06 John Baldwin <jhb@FreeBSD.org>
315 * configure: Regenerate.
317 2017-02-13 Mike Frysinger <vapier@gentoo.org>
319 * rx.c: Include libiberty.h.
320 (N_RXO, N_RXT): Use ARRAY_SIZE.
322 2016-07-27 Alan Modra <amodra@gmail.com>
324 * load.c: Don't include libbfd.h.
325 (rx_load): Don't use private iovec seek or read.
327 2016-04-27 Nick Clifton <nickc@redhat.com>
330 * fpu.c (check_exceptions): Fix typo checking for signalling
333 2016-01-10 Mike Frysinger <vapier@gentoo.org>
335 * config.in, configure: Regenerate.
337 2016-01-10 Mike Frysinger <vapier@gentoo.org>
339 * configure: Regenerate.
341 2016-01-10 Mike Frysinger <vapier@gentoo.org>
343 * configure: Regenerate.
345 2016-01-10 Mike Frysinger <vapier@gentoo.org>
347 * configure: Regenerate.
349 2016-01-10 Mike Frysinger <vapier@gentoo.org>
351 * configure: Regenerate.
353 2016-01-10 Mike Frysinger <vapier@gentoo.org>
355 * configure: Regenerate.
357 2016-01-10 Mike Frysinger <vapier@gentoo.org>
359 * configure: Regenerate.
361 2016-01-10 Mike Frysinger <vapier@gentoo.org>
363 * configure: Regenerate.
365 2016-01-09 Mike Frysinger <vapier@gentoo.org>
367 * config.in, configure: Regenerate.
369 2016-01-06 Mike Frysinger <vapier@gentoo.org>
371 * gdb-if.c (sim_open): Mark argv const.
372 (sim_create_inferior): Mark argv and env const.
374 2016-01-04 Mike Frysinger <vapier@gentoo.org>
376 * configure: Regenerate.
378 2016-01-03 Mike Frysinger <vapier@gentoo.org>
380 * config.in, configure: Regenerate.
382 2015-12-26 Mike Frysinger <vapier@gentoo.org>
384 * config.in, configure: Regenerate.
386 2015-11-10 Nick Clifton <nickc@redhat.com>
388 * rx.c (id_names): Add nop4, nop5, nop6 and nop7.
389 (decode_opcode): Likewise.
390 (get_op): Handle RX_Operand_Zero_Indirect.
391 Handle RX_Bad_Size and RX_MAX_SIZE.
393 (N_MAP): Increase to 90.
395 2015-06-23 Mike Frysinger <vapier@gentoo.org>
397 * configure.ac (AC_ARG_ENABLE(cycle-accurate)): Call AS_HELP_STRING.
398 (AC_ARG_ENABLE(cycle-stats)): Likewise.
399 * configure: Regenerate.
401 2015-06-12 Mike Frysinger <vapier@gentoo.org>
403 * configure: Regenerate.
405 2015-06-12 Mike Frysinger <vapier@gentoo.org>
407 * configure: Regenerate.
409 2015-04-24 Nick Clifton <nickc@redhat.com>
412 * reg.c (put_reg): Fix check for valid register number.
414 2015-04-13 Mike Frysinger <vapier@gentoo.org>
416 * configure: Regenerate.
418 2015-03-31 Mike Frysinger <vapier@gentoo.org>
420 * config.in, configure: Regenerate.
422 2015-03-16 Mike Frysinger <vapier@gentoo.org>
424 * aclocal.m4, config.in, configure: Regenerate.
426 2015-12-15 Joel Brobecker <brobecker@adacore.com>
428 * gdb-if.c (open): Rename to...
429 (rx_sim_is_open): This. Replace all uses of "open" by uses of
430 "rx_sim_is_open" throughout.
432 2014-08-19 Alan Modra <amodra@gmail.com>
434 * configure: Regenerate.
436 2014-08-15 Roland McGrath <mcgrathr@google.com>
438 * configure: Regenerate.
439 * config.in: Regenerate.
441 2014-03-10 Mike Frysinger <vapier@gentoo.org>
443 * gdb-if.c (sim_do_command): Add const to cmd. Move args
444 to top and add const. Call strdup on cmd and free at end.
446 2014-03-05 Mike Frysinger <vapier@gentoo.org>
448 * gdb-if.c (sim_load): Add const to prog.
450 2014-02-17 Kevin Buettner <kevinb@redhat.com>
452 * gdb-if.c (rx_signal_to_host): Rename to
453 `rx_signal_to_gdb_signal'. Make static. Update all callers
454 to use new name. Use signal names from include/gdb/signals.h.
456 2013-09-23 Alan Modra <amodra@gmail.com>
458 * configure: Regenerate.
460 2013-06-25 Nick Clifton <nickc@redhat.com>
462 * rx.c (SHIFT_OP): A shift by zero still sets the condition
465 2013-06-03 Mike Frysinger <vapier@gentoo.org>
467 * aclocal.m4, configure: Regenerate.
469 2013-01-16 Nick Clifton <nickc@redhat.com>
471 * rx.c (decode_opcode): Handle RXO_satr.
473 2012-06-15 Joel Brobecker <brobecker@adacore.com>
475 * config.in, configure: Regenerate.
477 2012-05-24 Pedro Alves <palves@redhat.com>
481 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
483 2012-03-24 Mike Frysinger <vapier@gentoo.org>
485 * aclocal.m4, config.in, configure: Regenerate.
487 2012-03-22 Mike Frysinger <vapier@gentoo.org>
489 * configure.ac (CYCLE_ACCURATE): Add template with AC_DEFINE call.
490 (CYCLE_STATS): Likewise.
492 2012-03-02 Kevin Buettner <kevinb@redhat.com>
494 * load.h (rx_load): Add `callback' parameter to function prototype.
495 (gdb/callback.h): Include.
496 * load.c (load.h): Include.
497 (xprintf, find_section_name_by_offset): New functions.
498 (rx_load): Add `callback' parameter. Add code for printing
499 section loaded using GDB's printf facilities.
500 * gdb-if.c (sim_load, sim_create_inferior): Update calls to
502 * main.c (main): Likewise.
503 * syscalls.c, syscalls.h (get_callbacks): New function.
505 2011-12-03 Mike Frysinger <vapier@gentoo.org>
507 * aclocal.m4: New file.
508 * configure: Regenerate.
510 2011-10-17 Mike Frysinger <vapier@gentoo.org>
512 * configure.ac: Change include to common/acinclude.m4.
514 2011-10-17 Mike Frysinger <vapier@gentoo.org>
516 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
517 call. Replace common.m4 include with SIM_AC_COMMON.
518 * configure: Regenerate.
520 2011-07-11 Mike Frysinger <vapier@gentoo.org>
522 * configure.ac: Rename from configure.in.
524 2011-07-11 Mike Frysinger <vapier@gentoo.org>
526 * configure.in: Add "dnl" before copyright notice.
528 2011-04-16 Mike Frysinger <vapier@gentoo.org>
530 * gdb-if.c (sim_complete_command): New stub function.
532 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
534 * gdb-if.c (sim_store_register): Update return value to
537 2010-12-14 DJ Delorie <dj@redhat.com>
539 * rx.c (decode_opcode): For "MVFC PC,", use the address of the
540 opcode, not the address following the opcode.
541 (decode_opcode): RXO_branchrel is relative to the opcode's PC, not
542 the address following the opcode.
544 2010-11-11 DJ Delorie <dj@redhat.com>
546 * rx.c (lsb_count): New.
549 (decode_opcode): Fix cycle count math for div, divu, suntil, and
552 2010-09-29 Kevin Buettner <kevinb@redhat.com>
554 * mem.c (rx_mem_ptr): When invalidating the decode cache, account
555 for the fact that the instruction decoder never uses swapped
558 2010-09-29 Nick Clifton <nickc@redhat.com>
560 * rx.c (decode_opcode: RXO_int): Only break out of the emulation
561 loop if rx_syscall() does not return a RX_STEPPED result.
563 2010-09-23 Kevin Buettner <kevinb@redhat.com>
565 * rx.c (decode_opcode): Add cycle information for RXO_smovu.
567 2010-09-23 Kevin Buettner <kevinb@redhat.com>
569 * fpu.c, gdb-if.c, load.c, misc.c, syscalls.c (config.h): Include.
571 * rx.c (decode_opcode): Declare `tx' as unsigned.
573 * cpu.h (reset_decoder): Declare.
574 * load.c (rx_load): Call `reset_decoder'.
575 * rx.c (reset_decoder): New function.
577 2010-07-29 DJ Delorie <dj@redhat.com>
579 * rx.c (decode_cache_base): New.
580 (id_names): Remove ediv and edivu.
581 (optype_names): Add TwoReg.
582 (maybe_get_mem_page): New.
583 (rx_get_byte): Call it.
584 (get_op): Add TwoReg support.
586 (PD, PS, PS2, GD, GS, GS2, DSZ, SSZ, S2SZ, US1, US2, OM): "opcode"
588 (DO_RETURN): New. We use longjmp to return an exception result.
589 (decode_opcode): Make opcode a pointer to the decode cache. Save
590 decoded opcode information and re-use. Call DO_RETURN instead of
591 return throughout. Remove ediv and edivu.
592 * mem.c (ptdc): New. Adds decode cache.
593 (rx_mem_ptr): Support it.
594 (rx_mem_decode_cache): New.
595 * mem.h (enum mem_ptr_action): add MPA_DECODE_CACHE.
596 (rx_mem_decode_cache): Declare.
597 * gdb-if.c (sim_resume): Add decode_opcode's setjmp logic here...
598 * main.c (main): ...and here. Use a fast loop if neither trace
599 nor disassemble is given.
600 * cpu.h (RX_MAKE_STEPPED, RX_MAKE_HIT_BREAK, RX_MAKE_EXITED,
601 RX_MAKE_STOPPED, RX_EXITED, RX_STOPPED): Adjust so that 0 is not a
602 valid code for anything.
604 2010-07-27 DJ Delorie <dj@redhat.com>
607 * config.h (CYCLE_ACCURATE, CYCLE_STATS): New.
608 * configure.in (--enable-cycle-accurate, --enable-cycle-stats):
609 New. Default to enabled.
610 * configure: Regenerate.
612 * cpu.h (regs_type): Add cycle tracking info.
613 (reset_pipeline_stats): Declare.
614 (halt_pipeline_stats): Declare.
615 (pipeline_stats): Declare.
616 * main.c (done): Call pipeline_stats().
617 * mem.h (rx_mem_ptr): Moved to here ...
618 * mem.c (mem_ptr): ... from here. Rename throughout.
619 (mem_put_byte): Move LEDs to Port A. Add Port B to control cycle
620 statistics. Move UART to SCI4.
621 (mem_put_hi): Add TPU 1-2. TPU 1 and 2 count CPU cycles.
622 * reg.c (init_regs): Set Rt reg to -1 (no reg).
623 * rx.c: Add cycle counting and statistics throughout.
624 (rx_get_byte): Optimize for speed.
625 (decode_opcode): Likewise.
626 (reset_pipeline_stats): New.
627 (halt_pipeline_stats): New.
628 (pipeline_stats): New.
629 * trace.c (sim_disasm_one): Print cycle count.
631 2010-07-07 Kevin Buettner <kevinb@redhat.com>
633 * gdb-if.c (sim_store_register): Add case for sim_rx_acc_regnum.
635 2010-06-24 Kevin Buettner <kevinb@redhat.com>
637 * gdb-if.c (trace.h): Include.
638 (reg_size, sim_fetch_register): Add cases for sim_rx_acc_regnum.
640 2010-06-07 Nick Clifton <nickc@redhat.com>
642 * reg.c (set_oszc): Use unsigned int for the mask.
643 (set_szc, set_osz, set_sz): Likewise.
645 2010-05-28 Kevin Buettner <kevinb@redhat.com>
647 * gdb-if.c (sim_do_command): Add a "sim verbose noisy" command.
649 2010-04-14 Mike Frysinger <vapier@gentoo.org>
651 * gdb-if.c (sim_write): Add const to buf arg.
653 2010-01-30 Masaki Muranaka <monaka@monami-software.com>
655 * configure.in: Check if the host has getopt.h.
656 * configure: Regenerate.
657 * config.in: Regenerate.
658 * main.c: Include config.h.
659 Use HAVE_STDLIB_H, HAVE_UNISTD_H, HAVE_GETOPT_H.
660 Include getopt.h in case HAVE_GETOPT_H is defined.
662 2009-12-22 Yoshinori Sato <ysato@users.sourceforge.jp>
664 * rx/rx.c (decode_opcode): btst bit address mask fix.
666 2009-11-30 DJ Delorie <dj@redhat.com>
668 * rx/rx.c (decode_opcode): fix SWHILE logic.
670 2009-10-27 DJ Delorie <dj@redhat.com>
671 Kevin Buettner <kevinb@redhat.com>