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