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