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