[src/erc32] Use ncurses instead of termcap on Cygwin too
[binutils-gdb.git] / sim / rx / ChangeLog
blobdf6b30714b88821ab448466a51d5281b44a02770
1 2017-09-06  John Baldwin  <jhb@FreeBSD.org>
3         * configure: Regenerate.
5 2017-02-13  Mike Frysinger  <vapier@gentoo.org>
7         * rx.c: Include libiberty.h.
8         (N_RXO, N_RXT): Use ARRAY_SIZE.
10 2016-07-27  Alan Modra  <amodra@gmail.com>
12         * load.c: Don't include libbfd.h.
13         (rx_load): Don't use private iovec seek or read.
15 2016-04-27  Nick Clifton  <nickc@redhat.com>
17         PR target/20000
18         * fpu.c (check_exceptions): Fix typo checking for signalling
19         NANs.
21 2016-01-10  Mike Frysinger  <vapier@gentoo.org>
23         * config.in, configure: Regenerate.
25 2016-01-10  Mike Frysinger  <vapier@gentoo.org>
27         * configure: Regenerate.
29 2016-01-10  Mike Frysinger  <vapier@gentoo.org>
31         * configure: Regenerate.
33 2016-01-10  Mike Frysinger  <vapier@gentoo.org>
35         * configure: Regenerate.
37 2016-01-10  Mike Frysinger  <vapier@gentoo.org>
39         * configure: Regenerate.
41 2016-01-10  Mike Frysinger  <vapier@gentoo.org>
43         * configure: Regenerate.
45 2016-01-10  Mike Frysinger  <vapier@gentoo.org>
47         * configure: Regenerate.
49 2016-01-10  Mike Frysinger  <vapier@gentoo.org>
51         * configure: Regenerate.
53 2016-01-09  Mike Frysinger  <vapier@gentoo.org>
55         * config.in, configure: Regenerate.
57 2016-01-06  Mike Frysinger  <vapier@gentoo.org>
59         * gdb-if.c (sim_open): Mark argv const.
60         (sim_create_inferior): Mark argv and env const.
62 2016-01-04  Mike Frysinger  <vapier@gentoo.org>
64         * configure: Regenerate.
66 2016-01-03  Mike Frysinger  <vapier@gentoo.org>
68         * config.in, configure: Regenerate.
70 2015-12-26  Mike Frysinger  <vapier@gentoo.org>
72         * config.in, configure: Regenerate.
74 2015-11-10  Nick Clifton  <nickc@redhat.com>
76         * rx.c (id_names): Add nop4, nop5, nop6 and nop7.
77         (decode_opcode): Likewise.
78         (get_op): Handle RX_Operand_Zero_Indirect.
79         Handle RX_Bad_Size and RX_MAX_SIZE.
80         (put_op): Likewise.
81         (N_MAP): Increase to 90.
83 2015-06-23  Mike Frysinger  <vapier@gentoo.org>
85         * configure.ac (AC_ARG_ENABLE(cycle-accurate)): Call AS_HELP_STRING.
86         (AC_ARG_ENABLE(cycle-stats)): Likewise.
87         * configure: Regenerate.
89 2015-06-12  Mike Frysinger  <vapier@gentoo.org>
91         * configure: Regenerate.
93 2015-06-12  Mike Frysinger  <vapier@gentoo.org>
95         * configure: Regenerate.
97 2015-04-24  Nick Clifton  <nickc@redhat.com>
99         PR sim/18273
100         * reg.c (put_reg): Fix check for valid register number.
102 2015-04-13  Mike Frysinger  <vapier@gentoo.org>
104         * configure: Regenerate.
106 2015-03-31  Mike Frysinger  <vapier@gentoo.org>
108         * config.in, configure: Regenerate.
110 2015-03-16  Mike Frysinger  <vapier@gentoo.org>
112         * aclocal.m4, config.in, configure: Regenerate.
114 2015-12-15  Joel Brobecker  <brobecker@adacore.com>
116         * gdb-if.c (open): Rename to...
117         (rx_sim_is_open): This. Replace all uses of "open" by uses of
118         "rx_sim_is_open" throughout.
120 2014-08-19  Alan Modra  <amodra@gmail.com>
122         * configure: Regenerate.
124 2014-08-15  Roland McGrath  <mcgrathr@google.com>
126         * configure: Regenerate.
127         * config.in: Regenerate.
129 2014-03-10  Mike Frysinger  <vapier@gentoo.org>
131         * gdb-if.c (sim_do_command): Add const to cmd.  Move args
132         to top and add const.  Call strdup on cmd and free at end.
134 2014-03-05  Mike Frysinger  <vapier@gentoo.org>
136         * gdb-if.c (sim_load): Add const to prog.
138 2014-02-17  Kevin Buettner  <kevinb@redhat.com>
140         * gdb-if.c (rx_signal_to_host):  Rename to
141         `rx_signal_to_gdb_signal'.  Make static.  Update all callers
142         to use new name.  Use signal names from include/gdb/signals.h.
144 2013-09-23  Alan Modra  <amodra@gmail.com>
146         * configure: Regenerate.
148 2013-06-25  Nick Clifton  <nickc@redhat.com>
150         * rx.c (SHIFT_OP): A shift by zero still sets the condition
151         codes.
153 2013-06-03  Mike Frysinger  <vapier@gentoo.org>
155         * aclocal.m4, configure: Regenerate.
157 2013-01-16  Nick Clifton  <nickc@redhat.com>
159         * rx.c (decode_opcode): Handle RXO_satr.
161 2012-06-15  Joel Brobecker  <brobecker@adacore.com>
163         * config.in, configure: Regenerate.
165 2012-05-24  Pedro Alves  <palves@redhat.com>
167         PR gdb/7205
169         Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
171 2012-03-24  Mike Frysinger  <vapier@gentoo.org>
173         * aclocal.m4, config.in, configure: Regenerate.
175 2012-03-22  Mike Frysinger  <vapier@gentoo.org>
177         * configure.ac (CYCLE_ACCURATE): Add template with AC_DEFINE call.
178         (CYCLE_STATS): Likewise.
180 2012-03-02  Kevin Buettner  <kevinb@redhat.com>
182         * load.h (rx_load): Add `callback' parameter to function prototype.
183         (gdb/callback.h): Include.
184         * load.c (load.h): Include.
185         (xprintf, find_section_name_by_offset): New functions.
186         (rx_load): Add `callback' parameter.  Add code for printing
187         section loaded using GDB's printf facilities.
188         * gdb-if.c (sim_load, sim_create_inferior): Update calls to
189         rx_load().
190         * main.c (main): Likewise.
191         * syscalls.c, syscalls.h (get_callbacks): New function.
193 2011-12-03  Mike Frysinger  <vapier@gentoo.org>
195         * aclocal.m4: New file.
196         * configure: Regenerate.
198 2011-10-17  Mike Frysinger  <vapier@gentoo.org>
200         * configure.ac: Change include to common/acinclude.m4.
202 2011-10-17  Mike Frysinger  <vapier@gentoo.org>
204         * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
205         call.  Replace common.m4 include with SIM_AC_COMMON.
206         * configure: Regenerate.
208 2011-07-11  Mike Frysinger  <vapier@gentoo.org>
210         * configure.ac: Rename from configure.in.
212 2011-07-11  Mike Frysinger  <vapier@gentoo.org>
214         * configure.in: Add "dnl" before copyright notice.
216 2011-04-16  Mike Frysinger  <vapier@gentoo.org>
218         * gdb-if.c (sim_complete_command): New stub function.
220 2011-01-11  Andrew Burgess  <aburgess@broadcom.com>
222         * gdb-if.c (sim_store_register): Update return value to
223         match new API.
225 2010-12-14  DJ Delorie  <dj@redhat.com>
227         * rx.c (decode_opcode): For "MVFC PC,", use the address of the
228         opcode, not the address following the opcode.
229         (decode_opcode): RXO_branchrel is relative to the opcode's PC, not
230         the address following the opcode.
232 2010-11-11  DJ Delorie  <dj@redhat.com>
234         * rx.c (lsb_count): New.
235         (divu_cycles): New.
236         (div_cycles): New.
237         (decode_opcode): Fix cycle count math for div, divu, suntil, and
238         swhile.
240 2010-09-29  Kevin Buettner  <kevinb@redhat.com>
242         * mem.c (rx_mem_ptr): When invalidating the decode cache, account
243         for the fact that the instruction decoder never uses swapped
244         addresses.
246 2010-09-29  Nick Clifton  <nickc@redhat.com>
248         * rx.c (decode_opcode: RXO_int): Only break out of the emulation
249         loop if rx_syscall() does not return a RX_STEPPED result.
251 2010-09-23  Kevin Buettner  <kevinb@redhat.com>
253         * rx.c (decode_opcode): Add cycle information for RXO_smovu.
255 2010-09-23  Kevin Buettner  <kevinb@redhat.com>
257         * fpu.c, gdb-if.c, load.c, misc.c, syscalls.c (config.h): Include.
259         * rx.c (decode_opcode): Declare `tx' as unsigned.
261         * cpu.h (reset_decoder): Declare.
262         * load.c (rx_load): Call `reset_decoder'.
263         * rx.c (reset_decoder): New function.
265 2010-07-29  DJ Delorie  <dj@redhat.com>
267         * rx.c (decode_cache_base): New.
268         (id_names): Remove ediv and edivu.
269         (optype_names): Add TwoReg.
270         (maybe_get_mem_page): New.
271         (rx_get_byte): Call it.
272         (get_op): Add TwoReg support.
273         (put_op): Likewise.
274         (PD, PS, PS2, GD, GS, GS2, DSZ, SSZ, S2SZ, US1, US2, OM): "opcode"
275         is a pointer now.
276         (DO_RETURN): New.  We use longjmp to return an exception result.
277         (decode_opcode): Make opcode a pointer to the decode cache.  Save
278         decoded opcode information and re-use.  Call DO_RETURN instead of
279         return throughout.  Remove ediv and edivu.
280         * mem.c (ptdc): New.  Adds decode cache.
281         (rx_mem_ptr): Support it.
282         (rx_mem_decode_cache): New.
283         * mem.h (enum mem_ptr_action): add MPA_DECODE_CACHE.
284         (rx_mem_decode_cache): Declare.
285         * gdb-if.c (sim_resume): Add decode_opcode's setjmp logic here...
286         * main.c (main): ...and here.  Use a fast loop if neither trace
287         nor disassemble is given.
288         * cpu.h (RX_MAKE_STEPPED, RX_MAKE_HIT_BREAK, RX_MAKE_EXITED,
289         RX_MAKE_STOPPED, RX_EXITED, RX_STOPPED): Adjust so that 0 is not a
290         valid code for anything.
292 2010-07-27  DJ Delorie  <dj@redhat.com>
294         * README.txt: New.
295         * config.h (CYCLE_ACCURATE, CYCLE_STATS): New.
296         * configure.in (--enable-cycle-accurate, --enable-cycle-stats):
297         New.  Default to enabled.
298         * configure: Regenerate.
300         * cpu.h (regs_type): Add cycle tracking info.
301         (reset_pipeline_stats): Declare.
302         (halt_pipeline_stats): Declare.
303         (pipeline_stats): Declare.
304         * main.c (done): Call pipeline_stats().
305         * mem.h (rx_mem_ptr): Moved to here ...
306         * mem.c (mem_ptr): ... from here.  Rename throughout.
307         (mem_put_byte): Move LEDs to Port A.  Add Port B to control cycle
308         statistics.  Move UART to SCI4.
309         (mem_put_hi): Add TPU 1-2.  TPU 1 and 2 count CPU cycles.
310         * reg.c (init_regs): Set Rt reg to -1 (no reg).
311         * rx.c: Add cycle counting and statistics throughout.
312         (rx_get_byte): Optimize for speed.
313         (decode_opcode): Likewise.
314         (reset_pipeline_stats): New.
315         (halt_pipeline_stats): New.
316         (pipeline_stats): New.
317         * trace.c (sim_disasm_one): Print cycle count.
319 2010-07-07  Kevin Buettner  <kevinb@redhat.com>
321         * gdb-if.c (sim_store_register): Add case for sim_rx_acc_regnum.
323 2010-06-24  Kevin Buettner  <kevinb@redhat.com>
325         * gdb-if.c (trace.h): Include.
326         (reg_size, sim_fetch_register): Add cases for sim_rx_acc_regnum.
328 2010-06-07  Nick Clifton  <nickc@redhat.com>
330         * reg.c (set_oszc): Use unsigned int for the mask.
331         (set_szc, set_osz, set_sz): Likewise.
333 2010-05-28  Kevin Buettner  <kevinb@redhat.com>
335         * gdb-if.c (sim_do_command): Add a "sim verbose noisy" command.
337 2010-04-14  Mike Frysinger  <vapier@gentoo.org>
339         * gdb-if.c (sim_write): Add const to buf arg.
341 2010-01-30  Masaki Muranaka  <monaka@monami-software.com>
343         * configure.in: Check if the host has getopt.h.
344         * configure: Regenerate.
345         * config.in: Regenerate.
346         * main.c: Include config.h.
347         Use HAVE_STDLIB_H, HAVE_UNISTD_H, HAVE_GETOPT_H.
348         Include getopt.h in case HAVE_GETOPT_H is defined.
350 2009-12-22  Yoshinori Sato  <ysato@users.sourceforge.jp>
352         * rx/rx.c (decode_opcode): btst bit address mask fix.
354 2009-11-30  DJ Delorie  <dj@redhat.com>
356         * rx/rx.c (decode_opcode): fix SWHILE logic.
358 2009-10-27  DJ Delorie  <dj@redhat.com>
359             Kevin Buettner <kevinb@redhat.com>
361         * load.h: New.
362         * rx.c: New.
363         * syscalls.c: New.
364         * syscalls.h: New.
365         * load.c: New.
366         * configure.in: New.
367         * gdb-if.c: New.
368         * err.c: New.
369         * cpu.h: New.
370         * Makefile.in: New.
371         * fpu.c: New.
372         * mem.c: New.
373         * config.in: New.
374         * err.h: New.
375         * reg.c: New.
376         * mem.h: New.
377         * main.c: New.
378         * misc.h: New.
379         * trace.c: New.
380         * misc.c: New.
381         * syscall.h: New.
382         * trace.h: New.
383         * fpu.h: New.