1 2016-01-06 Mike Frysinger <vapier@gentoo.org>
3 * gdb-if.c (sim_open): Mark argv const.
4 (sim_create_inferior): Mark argv and env const.
6 2016-01-04 Mike Frysinger <vapier@gentoo.org>
8 * configure: Regenerate.
10 2016-01-03 Mike Frysinger <vapier@gentoo.org>
12 * config.in, configure: Regenerate.
14 2015-12-26 Mike Frysinger <vapier@gentoo.org>
16 * config.in, configure: Regenerate.
18 2015-11-10 Nick Clifton <nickc@redhat.com>
20 * rx.c (id_names): Add nop4, nop5, nop6 and nop7.
21 (decode_opcode): Likewise.
22 (get_op): Handle RX_Operand_Zero_Indirect.
23 Handle RX_Bad_Size and RX_MAX_SIZE.
25 (N_MAP): Increase to 90.
27 2015-06-23 Mike Frysinger <vapier@gentoo.org>
29 * configure.ac (AC_ARG_ENABLE(cycle-accurate)): Call AS_HELP_STRING.
30 (AC_ARG_ENABLE(cycle-stats)): Likewise.
31 * configure: Regenerate.
33 2015-06-12 Mike Frysinger <vapier@gentoo.org>
35 * configure: Regenerate.
37 2015-06-12 Mike Frysinger <vapier@gentoo.org>
39 * configure: Regenerate.
41 2015-04-24 Nick Clifton <nickc@redhat.com>
44 * reg.c (put_reg): Fix check for valid register number.
46 2015-04-13 Mike Frysinger <vapier@gentoo.org>
48 * configure: Regenerate.
50 2015-03-31 Mike Frysinger <vapier@gentoo.org>
52 * config.in, configure: Regenerate.
54 2015-03-16 Mike Frysinger <vapier@gentoo.org>
56 * aclocal.m4, config.in, configure: Regenerate.
58 2015-12-15 Joel Brobecker <brobecker@adacore.com>
60 * gdb-if.c (open): Rename to...
61 (rx_sim_is_open): This. Replace all uses of "open" by uses of
62 "rx_sim_is_open" throughout.
64 2014-08-19 Alan Modra <amodra@gmail.com>
66 * configure: Regenerate.
68 2014-08-15 Roland McGrath <mcgrathr@google.com>
70 * configure: Regenerate.
71 * config.in: Regenerate.
73 2014-03-10 Mike Frysinger <vapier@gentoo.org>
75 * gdb-if.c (sim_do_command): Add const to cmd. Move args
76 to top and add const. Call strdup on cmd and free at end.
78 2014-03-05 Mike Frysinger <vapier@gentoo.org>
80 * gdb-if.c (sim_load): Add const to prog.
82 2014-02-17 Kevin Buettner <kevinb@redhat.com>
84 * gdb-if.c (rx_signal_to_host): Rename to
85 `rx_signal_to_gdb_signal'. Make static. Update all callers
86 to use new name. Use signal names from include/gdb/signals.h.
88 2013-09-23 Alan Modra <amodra@gmail.com>
90 * configure: Regenerate.
92 2013-06-25 Nick Clifton <nickc@redhat.com>
94 * rx.c (SHIFT_OP): A shift by zero still sets the condition
97 2013-06-03 Mike Frysinger <vapier@gentoo.org>
99 * aclocal.m4, configure: Regenerate.
101 2013-01-16 Nick Clifton <nickc@redhat.com>
103 * rx.c (decode_opcode): Handle RXO_satr.
105 2012-06-15 Joel Brobecker <brobecker@adacore.com>
107 * config.in, configure: Regenerate.
109 2012-05-24 Pedro Alves <palves@redhat.com>
113 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
115 2012-03-24 Mike Frysinger <vapier@gentoo.org>
117 * aclocal.m4, config.in, configure: Regenerate.
119 2012-03-22 Mike Frysinger <vapier@gentoo.org>
121 * configure.ac (CYCLE_ACCURATE): Add template with AC_DEFINE call.
122 (CYCLE_STATS): Likewise.
124 2012-03-02 Kevin Buettner <kevinb@redhat.com>
126 * load.h (rx_load): Add `callback' parameter to function prototype.
127 (gdb/callback.h): Include.
128 * load.c (load.h): Include.
129 (xprintf, find_section_name_by_offset): New functions.
130 (rx_load): Add `callback' parameter. Add code for printing
131 section loaded using GDB's printf facilities.
132 * gdb-if.c (sim_load, sim_create_inferior): Update calls to
134 * main.c (main): Likewise.
135 * syscalls.c, syscalls.h (get_callbacks): New function.
137 2011-12-03 Mike Frysinger <vapier@gentoo.org>
139 * aclocal.m4: New file.
140 * configure: Regenerate.
142 2011-10-17 Mike Frysinger <vapier@gentoo.org>
144 * configure.ac: Change include to common/acinclude.m4.
146 2011-10-17 Mike Frysinger <vapier@gentoo.org>
148 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
149 call. Replace common.m4 include with SIM_AC_COMMON.
150 * configure: Regenerate.
152 2011-07-11 Mike Frysinger <vapier@gentoo.org>
154 * configure.ac: Rename from configure.in.
156 2011-07-11 Mike Frysinger <vapier@gentoo.org>
158 * configure.in: Add "dnl" before copyright notice.
160 2011-04-16 Mike Frysinger <vapier@gentoo.org>
162 * gdb-if.c (sim_complete_command): New stub function.
164 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
166 * gdb-if.c (sim_store_register): Update return value to
169 2010-12-14 DJ Delorie <dj@redhat.com>
171 * rx.c (decode_opcode): For "MVFC PC,", use the address of the
172 opcode, not the address following the opcode.
173 (decode_opcode): RXO_branchrel is relative to the opcode's PC, not
174 the address following the opcode.
176 2010-11-11 DJ Delorie <dj@redhat.com>
178 * rx.c (lsb_count): New.
181 (decode_opcode): Fix cycle count math for div, divu, suntil, and
184 2010-09-29 Kevin Buettner <kevinb@redhat.com>
186 * mem.c (rx_mem_ptr): When invalidating the decode cache, account
187 for the fact that the instruction decoder never uses swapped
190 2010-09-29 Nick Clifton <nickc@redhat.com>
192 * rx.c (decode_opcode: RXO_int): Only break out of the emulation
193 loop if rx_syscall() does not return a RX_STEPPED result.
195 2010-09-23 Kevin Buettner <kevinb@redhat.com>
197 * rx.c (decode_opcode): Add cycle information for RXO_smovu.
199 2010-09-23 Kevin Buettner <kevinb@redhat.com>
201 * fpu.c, gdb-if.c, load.c, misc.c, syscalls.c (config.h): Include.
203 * rx.c (decode_opcode): Declare `tx' as unsigned.
205 * cpu.h (reset_decoder): Declare.
206 * load.c (rx_load): Call `reset_decoder'.
207 * rx.c (reset_decoder): New function.
209 2010-07-29 DJ Delorie <dj@redhat.com>
211 * rx.c (decode_cache_base): New.
212 (id_names): Remove ediv and edivu.
213 (optype_names): Add TwoReg.
214 (maybe_get_mem_page): New.
215 (rx_get_byte): Call it.
216 (get_op): Add TwoReg support.
218 (PD, PS, PS2, GD, GS, GS2, DSZ, SSZ, S2SZ, US1, US2, OM): "opcode"
220 (DO_RETURN): New. We use longjmp to return an exception result.
221 (decode_opcode): Make opcode a pointer to the decode cache. Save
222 decoded opcode information and re-use. Call DO_RETURN instead of
223 return throughout. Remove ediv and edivu.
224 * mem.c (ptdc): New. Adds decode cache.
225 (rx_mem_ptr): Support it.
226 (rx_mem_decode_cache): New.
227 * mem.h (enum mem_ptr_action): add MPA_DECODE_CACHE.
228 (rx_mem_decode_cache): Declare.
229 * gdb-if.c (sim_resume): Add decode_opcode's setjmp logic here...
230 * main.c (main): ...and here. Use a fast loop if neither trace
231 nor disassemble is given.
232 * cpu.h (RX_MAKE_STEPPED, RX_MAKE_HIT_BREAK, RX_MAKE_EXITED,
233 RX_MAKE_STOPPED, RX_EXITED, RX_STOPPED): Adjust so that 0 is not a
234 valid code for anything.
236 2010-07-27 DJ Delorie <dj@redhat.com>
239 * config.h (CYCLE_ACCURATE, CYCLE_STATS): New.
240 * configure.in (--enable-cycle-accurate, --enable-cycle-stats):
241 New. Default to enabled.
242 * configure: Regenerate.
244 * cpu.h (regs_type): Add cycle tracking info.
245 (reset_pipeline_stats): Declare.
246 (halt_pipeline_stats): Declare.
247 (pipeline_stats): Declare.
248 * main.c (done): Call pipeline_stats().
249 * mem.h (rx_mem_ptr): Moved to here ...
250 * mem.c (mem_ptr): ... from here. Rename throughout.
251 (mem_put_byte): Move LEDs to Port A. Add Port B to control cycle
252 statistics. Move UART to SCI4.
253 (mem_put_hi): Add TPU 1-2. TPU 1 and 2 count CPU cycles.
254 * reg.c (init_regs): Set Rt reg to -1 (no reg).
255 * rx.c: Add cycle counting and statistics throughout.
256 (rx_get_byte): Optimize for speed.
257 (decode_opcode): Likewise.
258 (reset_pipeline_stats): New.
259 (halt_pipeline_stats): New.
260 (pipeline_stats): New.
261 * trace.c (sim_disasm_one): Print cycle count.
263 2010-07-07 Kevin Buettner <kevinb@redhat.com>
265 * gdb-if.c (sim_store_register): Add case for sim_rx_acc_regnum.
267 2010-06-24 Kevin Buettner <kevinb@redhat.com>
269 * gdb-if.c (trace.h): Include.
270 (reg_size, sim_fetch_register): Add cases for sim_rx_acc_regnum.
272 2010-06-07 Nick Clifton <nickc@redhat.com>
274 * reg.c (set_oszc): Use unsigned int for the mask.
275 (set_szc, set_osz, set_sz): Likewise.
277 2010-05-28 Kevin Buettner <kevinb@redhat.com>
279 * gdb-if.c (sim_do_command): Add a "sim verbose noisy" command.
281 2010-04-14 Mike Frysinger <vapier@gentoo.org>
283 * gdb-if.c (sim_write): Add const to buf arg.
285 2010-01-30 Masaki Muranaka <monaka@monami-software.com>
287 * configure.in: Check if the host has getopt.h.
288 * configure: Regenerate.
289 * config.in: Regenerate.
290 * main.c: Include config.h.
291 Use HAVE_STDLIB_H, HAVE_UNISTD_H, HAVE_GETOPT_H.
292 Include getopt.h in case HAVE_GETOPT_H is defined.
294 2009-12-22 Yoshinori Sato <ysato@users.sourceforge.jp>
296 * rx/rx.c (decode_opcode): btst bit address mask fix.
298 2009-11-30 DJ Delorie <dj@redhat.com>
300 * rx/rx.c (decode_opcode): fix SWHILE logic.
302 2009-10-27 DJ Delorie <dj@redhat.com>
303 Kevin Buettner <kevinb@redhat.com>