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