Commit | Line | Data |
---|---|---|
27b97b40 MF |
1 | 2015-04-17 Mike Frysinger <vapier@gentoo.org> |
2 | ||
3 | * interp.c (cr16_pc_get, cr16_pc_set): New functions. | |
4 | (sim_open): Call CPU_PC_FETCH & CPU_PC_STORE for all cpus. | |
5 | ||
78e9aa70 MF |
6 | 2015-04-15 Mike Frysinger <vapier@gentoo.org> |
7 | ||
8 | * Makefile.in (SIM_OBJS): Delete sim-cpu.o. | |
9 | * sim-main.h (STATE_CPU): Delete. | |
10 | ||
bf12d44e MF |
11 | 2015-04-13 Mike Frysinger <vapier@gentoo.org> |
12 | ||
13 | * configure: Regenerate. | |
14 | ||
122bbfb5 MF |
15 | 2015-04-06 Mike Frysinger <vapier@gentoo.org> |
16 | ||
17 | * Makefile.in (SIM_OBJS): Delete sim-engine.o. | |
18 | ||
0fe84f3f MF |
19 | 2015-04-01 Mike Frysinger <vapier@gentoo.org> |
20 | ||
21 | * interp.c (sim_set_profile, sim_set_profile_size): Delete. | |
22 | ||
b38f7f34 MF |
23 | 2015-03-31 Mike Frysinger <vapier@gentoo.org> |
24 | ||
25 | * Makefile.in (simops.o): New rule. | |
26 | ||
247ac9ee MF |
27 | 2015-03-29 Mike Frysinger <vapier@gentoo.org> |
28 | ||
29 | * cr16_sim.h (text, text_start, text_end, prog_bfd): Delete. | |
30 | (SEXT8, SEXT16, SEXT32): Undefine. | |
31 | * interp.c: Delete run-sim.h and cr16_sim.h includes. Include | |
32 | sim-main.h and sim-options.h. | |
33 | (myname, sim_kind, init_text_p, prog_bfd_was_opened_p, prog_bfd, | |
34 | text, text_start, text_end, decode_pc, sim_set_profile, | |
35 | sim_set_profile_size, sim_set_trace, sim_info, sim_set_callbacks, | |
36 | sim_trace, sim_complete_command, sim_do_command, sim_load): Delete. | |
37 | (do_run): Delete prototype. | |
38 | (INLINE): Delete define. | |
39 | (do_run, xfer_mem): Pass in SIM_DESC. Set cr16_callback locally from | |
40 | it. | |
41 | (sim_size): Mark static. | |
42 | (sim_write, sim_read): Pass sd to xfer_mem. | |
43 | (free_state): New function. | |
44 | (trace_sd): Declare global variable. | |
45 | (sim_open): Rewrite to use new common logic. | |
46 | (sim_close): Delete body. | |
47 | (sim_resume): Pass sd to do_run. | |
48 | * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS): Delete. | |
49 | (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS). | |
50 | * sim-main.h: New file. | |
51 | * simops.c: Change cr16_sim.h include to sim-main.h. | |
52 | (trace_input_func): Rewrite pc checks to use trace_sd. | |
53 | ||
4b0cc5ed MF |
54 | 2015-03-29 Mike Frysinger <vapier@gentoo.org> |
55 | ||
56 | * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DNEED_UI_LOOP_HOOK. | |
57 | * interp.c [NEED_UI_LOOP_HOOK] (UI_LOOP_POLL_INTERVAL, | |
58 | ui_loop_hook_counter, deprecated_ui_loop_hook): Delete. | |
59 | (sim_resume) [NEED_UI_LOOP_HOOK]: Delete ui code. | |
60 | ||
1e504675 MF |
61 | 2015-03-29 Mike Frysinger <vapier@gentoo.org> |
62 | ||
63 | * interp.c (old_segment_mapping, ins_type_counters, add_commas, | |
64 | set_dmap_register, set_imap_register, HELD_SPI_IDX, HELD_SPU_IDX, | |
65 | spu_register, spi_register, set_spi_register, set_spu_register): | |
66 | Delete. | |
67 | (sim_cr16_translate_addr): Delete old_segment_mapping handling. | |
68 | (sim_open): Likewise. | |
69 | (sim_info): Delete function body. | |
70 | ||
5aedb83b MF |
71 | 2015-03-29 Mike Frysinger <vapier@gentoo.org> |
72 | ||
73 | * Makefile.in (gencode.o, cr16-opc.o): Add $(WARN_CFLAGS). | |
74 | (gencode): Add $(BUILD_LDFLAGS). | |
75 | * endian.c (get_word, get_longword, get_longlong, write_word, | |
76 | write_longword, write_longlong): Convert old style prototypes. | |
77 | * gencode.c: Include string.h. | |
78 | (write_header): Convert old style prototype and fix printf format. | |
79 | (write_template, write_opcodes): Likewise. | |
80 | (check_opcodes): Mark static void and put behind #if 0. | |
81 | * interp.c: Include inttypes.h and run-sim.h. | |
82 | (add_commas): Delete prototype. | |
83 | (decode_pc): Convert old style prototype. | |
84 | (do_run): Change h->op compare to 0. | |
85 | (add_commas, set_dmap_register, set_imap_register, HELD_SPI_IDX, | |
86 | HELD_SPU_IDX, spu_register, spi_register, set_spi_register, | |
87 | set_spu_register): Wrap in #if 0. | |
88 | (sim_write, sim_read, sim_close, sim_stop, sim_set_callbacks, | |
89 | sim_stop_reason, sim_fetch_register, sim_store_register, | |
90 | sim_do_command): Convert old style prototypes. | |
91 | (sim_create_inferior): Fix pointer cast to use uintptr_t. | |
92 | * simops.c [HAVE_TIME_H]: Include time.h. | |
93 | [HAVE_SYS_TIME_H]: Include sys/time.h. | |
94 | [TARGET_SYS_utime]: Include utime.h. | |
95 | [TARGET_SYS_wait]: Include sys/wait.h. | |
96 | (strrchr): Delete prototype. | |
97 | (cond_stat): Mark static. | |
98 | (trace_input_func): Mark name static. | |
99 | (trace_input_func, trace_output_void, trace_output_flag): Convert old style prototypes. | |
100 | (trace_output_40): Wrap in #if 0. | |
101 | (OP_*): Convert old style prototypes. Move trace_input call below | |
102 | all variable decls. Initialize tmp to 0 when appropriate. | |
103 | ||
ca968da4 MF |
104 | 2015-03-29 Mike Frysinger <vapier@gentoo.org> |
105 | ||
106 | * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DSIM_HAVE_ENVIRONMENT. | |
107 | (interp.o, simops.o, endian.o, table.o): Delete rules. | |
108 | * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT, | |
109 | SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and | |
110 | SIM_AC_OPTION_INLINE. | |
111 | * config.in, configure: Regenerate. | |
112 | * interp.c (sim_trace): Define. | |
113 | ||
ae7d0cac MF |
114 | 2015-03-16 Mike Frysinger <vapier@gentoo.org> |
115 | ||
116 | * config.in, configure: Regenerate. | |
117 | ||
465fb143 MF |
118 | 2015-03-14 Mike Frysinger <vapier@gentoo.org> |
119 | ||
120 | * Makefile.in (SIM_EXTRA_CFLAGS): Add | |
121 | -DSIM_USE_DEPRECATED_RUN_FRONTEND. | |
122 | (SIM_RUN_OBJS): Set to run.o. | |
123 | ||
5cddc23a MF |
124 | 2015-03-14 Mike Frysinger <vapier@gentoo.org> |
125 | ||
126 | * configure.ac (AC_CHECK_HEADERS): Delete. | |
127 | * aclocal.m4, configure: Regenerate. | |
128 | ||
2974be62 AM |
129 | 2014-08-19 Alan Modra <amodra@gmail.com> |
130 | ||
131 | * configure: Regenerate. | |
132 | ||
faa743bb RM |
133 | 2014-08-15 Roland McGrath <mcgrathr@google.com> |
134 | ||
135 | * configure: Regenerate. | |
136 | * config.in: Regenerate. | |
137 | ||
60d847df MF |
138 | 2014-03-10 Mike Frysinger <vapier@gentoo.org> |
139 | ||
140 | * interp.c (sim_do_command): Add const to cmd. | |
141 | ||
b2b255bd MF |
142 | 2014-03-05 Mike Frysinger <vapier@gentoo.org> |
143 | ||
144 | * interp.c (sim_load): Add const to prog. | |
145 | ||
1a8a700e MF |
146 | 2014-03-04 Mike Frysinger <vapier@gentoo.org> |
147 | ||
148 | * configure: Regenerate. | |
149 | ||
bf3d9781 AM |
150 | 2013-09-23 Alan Modra <amodra@gmail.com> |
151 | ||
152 | * configure: Regenerate. | |
153 | ||
31e6ad7d MF |
154 | 2013-06-03 Mike Frysinger <vapier@gentoo.org> |
155 | ||
156 | * aclocal.m4, configure: Regenerate. | |
157 | ||
d3685d60 TT |
158 | 2013-05-10 Freddie Chopin <freddie_chopin@op.pl> |
159 | ||
160 | * configure: Rebuild. | |
161 | ||
4881a75b MF |
162 | 2012-08-28 Kaushik Phatak <kaushik.phatak@kpitcummins.com> |
163 | ||
5a06d7c4 | 164 | * cr16_sim.h: Add defines for TRAP handling. |
4881a75b | 165 | * interp.c (sim_complete_command): New stub function. |
5a06d7c4 | 166 | * simops.c: Breakpoint handling code. |
4881a75b | 167 | |
26687999 MF |
168 | 2012-06-17 Mike Frysinger <vapier@gentoo.org> |
169 | ||
170 | * interp.c: Include config.h first. Also include stdlib.h and | |
171 | string.h so we can drop the sysdep.h include. | |
172 | ||
5f3ef9d0 JB |
173 | 2012-06-15 Joel Brobecker <brobecker@adacore.com> |
174 | ||
175 | * config.in, configure: Regenerate. | |
176 | ||
a493e3e2 PA |
177 | 2012-05-24 Pedro Alves <palves@redhat.com> |
178 | ||
179 | PR gdb/7205 | |
180 | ||
181 | Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. | |
182 | ||
2232061b MF |
183 | 2012-03-24 Mike Frysinger <vapier@gentoo.org> |
184 | ||
185 | * aclocal.m4, config.in, configure: Regenerate. | |
186 | ||
9220438c MF |
187 | 2011-12-30 Mike Frysinger <vapier@gentoo.org> |
188 | ||
189 | PR sim/12862 | |
190 | * simops.c (OP_C_C): Only handle TARGET_SYS_fork, TARGET_SYS_execve, | |
191 | TARGET_SYS_pipe, TARGET_SYS_rename, and TARGET_SYS_chown when they | |
192 | are defined. | |
193 | ||
db2e4d67 MF |
194 | 2011-12-03 Mike Frysinger <vapier@gentoo.org> |
195 | ||
196 | * aclocal.m4: New file. | |
197 | * configure: Regenerate. | |
198 | ||
9c082ca8 MF |
199 | 2011-10-17 Mike Frysinger <vapier@gentoo.org> |
200 | ||
201 | * configure.ac: Change include to common/acinclude.m4. | |
202 | ||
6ffe910a MF |
203 | 2011-10-17 Mike Frysinger <vapier@gentoo.org> |
204 | ||
205 | * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER | |
206 | call. Replace common.m4 include with SIM_AC_COMMON. | |
207 | * configure: Regenerate. | |
208 | ||
5558e7e6 MF |
209 | 2010-04-14 Mike Frysinger <vapier@gentoo.org> |
210 | ||
211 | * interp.c (sim_write): Add const to buffer arg. | |
212 | ||
3725885a RW |
213 | 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
214 | ||
215 | * configure: Regenerate. | |
216 | ||
d6416cdc RW |
217 | 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
218 | ||
81ecdfbb RW |
219 | * config.in: Regenerate. |
220 | * configure: Likewise. | |
221 | ||
d6416cdc RW |
222 | * configure: Regenerate. |
223 | ||
35e497c8 HPN |
224 | 2008-07-11 Hans-Peter Nilsson <hp@axis.com> |
225 | ||
b5bd9624 HPN |
226 | * configure: Regenerate to track ../common/common.m4 changes. |
227 | * config.in: Ditto. | |
228 | ||
35e497c8 HPN |
229 | * interp.c (hash): Remove incorrect prototype. |
230 | ||
6efef468 JM |
231 | 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> |
232 | Daniel Jacobowitz <dan@codesourcery.com> | |
233 | Joseph Myers <joseph@codesourcery.com> | |
234 | ||
235 | * configure: Regenerate. | |
236 | ||
bff92e66 SR |
237 | 2008-05-02 M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com> |
238 | ||
239 | * interp.c: Update the machine code decode algorithm using hash table. | |
240 | * Makefile.in, cr16_sim.h, gencode.c and simops.c: Update for typos | |
241 | and coding standards. | |
242 | ||
fee8ec00 SR |
243 | 2008-02-12 M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com> |
244 | ||
245 | * ChangeLog, Makefile.in, configure, configure.in, cr16_sim.h, | |
246 | gencode.c, interp.c, simops.c, endian.c: Created. | |
247 |