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