1 2015-03-16 Mike Frysinger <vapier@gentoo.org>
3 * aclocal.m4, config.in, configure: Regenerate.
5 2015-12-15 Joel Brobecker <brobecker@adacore.com>
7 * gdb-if.c (open): Rename to...
8 (rx_sim_is_open): This. Replace all uses of "open" by uses of
9 "rx_sim_is_open" throughout.
11 2014-08-19 Alan Modra <amodra@gmail.com>
13 * configure: Regenerate.
15 2014-08-15 Roland McGrath <mcgrathr@google.com>
17 * configure: Regenerate.
18 * config.in: Regenerate.
20 2014-03-10 Mike Frysinger <vapier@gentoo.org>
22 * gdb-if.c (sim_do_command): Add const to cmd. Move args
23 to top and add const. Call strdup on cmd and free at end.
25 2014-03-05 Mike Frysinger <vapier@gentoo.org>
27 * gdb-if.c (sim_load): Add const to prog.
29 2014-02-17 Kevin Buettner <kevinb@redhat.com>
31 * gdb-if.c (rx_signal_to_host): Rename to
32 `rx_signal_to_gdb_signal'. Make static. Update all callers
33 to use new name. Use signal names from include/gdb/signals.h.
35 2013-09-23 Alan Modra <amodra@gmail.com>
37 * configure: Regenerate.
39 2013-06-25 Nick Clifton <nickc@redhat.com>
41 * rx.c (SHIFT_OP): A shift by zero still sets the condition
44 2013-06-03 Mike Frysinger <vapier@gentoo.org>
46 * aclocal.m4, configure: Regenerate.
48 2013-01-16 Nick Clifton <nickc@redhat.com>
50 * rx.c (decode_opcode): Handle RXO_satr.
52 2012-06-15 Joel Brobecker <brobecker@adacore.com>
54 * config.in, configure: Regenerate.
56 2012-05-24 Pedro Alves <palves@redhat.com>
60 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
62 2012-03-24 Mike Frysinger <vapier@gentoo.org>
64 * aclocal.m4, config.in, configure: Regenerate.
66 2012-03-22 Mike Frysinger <vapier@gentoo.org>
68 * configure.ac (CYCLE_ACCURATE): Add template with AC_DEFINE call.
69 (CYCLE_STATS): Likewise.
71 2012-03-02 Kevin Buettner <kevinb@redhat.com>
73 * load.h (rx_load): Add `callback' parameter to function prototype.
74 (gdb/callback.h): Include.
75 * load.c (load.h): Include.
76 (xprintf, find_section_name_by_offset): New functions.
77 (rx_load): Add `callback' parameter. Add code for printing
78 section loaded using GDB's printf facilities.
79 * gdb-if.c (sim_load, sim_create_inferior): Update calls to
81 * main.c (main): Likewise.
82 * syscalls.c, syscalls.h (get_callbacks): New function.
84 2011-12-03 Mike Frysinger <vapier@gentoo.org>
86 * aclocal.m4: New file.
87 * configure: Regenerate.
89 2011-10-17 Mike Frysinger <vapier@gentoo.org>
91 * configure.ac: Change include to common/acinclude.m4.
93 2011-10-17 Mike Frysinger <vapier@gentoo.org>
95 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
96 call. Replace common.m4 include with SIM_AC_COMMON.
97 * configure: Regenerate.
99 2011-07-11 Mike Frysinger <vapier@gentoo.org>
101 * configure.ac: Rename from configure.in.
103 2011-07-11 Mike Frysinger <vapier@gentoo.org>
105 * configure.in: Add "dnl" before copyright notice.
107 2011-04-16 Mike Frysinger <vapier@gentoo.org>
109 * gdb-if.c (sim_complete_command): New stub function.
111 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
113 * gdb-if.c (sim_store_register): Update return value to
116 2010-12-14 DJ Delorie <dj@redhat.com>
118 * rx.c (decode_opcode): For "MVFC PC,", use the address of the
119 opcode, not the address following the opcode.
120 (decode_opcode): RXO_branchrel is relative to the opcode's PC, not
121 the address following the opcode.
123 2010-11-11 DJ Delorie <dj@redhat.com>
125 * rx.c (lsb_count): New.
128 (decode_opcode): Fix cycle count math for div, divu, suntil, and
131 2010-09-29 Kevin Buettner <kevinb@redhat.com>
133 * mem.c (rx_mem_ptr): When invalidating the decode cache, account
134 for the fact that the instruction decoder never uses swapped
137 2010-09-29 Nick Clifton <nickc@redhat.com>
139 * rx.c (decode_opcode: RXO_int): Only break out of the emulation
140 loop if rx_syscall() does not return a RX_STEPPED result.
142 2010-09-23 Kevin Buettner <kevinb@redhat.com>
144 * rx.c (decode_opcode): Add cycle information for RXO_smovu.
146 2010-09-23 Kevin Buettner <kevinb@redhat.com>
148 * fpu.c, gdb-if.c, load.c, misc.c, syscalls.c (config.h): Include.
150 * rx.c (decode_opcode): Declare `tx' as unsigned.
152 * cpu.h (reset_decoder): Declare.
153 * load.c (rx_load): Call `reset_decoder'.
154 * rx.c (reset_decoder): New function.
156 2010-07-29 DJ Delorie <dj@redhat.com>
158 * rx.c (decode_cache_base): New.
159 (id_names): Remove ediv and edivu.
160 (optype_names): Add TwoReg.
161 (maybe_get_mem_page): New.
162 (rx_get_byte): Call it.
163 (get_op): Add TwoReg support.
165 (PD, PS, PS2, GD, GS, GS2, DSZ, SSZ, S2SZ, US1, US2, OM): "opcode"
167 (DO_RETURN): New. We use longjmp to return an exception result.
168 (decode_opcode): Make opcode a pointer to the decode cache. Save
169 decoded opcode information and re-use. Call DO_RETURN instead of
170 return throughout. Remove ediv and edivu.
171 * mem.c (ptdc): New. Adds decode cache.
172 (rx_mem_ptr): Support it.
173 (rx_mem_decode_cache): New.
174 * mem.h (enum mem_ptr_action): add MPA_DECODE_CACHE.
175 (rx_mem_decode_cache): Declare.
176 * gdb-if.c (sim_resume): Add decode_opcode's setjmp logic here...
177 * main.c (main): ...and here. Use a fast loop if neither trace
178 nor disassemble is given.
179 * cpu.h (RX_MAKE_STEPPED, RX_MAKE_HIT_BREAK, RX_MAKE_EXITED,
180 RX_MAKE_STOPPED, RX_EXITED, RX_STOPPED): Adjust so that 0 is not a
181 valid code for anything.
183 2010-07-27 DJ Delorie <dj@redhat.com>
186 * config.h (CYCLE_ACCURATE, CYCLE_STATS): New.
187 * configure.in (--enable-cycle-accurate, --enable-cycle-stats):
188 New. Default to enabled.
189 * configure: Regenerate.
191 * cpu.h (regs_type): Add cycle tracking info.
192 (reset_pipeline_stats): Declare.
193 (halt_pipeline_stats): Declare.
194 (pipeline_stats): Declare.
195 * main.c (done): Call pipeline_stats().
196 * mem.h (rx_mem_ptr): Moved to here ...
197 * mem.c (mem_ptr): ... from here. Rename throughout.
198 (mem_put_byte): Move LEDs to Port A. Add Port B to control cycle
199 statistics. Move UART to SCI4.
200 (mem_put_hi): Add TPU 1-2. TPU 1 and 2 count CPU cycles.
201 * reg.c (init_regs): Set Rt reg to -1 (no reg).
202 * rx.c: Add cycle counting and statistics throughout.
203 (rx_get_byte): Optimize for speed.
204 (decode_opcode): Likewise.
205 (reset_pipeline_stats): New.
206 (halt_pipeline_stats): New.
207 (pipeline_stats): New.
208 * trace.c (sim_disasm_one): Print cycle count.
210 2010-07-07 Kevin Buettner <kevinb@redhat.com>
212 * gdb-if.c (sim_store_register): Add case for sim_rx_acc_regnum.
214 2010-06-24 Kevin Buettner <kevinb@redhat.com>
216 * gdb-if.c (trace.h): Include.
217 (reg_size, sim_fetch_register): Add cases for sim_rx_acc_regnum.
219 2010-06-07 Nick Clifton <nickc@redhat.com>
221 * reg.c (set_oszc): Use unsigned int for the mask.
222 (set_szc, set_osz, set_sz): Likewise.
224 2010-05-28 Kevin Buettner <kevinb@redhat.com>
226 * gdb-if.c (sim_do_command): Add a "sim verbose noisy" command.
228 2010-04-14 Mike Frysinger <vapier@gentoo.org>
230 * gdb-if.c (sim_write): Add const to buf arg.
232 2010-01-30 Masaki Muranaka <monaka@monami-software.com>
234 * configure.in: Check if the host has getopt.h.
235 * configure: Regenerate.
236 * config.in: Regenerate.
237 * main.c: Include config.h.
238 Use HAVE_STDLIB_H, HAVE_UNISTD_H, HAVE_GETOPT_H.
239 Include getopt.h in case HAVE_GETOPT_H is defined.
241 2009-12-22 Yoshinori Sato <ysato@users.sourceforge.jp>
243 * rx/rx.c (decode_opcode): btst bit address mask fix.
245 2009-11-30 DJ Delorie <dj@redhat.com>
247 * rx/rx.c (decode_opcode): fix SWHILE logic.
249 2009-10-27 DJ Delorie <dj@redhat.com>
250 Kevin Buettner <kevinb@redhat.com>