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