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