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