1 2012-03-02 Kevin Buettner <kevinb@redhat.com>
3 * load.h (rx_load): Add `callback' parameter to function prototype.
4 (gdb/callback.h): Include.
5 * load.c (load.h): Include.
6 (xprintf, find_section_name_by_offset): New functions.
7 (rx_load): Add `callback' parameter. Add code for printing
8 section loaded using GDB's printf facilities.
9 * gdb-if.c (sim_load, sim_create_inferior): Update calls to
11 * main.c (main): Likewise.
12 * syscalls.c, syscalls.h (get_callbacks): New function.
14 2011-12-03 Mike Frysinger <vapier@gentoo.org>
16 * aclocal.m4: New file.
17 * configure: Regenerate.
19 2011-10-17 Mike Frysinger <vapier@gentoo.org>
21 * configure.ac: Change include to common/acinclude.m4.
23 2011-10-17 Mike Frysinger <vapier@gentoo.org>
25 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
26 call. Replace common.m4 include with SIM_AC_COMMON.
27 * configure: Regenerate.
29 2011-07-11 Mike Frysinger <vapier@gentoo.org>
31 * configure.ac: Rename from configure.in.
33 2011-07-11 Mike Frysinger <vapier@gentoo.org>
35 * configure.in: Add "dnl" before copyright notice.
37 2011-04-16 Mike Frysinger <vapier@gentoo.org>
39 * gdb-if.c (sim_complete_command): New stub function.
41 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
43 * gdb-if.c (sim_store_register): Update return value to
46 2010-12-14 DJ Delorie <dj@redhat.com>
48 * rx.c (decode_opcode): For "MVFC PC,", use the address of the
49 opcode, not the address following the opcode.
50 (decode_opcode): RXO_branchrel is relative to the opcode's PC, not
51 the address following the opcode.
53 2010-11-11 DJ Delorie <dj@redhat.com>
55 * rx.c (lsb_count): New.
58 (decode_opcode): Fix cycle count math for div, divu, suntil, and
61 2010-09-29 Kevin Buettner <kevinb@redhat.com>
63 * mem.c (rx_mem_ptr): When invalidating the decode cache, account
64 for the fact that the instruction decoder never uses swapped
67 2010-09-29 Nick Clifton <nickc@redhat.com>
69 * rx.c (decode_opcode: RXO_int): Only break out of the emulation
70 loop if rx_syscall() does not return a RX_STEPPED result.
72 2010-09-23 Kevin Buettner <kevinb@redhat.com>
74 * rx.c (decode_opcode): Add cycle information for RXO_smovu.
76 2010-09-23 Kevin Buettner <kevinb@redhat.com>
78 * fpu.c, gdb-if.c, load.c, misc.c, syscalls.c (config.h): Include.
80 * rx.c (decode_opcode): Declare `tx' as unsigned.
82 * cpu.h (reset_decoder): Declare.
83 * load.c (rx_load): Call `reset_decoder'.
84 * rx.c (reset_decoder): New function.
86 2010-07-29 DJ Delorie <dj@redhat.com>
88 * rx.c (decode_cache_base): New.
89 (id_names): Remove ediv and edivu.
90 (optype_names): Add TwoReg.
91 (maybe_get_mem_page): New.
92 (rx_get_byte): Call it.
93 (get_op): Add TwoReg support.
95 (PD, PS, PS2, GD, GS, GS2, DSZ, SSZ, S2SZ, US1, US2, OM): "opcode"
97 (DO_RETURN): New. We use longjmp to return an exception result.
98 (decode_opcode): Make opcode a pointer to the decode cache. Save
99 decoded opcode information and re-use. Call DO_RETURN instead of
100 return throughout. Remove ediv and edivu.
101 * mem.c (ptdc): New. Adds decode cache.
102 (rx_mem_ptr): Support it.
103 (rx_mem_decode_cache): New.
104 * mem.h (enum mem_ptr_action): add MPA_DECODE_CACHE.
105 (rx_mem_decode_cache): Declare.
106 * gdb-if.c (sim_resume): Add decode_opcode's setjmp logic here...
107 * main.c (main): ...and here. Use a fast loop if neither trace
108 nor disassemble is given.
109 * cpu.h (RX_MAKE_STEPPED, RX_MAKE_HIT_BREAK, RX_MAKE_EXITED,
110 RX_MAKE_STOPPED, RX_EXITED, RX_STOPPED): Adjust so that 0 is not a
111 valid code for anything.
113 2010-07-27 DJ Delorie <dj@redhat.com>
116 * config.h (CYCLE_ACCURATE, CYCLE_STATS): New.
117 * configure.in (--enable-cycle-accurate, --enable-cycle-stats):
118 New. Default to enabled.
119 * configure: Regenerate.
121 * cpu.h (regs_type): Add cycle tracking info.
122 (reset_pipeline_stats): Declare.
123 (halt_pipeline_stats): Declare.
124 (pipeline_stats): Declare.
125 * main.c (done): Call pipeline_stats().
126 * mem.h (rx_mem_ptr): Moved to here ...
127 * mem.c (mem_ptr): ... from here. Rename throughout.
128 (mem_put_byte): Move LEDs to Port A. Add Port B to control cycle
129 statistics. Move UART to SCI4.
130 (mem_put_hi): Add TPU 1-2. TPU 1 and 2 count CPU cycles.
131 * reg.c (init_regs): Set Rt reg to -1 (no reg).
132 * rx.c: Add cycle counting and statistics throughout.
133 (rx_get_byte): Optimize for speed.
134 (decode_opcode): Likewise.
135 (reset_pipeline_stats): New.
136 (halt_pipeline_stats): New.
137 (pipeline_stats): New.
138 * trace.c (sim_disasm_one): Print cycle count.
140 2010-07-07 Kevin Buettner <kevinb@redhat.com>
142 * gdb-if.c (sim_store_register): Add case for sim_rx_acc_regnum.
144 2010-06-24 Kevin Buettner <kevinb@redhat.com>
146 * gdb-if.c (trace.h): Include.
147 (reg_size, sim_fetch_register): Add cases for sim_rx_acc_regnum.
149 2010-06-07 Nick Clifton <nickc@redhat.com>
151 * reg.c (set_oszc): Use unsigned int for the mask.
152 (set_szc, set_osz, set_sz): Likewise.
154 2010-05-28 Kevin Buettner <kevinb@redhat.com>
156 * gdb-if.c (sim_do_command): Add a "sim verbose noisy" command.
158 2010-04-14 Mike Frysinger <vapier@gentoo.org>
160 * gdb-if.c (sim_write): Add const to buf arg.
162 2010-01-30 Masaki Muranaka <monaka@monami-software.com>
164 * configure.in: Check if the host has getopt.h.
165 * configure: Regenerate.
166 * config.in: Regenerate.
167 * main.c: Include config.h.
168 Use HAVE_STDLIB_H, HAVE_UNISTD_H, HAVE_GETOPT_H.
169 Include getopt.h in case HAVE_GETOPT_H is defined.
171 2009-12-22 Yoshinori Sato <ysato@users.sourceforge.jp>
173 * rx/rx.c (decode_opcode): btst bit address mask fix.
175 2009-11-30 DJ Delorie <dj@redhat.com>
177 * rx/rx.c (decode_opcode): fix SWHILE logic.
179 2009-10-27 DJ Delorie <dj@redhat.com>
180 Kevin Buettner <kevinb@redhat.com>