]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/rx/ChangeLog
Replace static variables in the MSP430 simulator with fields in the cpu state structure.
[thirdparty/binutils-gdb.git] / sim / rx / ChangeLog
CommitLineData
faa743bb
RM
12014-08-15 Roland McGrath <mcgrathr@google.com>
2
3 * configure: Regenerate.
4 * config.in: Regenerate.
5
60d847df
MF
62014-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
b2b255bd
MF
112014-03-05 Mike Frysinger <vapier@gentoo.org>
12
13 * gdb-if.c (sim_load): Add const to prog.
14
fa0dd93e
KB
152014-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
bf3d9781
AM
212013-09-23 Alan Modra <amodra@gmail.com>
22
23 * configure: Regenerate.
24
7f77d948
NC
252013-06-25 Nick Clifton <nickc@redhat.com>
26
27 * rx.c (SHIFT_OP): A shift by zero still sets the condition
28 codes.
29
31e6ad7d
MF
302013-06-03 Mike Frysinger <vapier@gentoo.org>
31
32 * aclocal.m4, configure: Regenerate.
33
04e65a62
NC
342013-01-16 Nick Clifton <nickc@redhat.com>
35
36 * rx.c (decode_opcode): Handle RXO_satr.
37
5f3ef9d0
JB
382012-06-15 Joel Brobecker <brobecker@adacore.com>
39
40 * config.in, configure: Regenerate.
41
a493e3e2
PA
422012-05-24 Pedro Alves <palves@redhat.com>
43
44 PR gdb/7205
45
46 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
47
2232061b
MF
482012-03-24 Mike Frysinger <vapier@gentoo.org>
49
50 * aclocal.m4, config.in, configure: Regenerate.
51
abcee8fd
MF
522012-03-22 Mike Frysinger <vapier@gentoo.org>
53
54 * configure.ac (CYCLE_ACCURATE): Add template with AC_DEFINE call.
55 (CYCLE_STATS): Likewise.
56
d98bfeb0
KB
572012-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
db2e4d67
MF
702011-12-03 Mike Frysinger <vapier@gentoo.org>
71
72 * aclocal.m4: New file.
73 * configure: Regenerate.
74
9c082ca8
MF
752011-10-17 Mike Frysinger <vapier@gentoo.org>
76
77 * configure.ac: Change include to common/acinclude.m4.
78
6ffe910a
MF
792011-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
89ab8a15
MF
852011-07-11 Mike Frysinger <vapier@gentoo.org>
86
87 * configure.ac: Rename from configure.in.
88
31a27ee8
MF
892011-07-11 Mike Frysinger <vapier@gentoo.org>
90
91 * configure.in: Add "dnl" before copyright notice.
92
af9f7da7
MF
932011-04-16 Mike Frysinger <vapier@gentoo.org>
94
95 * gdb-if.c (sim_complete_command): New stub function.
96
dae477fe
AB
972011-01-11 Andrew Burgess <aburgess@broadcom.com>
98
99 * gdb-if.c (sim_store_register): Update return value to
100 match new API.
101
29cfc22f
DD
1022010-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.
45eb4d47
DD
106 (decode_opcode): RXO_branchrel is relative to the opcode's PC, not
107 the address following the opcode.
29cfc22f 108
5cbc4f2e
DD
1092010-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
e4dcb664
KB
1172010-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
5f79eb72
NC
1232010-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
e5379772
KB
1282010-09-23 Kevin Buettner <kevinb@redhat.com>
129
130 * rx.c (decode_opcode): Add cycle information for RXO_smovu.
131
8d794149
KB
1322010-09-23 Kevin Buettner <kevinb@redhat.com>
133
134 * fpu.c, gdb-if.c, load.c, misc.c, syscalls.c (config.h): Include.
135
3c7be86b 136 * rx.c (decode_opcode): Declare `tx' as unsigned.
6607c80d 137
be380a3e
KB
138 * cpu.h (reset_decoder): Declare.
139 * load.c (rx_load): Call `reset_decoder'.
140 * rx.c (reset_decoder): New function.
141
f9c7014e
DD
1422010-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
93378652
DD
1692010-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
a1669f9a
KB
1962010-07-07 Kevin Buettner <kevinb@redhat.com>
197
198 * gdb-if.c (sim_store_register): Add case for sim_rx_acc_regnum.
199
fd60dc69
KB
2002010-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
092b7bb8
NC
2052010-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
12cb7388
KB
2102010-05-28 Kevin Buettner <kevinb@redhat.com>
211
212 * gdb-if.c (sim_do_command): Add a "sim verbose noisy" command.
213
5558e7e6
MF
2142010-04-14 Mike Frysinger <vapier@gentoo.org>
215
216 * gdb-if.c (sim_write): Add const to buf arg.
217
2388a152
MM
2182010-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
feafbb2e
DD
2272009-12-22 Yoshinori Sato <ysato@users.sourceforge.jp>
228
229 * rx/rx.c (decode_opcode): btst bit address mask fix.
230
117f2c0d
DD
2312009-11-30 DJ Delorie <dj@redhat.com>
232
233 * rx/rx.c (decode_opcode): fix SWHILE logic.
234
4f8d4a38
DD
2352009-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.