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