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