Commit | Line | Data |
---|---|---|
b51e5b4f MM |
1 | Fri Nov 10 06:39:46 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
2 | ||
813ad010 MM |
3 | * configure.in (--enable-sim-{opcode,config}): Use $srcdir when |
4 | check for the existence of files. | |
5 | * configure: Regenerate. | |
6 | ||
a3114052 MM |
7 | * table.c (table): New field nr_model_fields. |
8 | (table_open): New parameter nr_model_fields. | |
9 | (table_entry_read): Parse model fields that begin with a '*' after | |
10 | each instruction. | |
11 | * igen.c, dgen.c: Change callers of table_open. | |
12 | ||
13 | * igen.c: Add support for dumping model specific information in | |
14 | model.h and model.c. | |
15 | (insn_field_name): Delete unused array. | |
16 | (global variables): Make global variables static, so we can tell | |
17 | when they are no longer used. | |
18 | (cache_semantic_actual): Delete unused variable. | |
19 | (insn_table_load_insns): If the insn is really a machine model, | |
20 | call model_table_insert instead of other processing. | |
21 | (model_table_insert): New function to handle defining the | |
22 | functional units of a particular machine model. | |
23 | (insn_table): Add last_function field so we can add functions at | |
24 | the end. | |
25 | (insn_table_insert_function): Use last_function field when | |
26 | appending new function. | |
27 | ||
28 | * ppc-instructions: Add a few model specific information for 603, | |
29 | 603e, and 604 for testing purposes. | |
30 | ||
31 | * table.h (table_model_entry): New linked list to hold model | |
32 | specific information, one per line. | |
33 | (table_entry): Add model_first, model_last fields. | |
34 | ||
b51e5b4f MM |
35 | * configure.in (--enable-sim-inline): If gcc is found and |
36 | --enable-sim-inline is not specified, defaine DEFAULT_INLINE to 1, | |
37 | not 2. | |
a3114052 MM |
38 | (--enable-sim-reserved-bits): New switch to check whether reserved |
39 | bits are set in the instruction. | |
40 | (--enable-sim-opcode): Make complex the default. | |
41 | (all switches): Add appropriate checks and error messages. | |
b51e5b4f MM |
42 | * configure: Regenerate. |
43 | ||
a3114052 MM |
44 | * Makefile.in (RESERVED_CFLAGS): New variable set by |
45 | --enable-sim-reserved-bits. | |
46 | (CONFIG_CFLAGS): Include RESERVED_CFLAGS. | |
47 | (BUILT_SRC): igen now generates model.c and model.h. | |
48 | (LIB_OBJ): Include table.o. | |
49 | (tmp-igen): Add -m/-M options to write model.c/model.h. | |
50 | (model.o): New object. | |
51 | (CPU_H): Include model.h. | |
52 | ||
53 | * cpu.h: Include model.h. | |
54 | ||
55 | * std-config.h (WITH_RESERVED_BITS): Define. | |
56 | (MODEL_INLINE): Ditto. | |
57 | ||
58 | * options.c (print_options): Print out WITH_RESERVED_BITS. | |
59 | ||
ba62bb1c MM |
60 | Thu Nov 9 12:22:15 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
61 | ||
2bc7869d MM |
62 | * configure.in: If --silent, don't output information messages. |
63 | * configure: Regenerate. | |
64 | ||
ba62bb1c | 65 | * configure.in (--enable-sim-alignment): Fix typo in specifing non |
23a994ee | 66 | strict alignment. |
ba62bb1c MM |
67 | (--enable-sim-switch): Make default on. |
68 | (--enable-sim-duplicate): Make default on. | |
69 | (--enable-sim-smp): Make default 0. | |
70 | (--enable-sim-mon): Don't set sim_float if not set. | |
71 | (--enable-sim-inline): If gcc is found and --enable-sim-inline is | |
72 | not specified, define DEFAULT_INLINE to be 2. | |
73 | (all --enable-sim-* rules): Echo rules set to non empty to file | |
74 | descriptor 6. | |
75 | * configure: Regenerate. | |
76 | ||
77 | * options.c (options_env): Fix typo if WITH_ENV is 0. | |
78 | (print_options): Print GCC compiler version if available and | |
79 | date/time options was compiled. If OPCODE_RULES, IGEN_FLAGS, | |
80 | and/or DGEN_FLAGS are defined, print them. | |
81 | ||
82 | * Makefile.in (all link actions): Pass SIM_CFLAGS as well as | |
83 | CFLAGS. | |
84 | (options.o): Compile options.o with OPCODE_RULES, IGEN_FLAGS, and | |
85 | DGEN_FLAGS defined, so they can be printed out. | |
86 | ||
87 | * igen.c (lf_print_c_validate): Check for WITH_ASSERT, so that | |
88 | this test can be compiled away if the user really wants a fast | |
89 | simulator by not doing assertion failures. | |
90 | ||
73c4941b MM |
91 | Wed Nov 8 13:19:47 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
92 | ||
c5addc19 MM |
93 | * options.c: New file to print out all of the WITH_ options. |
94 | * options.h: New include file to declare print_options. | |
95 | * debug.h (trace_options): Add trace_opts to call print_options. | |
96 | * debug.c (trace_description): Add trace_opts support. | |
97 | * main.c (main): If user requested options, print them. | |
98 | * sim_calls.c (sim_open): Ditto. | |
99 | ||
100 | * igen.c (opcode_field_new): Add void to make it a proper prototype. | |
101 | ||
102 | * emul_generic.c (emul_enter_call): Make printf_filtered arguments | |
103 | type correct. | |
104 | * emul_netbsd.c (do_kill): Ditto. | |
105 | * registers.c (registers_dump): Ditto. | |
106 | * vm.c (om_translate_effective_to_real): Ditto. | |
107 | * vm_n.h (vm_data_map_read_N): Ditto. | |
108 | (vm_data_map_write_N): Ditto. | |
109 | * devices.h (DTRACE_INIT): Ditto. | |
110 | (DTRACE_{ATTACH,DETACH}_ADDRESS): Ditto. | |
111 | (DTRACE_IO_{READ,WRITE}_BUFFER): Ditto. | |
112 | (DTRACE_DMA_{READ,WRITE}_BUFFER): Ditto. | |
113 | * devices.c (update_for_binary_section): Ditto. | |
114 | (write_stack_arguments): Ditto. | |
115 | (stack_ioctl_callback): Ditto. | |
116 | * device_tree.c (device_tree_add_passthrough): Ditto. | |
117 | (device_tree_{add,find}_device): Ditto. | |
118 | (device_tree_{add,find}_integer): Ditto. | |
119 | (device_tree_find_{string,boolean}): Ditto. | |
120 | (device_tree_init{,_device}): Ditto. | |
121 | (device_tree_dump): Ditto. | |
122 | * sim_calls.c (sim_{read,write}): Ditto. | |
123 | (sim_{fetch,store}_register): Ditto. | |
124 | (sim_stop_reason): Ditto. | |
125 | ||
126 | * sim_callbacks.h (printf_filtered): Declare with attribute | |
127 | printf, so we can enable format checks. | |
128 | ||
129 | * devices.c (console_io_{read,write}_buffer_callback): Cast swtich | |
130 | argument to int, since ANSI doesn't allow long switch values. | |
131 | * emul_netbsd.c (do___sysctl): Ditto. | |
132 | ||
133 | * emul_netbsd.c (do___sysctl): Fix up printf call. | |
134 | ||
135 | * corefile.c (core_translate): Don't do arithmetic with void * | |
136 | pointers. Cast to char * first. | |
137 | ||
138 | * function_unit.c (FUNC_{LOAD,STORE}): Rename from {LOAD,STORE} | |
139 | and change all uses. | |
140 | ||
73c4941b MM |
141 | * Makefile.in ({FUNC,MODEL,WARNING}_CFLAGS): New flags set by |
142 | configure --enable switches. | |
143 | (CONFIG_CFLAGS): Include FUNC_CFLAGS and MODE_CFLAGS. | |
144 | (.c.o): Include WARNING_CFLAGS. | |
145 | (CPU_H): Include function_unit.h. | |
146 | (LIB_OBJ): Include function_unit.o. | |
147 | (BUILT_SRC_WO_CONFIG): Split from BUILT_SRC and do not include | |
148 | config.h or ppc-config.h. | |
149 | (BUILT_SRC): Include BUILT_SRC_WO_CONFIG, config.h and | |
150 | ppc-config.h. | |
151 | (filter_filename.o): Include config.h/ppc-config.h dependencies. | |
c5addc19 MM |
152 | (idecode.o, semantics.o, psim.o): Specify CC line without |
153 | WARNING_CFLAGS so that we don't get all of the unused variable | |
154 | warnings that are generated. | |
73c4941b MM |
155 | (function_unit.o): Add rule to build. |
156 | (main.o, sim_calls.o): Add function_unit.h, itable.h dependencies. | |
157 | (mon.o): Include mon.c dependency. | |
158 | (TAGS): Depend on BUILT_SRC. | |
159 | (clean): Don't delete config.h or ppc-config.h | |
160 | ||
161 | * basics.h (sim_callbacks.h): Move include after the include of | |
162 | config.h and ppc-config.h. | |
163 | ||
164 | * bits.{h,c} (ROTL32,ROTL64): Move these functions to bits.c. Add | |
165 | support for BITS_INLINE to inline these. Add declarations to | |
166 | bits.h. | |
167 | ||
168 | * configure.in (--enable-sim-warnings): Add new option to specify | |
169 | compiler warnings for all modules except idecode.o and semantics.o | |
170 | which have lots of unused variables because they are machine | |
171 | generated. | |
172 | (--enable-sim-function-unit): New switch to configure whether | |
173 | function unit support is compiled in or not. | |
174 | (--enable-sim-{,default-}mode): New switches to control which cpu | |
175 | model is used. | |
176 | * configure: Regenerate. | |
177 | ||
178 | * corefile.c (core_attach_address_callback): Delete unused | |
179 | variable device_address. | |
180 | ||
181 | * cpu.c (struct _cpu): Add function unit pointer field func_unit. | |
182 | (cpu_create): If WITH_FUNCTION_UNIT, call function_unit_create. | |
183 | (cpu_init): If WITH_FUNCTION_UNIT, call function_unit_init. | |
184 | (cpu_halt): If WITH_FUNCTION_UNIT, call function_unit_halt. | |
185 | (cpu_function_unit): New function to return func_unit field. | |
186 | ||
187 | * cpu.h (function_unit.h): Include new include file. | |
188 | (cpu_function_unit): Declare. | |
189 | ||
190 | * debug.c (stdlib.h): Test HAVE_STDLIB_H, not HAVE_STDLIB. | |
191 | (config.h): Include config.h. | |
192 | ||
193 | * devices.c (icu_io_write_buffer_callback): Delete unused variable | |
194 | system. | |
195 | ||
196 | * emul_generic.c (emul_exit_call): Print out status value. | |
197 | ||
198 | * emul_netbsd.c (do_read): Delete unused variable nr_moved. | |
199 | ||
200 | * filter_filename.h (includes): Include config.h, ppc-config.h, | |
201 | not basics.h. | |
202 | ||
203 | * inline.c: Include bits.c if BITS_INLINE. Include | |
204 | function_unit.c if FUNCTION_UNIT_INLINE. | |
205 | ||
206 | * inline.h (INLINE_BITS): Define if BITS_INLINE. | |
207 | (INLINE_FUNCTION_UNIT): Define if FUNCTION_UNIT_INLINE. | |
208 | ||
209 | * interrupts.c (instruction_storage_interrupt): Delete unused | |
210 | variable nia. | |
211 | ||
212 | * lf.h (config.h): Include config.h. | |
213 | ||
214 | * main.c (includes): Include function_unit.c. If HAVE_UNISTD_H, | |
215 | include unistd.h. | |
216 | (usage): Update for -m model, -i, and -I options. | |
217 | (main): Delete unused variables stack_pointer and i. Add support | |
218 | for -i, -m model arguments. Call psim_print_info with verbose == | |
219 | 1 if -i, and verbose == 2 if -I. | |
220 | ||
221 | * mon.c (stdio.h): Include stdio.h to pick up sprintf prototype. | |
222 | (mon_issue): Call function_unit_issue if function units are | |
223 | supported. | |
224 | (mon_print_info): Take psim * argument. Print out information | |
225 | from function_unit if available. Move read/write stats to always | |
226 | print, instead of printing if verbose > 1. Fix up plural | |
227 | vs. singular usage. | |
228 | ||
229 | * mon.h (mon_print_info): Update prototype. | |
230 | ||
231 | * psim.c (current_ppc_model): Add global variable. | |
232 | (psim_print_info): Pass system argument to mon_print_info. | |
233 | ||
234 | * sim_calls.c (function_unit.h): Include. | |
235 | (sim_open): Add support for -i and -m model options. If -i call | |
236 | psim_print_info with verbose == 1, if -I, with verbose == 2. | |
237 | (sim_resume): Delete unused variable program_counter. | |
238 | ||
239 | * std-config.h (WITH_FUNCTION_UNIT): Define. | |
240 | (ppc_model): Add enumeration giving all PowerPC models currently | |
241 | known about. | |
242 | ({WITH,CURRENT}_PPC_MODEL): Define. | |
243 | (FUNCTION_UNIT_INLINE): Define. | |
244 | ||
245 | * table.c (config.h): Include config.h. | |
246 | ||
247 | * vm.c (om_virtual_to_real): Print pte_word_{0,1} so the compiler | |
248 | doesn't complain that they're unused. | |
249 | ||
250 | * vm_n.h (vm_data_map_read_N): Delete unused variable rval. | |
251 | ||
252 | Mon Nov 6 23:15:54 1995 Andrew Cagney <cagney@highland.com.au> | |
253 | ||
254 | * sim-endian.c (ppc-endian.c), sim-endian.h (ppc-endian.h): | |
255 | renameed. These files are target independant. | |
256 | * Makefile.in, basics.h: update for new name. | |
257 | ||
258 | * sim-endian.h (SWAP_N), sim-endian.c (_SWAP_1): Rename existing | |
259 | SWAP_<N> to _SWAP_<N> so that sim-endian.h can contain SWAP_N | |
260 | macro's as required. | |
261 | ||
262 | * sim-endian.c, sim-endian-n.h (new file): Move endian code into a | |
263 | debugable header file. | |
264 | ||
265 | * ppc-instructions (Byte-Reverse): Enable byte reverse | |
266 | instructions using SWAP_N macros. | |
267 | ||
0934e520 MM |
268 | Mon Nov 6 10:39:28 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
269 | ||
bea95815 MM |
270 | * Makefile.in (config.status): Remove references to config.make |
271 | and config.hdr. | |
272 | ||
0934e520 MM |
273 | * config.{make,hdr}: Delete, no longer used. |
274 | * build-psim: Ditto. | |
275 | ||
4dcb0cdd MM |
276 | Mon Nov 6 20:49:56 1995 Andrew Cagney <cagney@highland.com.au> |
277 | ||
278 | * sim_calls.c (sim_open): Fix parsing of `target sim' options. | |
279 | ||
280 | * device_tree.c (device_tree_add_string): Wasn't saving the value | |
281 | of the string being entered into the tree. | |
282 | ||
283 | * psim.c (create_filed_device_tree): Not terminating string device | |
284 | names with a null. | |
285 | ||
286 | * psim.c (psim_create): Use `env' instead of | |
287 | `environment-architecture' to be consistent with configure. | |
288 | Reconize user/uea, virtual/vea and operating/oea. | |
289 | ||
01860b7e FF |
290 | Sat Nov 4 12:29:45 1995 Fred Fish <fnf@cygnus.com> |
291 | ||
292 | * core.c: Rename to corefile.c | |
293 | * core.h: Rename to corefile.h | |
294 | * inline.c: Include corefile.h, renamed from core.h. | |
295 | * cpu.h: Include corefile.h, renamed from core.h | |
296 | * vm.c: Include corefile.h, renamed from core.h | |
297 | * corefile.c: Include corefile.h rather than core.h | |
298 | * README.psim (KNOWN PROBLEMS): Change core.* references to corefile.* | |
299 | references. | |
300 | * Makefile.in (CPU_H): Change core.h to corefile.h | |
301 | (vm.o): Change dependency to corefile.h | |
302 | (LIB_SRC): Change core.c to corefile.c. | |
303 | (LIB_OBJ): Change core.o to corefile.o. | |
304 | (corefile.o): Change dependencies to corefile.c, corefile.h. | |
305 | ||
056e975c MM |
306 | Fri Nov 3 11:37:24 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
307 | ||
308 | * ppc-instructions (data cache instructions): Make all data cache | |
309 | instructions nops instead of invalid instructions. | |
310 | ||
311 | * Makefile.in (CONFIG_CFLAGS): Add ALIGNMENT_CFLAGS and | |
312 | TIMEBASE_CFLAGS which weren't included. | |
313 | ||
a983c8f0 MM |
314 | Thu Nov 2 08:54:04 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
315 | ||
e61900e6 MM |
316 | * Makefile.in: Uncomment built file dependencies. |
317 | ||
c494cadd MM |
318 | * configure.in: Rewrite --enable-sim switch handling to use the |
319 | autoconf builtins so it works correctly if the configure or | |
320 | Makefile.in files are modified and make decides to rebuild | |
321 | Makefile. Also document all of the --enable-sim switches | |
322 | supported. Check whether getrusage and sys/resource.h are | |
323 | supported. | |
324 | * config.in: Regenerate. | |
325 | * configure: Regenerate. | |
326 | * Makefile.in: Add support for all of the variables set with | |
327 | --enable-sim switches. | |
328 | ||
329 | * Makefile.in (clean): make clean now removes all built sources as | |
330 | well. | |
331 | ||
332 | * cpu.c: Use HAVE_STRING_H, HAVE_STRINGS_H, HAVE_UNISTD_H, | |
333 | HAVE_TIME_H, HAVE_SYS_TIMES_H, HAVE_SYS_RESOURCE_H defined in | |
334 | the generated config.h. | |
335 | * debug.c: Ditto. | |
336 | * device_tree.c: Ditto. | |
337 | * devices.c: Ditto. | |
338 | * dgen.c: Ditto. | |
339 | * emul_netbsd.c: Ditto. | |
340 | * igen.c: Ditto. | |
341 | * lf.c: Ditto. | |
342 | * misc.c: Ditto. | |
343 | * psim.c: Ditto. | |
344 | * registers.c: Ditto. | |
345 | * sim_calls.c: Ditt. | |
346 | * table.c: Ditto. | |
347 | ||
348 | ||
a983c8f0 MM |
349 | * main.c (main): Call psim_print_info with verbose == 2. |
350 | ||
351 | * mon.c (mon_print_info): Align the cpu number and number of | |
352 | instructions fields. Do not print an instruction category if the | |
c494cadd MM |
353 | CPU did not execute any of those instructions. Print out number |
354 | of reads and writes. If getrusage is supported, print out number | |
355 | of simulated instructins per second. | |
a983c8f0 MM |
356 | |
357 | * configure.in: Add support for --enable-sim-opcode=stupid. | |
358 | * configure: Regenerate. | |
359 | ||
360 | Wed Nov 1 23:46:59 1995 Andrew Cagney - aka Noid <cagney@highland.com.au> | |
361 | ||
362 | * std-config (INLINE_DEVICE_TREE): Don't inline either of | |
363 | device_tree.c or devices.c. There is no significant gain. | |
364 | ||
365 | * configure.in, Makefile.in: add --enable-sim-icache=[0-9]* and | |
366 | IGEN_ICACHE macro. | |
367 | ||
368 | Wed Nov 1 23:46:59 1995 Andrew Cagney - aka Noid <cagney@highland.com.au> | |
369 | ||
370 | * igen.c (main), misc.h (target_a2i, i2target), misc.c: Add | |
371 | functions to convert between target and igen internal bit numbers. | |
372 | Make IO go through these functions. Add -b (bit size) and -h (high | |
373 | bit nr) options to igen. Typical usage would be: ./igen -b 16 -h | |
374 | 15 for a 16 bit instruction format with the msb given a number 15. | |
375 | ||
376 | Wed Nov 1 22:17:32 1995 Andrew Cagney - aka Noid <cagney@highland.com.au> | |
377 | ||
378 | * dgen.c (main): Was outputting optarg even when it was NULL. | |
379 | ||
380 | Tue Oct 31 23:48:33 1995 Andrew Cagney - aka Noid <cagney@highland.com.au> | |
381 | ||
382 | * vm_n.h (vm_data_map_load_N, vm_data_map_store_n), debug.h, | |
383 | debug.c: Add tracing of load/store unit (virtual) with -t | |
384 | load-store. | |
385 | ||
386 | Tue Oct 31 21:44:01 1995 Andrew Cagney - aka Noid <cagney@highland.com.au> | |
387 | ||
388 | * std-config.h (WITH_ENVIRONMENT): Add USER_ENVIRONMENT which does | |
389 | not include things such as the time base and events. | |
390 | ||
391 | * interrupt.c, sim_calls.c, cpu.h, vm.c, configure.in: Add UEA to | |
392 | all environment switches for above. | |
393 | ||
394 | * psim.c (psim_create): ditto - new device tree node name is | |
395 | /options/environment-architecture with values user, virtual and | |
396 | operating. | |
397 | ||
398 | Tue Oct 31 21:31:32 1995 Andrew Cagney - aka Noid <cagney@highland.com.au> | |
399 | ||
400 | * ppc-opcode-stupid: Third example of use of opcode table - this | |
401 | one expands all mtspr/mfspr and branch instructions. Appears to | |
402 | give about a 10% gain in performance if everything enabled. Also | |
403 | takes about 150mb of swap to build. | |
404 | ||
c143ef62 MM |
405 | Wed Nov 1 10:49:48 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
406 | ||
407 | * emul_netbsd.c (do_exit): Print arguments and close parenthesis | |
408 | if tracing, since exit doesn't go through emul_exit_call. | |
409 | (do_read): Print arguments if tracing. | |
410 | (do_write): Ditto. | |
411 | (do_open): Ditto. | |
412 | (do_break): Ditto. | |
413 | (do_kill): Ditto. | |
414 | (do_dup): Ditto. | |
415 | (do_sigprocmask): Replace trace with printing arguments if | |
416 | tracing. | |
417 | (do_ioctl): Print arguments if tracing. | |
418 | (do_umask): Ditto. | |
419 | (do_dup2): Ditto. | |
420 | (do_fcntl): Ditto. | |
421 | (do_gettimeofday): Ditto. | |
422 | (do_getrusage): Ditto. | |
423 | (do_fstatfs): Ditto. | |
424 | ||
425 | * filter_filename.c: New file to provide filter_filename to strip | |
426 | the directory prefix from a file. | |
427 | * filter_filename.h: New include file to declare filter_filename. | |
428 | ||
429 | * debug.h: Include filter_filename.h. | |
430 | (TRACE,DTRACE,ERROR): Use filter_filename on __FILE__. | |
431 | ||
432 | * misc.h: Include filter_filename.h. | |
433 | (ASSERT): Use filter_filename on __FILE__. | |
434 | ||
435 | * igen.c (lf_print_my_prefix): Use filter_filename on the filename | |
436 | argument. | |
437 | ||
438 | * Makefile.in: Add filter_filename support. | |
439 | ||
440 | * ppc-instructions (dcbi, icbi): Make these NOPs rather than | |
441 | invalid instructions. | |
442 | ||
443 | * configure.in: Add support for more --enable-sim-* switches. | |
444 | Use config.make and config.hdr to write to Makefile and config.h | |
445 | respectively. Don't rewrite Makefile, just append to it. | |
446 | * configure: Regenerate. | |
447 | * config.{make,hdr}: New shell scripts. | |
448 | ||
449 | * Makefile.in: Remove all variables set by configure.in. | |
450 | (psim.o): Depend on $(BUILT_SRC) also. | |
451 | ||
452 | * emul_netbsd.c (do_gettimeofday,do_getrusage): When comparing an | |
453 | integer, use 0, not NULL. | |
454 | ||
4b935ed4 MM |
455 | Tue Oct 31 15:20:04 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
456 | ||
457 | * configure.in: Add support for --enable-sim-inline, | |
458 | --enable-sim-bswap, --enable-sim-cflags, --enable-sim-complex, | |
459 | --enable-sim-switch, --enable-sim-duplicate, --enable-sim-filter, | |
460 | and --enable-sim-endian switch to control various Makefile | |
461 | variables. | |
462 | * configure: Regenerate from configure.in. | |
c143ef62 MM |
463 | * Makefile.in: Add various Make variables that the various |
464 | switches alter. | |
4b935ed4 MM |
465 | |
466 | * std-config.h (DEFAULT_INLINE): Don't set this to 2 if using GCC | |
467 | and optimizing by default. | |
468 | ||
c143ef62 | 469 | Fri Oct 27 19:26:27 1995 Andrew Cagney <cagney@highland.com.au> |
5b4d72dd MM |
470 | |
471 | * bits.h (ROTL32, ROTL64): Were functions, made them macros, now | |
472 | make them functions again. Appears 2.6.3 is confused by just a | |
473 | macro. | |
474 | ||
c143ef62 | 475 | Thu Oct 26 18:31:58 1995 Andrew Cagney <cagney@highland.com.au> |
5b4d72dd MM |
476 | |
477 | * ppc-endian.c (SWAP_8): Fix 8 byte swap! | |
478 | ||
479 | * psim.c (psim_create): Not correctly checking that runtime | |
480 | configuration of things like ENDIAN, ENVIRONMENT and ALIGNMENT | |
481 | matched the compiled in ones. | |
482 | ||
483 | * debug.h (ITRACE), igen.c: Tidy up more tracing flags - | |
484 | trace_semantics is now different to trace_idecode, the former | |
485 | checks the cache. | |
486 | ||
c143ef62 | 487 | Tue Oct 24 21:54:13 1995 Andrew Cagney <cagney@highland.com.au> |
5b4d72dd MM |
488 | |
489 | * ppc-instructions (mtsrin): Missing instruction | |
490 | * ppc-instructions (mfsrin): Missing instruction | |
491 | * ppc-instructions (eieio): Missing instruction | |
492 | ||
c143ef62 | 493 | Tue Oct 24 20:55:29 1995 Andrew Cagney <cagney@highland.com.au> |
5b4d72dd MM |
494 | |
495 | * build-psim: New shell script - see internals for usage, | |
496 | simplifies the process of building custom simulators. | |
497 | ||
c143ef62 | 498 | Mon Oct 23 23:48:59 1995 Andrew Cagney <cagney@highland.com.au> |
5b4d72dd MM |
499 | |
500 | * std-config.h (SEMANTICS_INLINE): Tidy up notes on each of the | |
501 | INLINE macros. Make SEMANTICS_INLINE == 1 if DEFAULT_INLINE == 2. | |
502 | Don't use DEFAULT_INLINE to define REGISTERS_INLINE DEVICES_INLINE | |
503 | DEVICE_TREE_INLINE or INTERRUPTS_INLINE as none of these are on | |
504 | the instruction or data critical paths. | |
505 | ||
506 | * FIXME: need to set up OS_EMUL_INLINE/EMUL_GENERIC_INLINE but | |
507 | not on critical path. | |
508 | ||
509 | * FIXME: devices.c/emul_netbsd.c would benefit (slightly) from | |
510 | the inclusion of device_tree.c/emul_generic.c. | |
511 | ||
c143ef62 | 512 | Mon Oct 23 00:31:50 1995 Andrew Cagney <cagney@highland.com.au> |
5b4d72dd MM |
513 | |
514 | * os_emul.[hc], emul_generic.[hc], emul_netbsd.[hc]: replace | |
515 | system.[hc]. Start of suport for multiple emulations and | |
516 | emulation state (os_emul object). | |
517 | ||
518 | * emul_generic.[hc]: Start of code to implement proper system call | |
519 | tracing (from spy). | |
520 | ||
c143ef62 | 521 | Sun Oct 22 21:33:51 1995 Andrew Cagney <cagney@highland.com.au> |
5b4d72dd MM |
522 | |
523 | * cpu.h, cpu.c (cpu_init): New function, zero the registers before | |
524 | the processor is started. Fixes problem of registers being | |
525 | undefined when restarting from within gdb. | |
526 | ||
527 | * cpu.h, cpu.c (cpu_flush_icache): New function, flushes the | |
528 | instruction cache (if present). Fixes problem of cpu caching gdb | |
529 | breakpoint instructions. | |
530 | ||
531 | FIXME: PSIM sometimes aborts calling error(), it should instead | |
532 | call sim_error() say which takes care of housekeeping such as | |
533 | saving the CIA before calling error. | |
534 | ||
535 | * NOTE: cpu_flush_cache() instead of cpu_synchronize_context() is | |
536 | used when restarting a simulation because the latter has the | |
537 | unwanted side effect (well I as a kernel hacker think it is) of | |
538 | performing an isync when the instruction stream doesn't contain | |
539 | one. | |
540 | ||
c143ef62 | 541 | Sun Oct 22 19:27:48 1995 Andrew Cagney <cagney@highland.com.au> |
5b4d72dd MM |
542 | |
543 | * mon.h (new), mon.c (new), std-config.h (WITH_MON): Performance | |
544 | monitoring module. Counts both instructions issued and | |
545 | load/stores. | |
546 | ||
547 | * NOTE: mon does not contain to count instruction loads as this | |
548 | information is already available from the mon_issue() hook. | |
549 | ||
550 | * FIXME: mon doesn't have access to register usage information. | |
551 | This is needed if the user wants to monitor things like register | |
552 | stalls. | |
553 | ||
554 | * igen.c (lf_print_c_semantic), vm_n.h: Add counting code. | |
555 | ||
556 | * psim.h, psim.c (psim_create), cpu.h, cpu.c (cpu_create): Attach | |
557 | a common monitor to each of the cpus. Delete | |
558 | cpu_increment_number_of_insns() and cpu_get_number_of_insns() | |
559 | replaced by copied code in mon.[hc]. | |
560 | ||
c143ef62 | 561 | Sun Oct 22 18:42:45 1995 Andrew Cagney <cagney@highland.com.au> |
5b4d72dd MM |
562 | |
563 | * sim_calls.c, main.c, psim.c (psim_create): always create | |
564 | `WITH_SMP' cpus. The actual number of CPU's active in a | |
565 | simulation run is taken from the device node: /init/smp (an | |
566 | integer). WITH_SMP changed to 2 (remember to put it back to 0). | |
567 | ||
c143ef62 | 568 | Fri Oct 20 17:26:54 1995 Andrew Cagney <cagney@highland.com.au> |
5b4d72dd MM |
569 | |
570 | * system.c: More system call emulation. If code appears NetBSD | |
571 | specific, make conditional to being compiled on a NetBSD system | |
572 | (sigh). | |
573 | ||
c143ef62 | 574 | Wed Oct 18 23:02:20 1995 Andrew Cagney <cagney@highland.com.au> |
5b4d72dd MM |
575 | |
576 | * Makefile.in, gen.c(delete), igen.c(new), dgen.c(new), | |
577 | lf.[ch](new), table.[ch](new): Split into two generators - igen | |
578 | that outputs the instruction tables and dgen that outputs the spr | |
579 | tables. Add -f (filter out) flag to igen to filter out certain | |
580 | instructions (ex 64 bit ones) from the created tables. Include | |
581 | $(LIBIBERTY_LIB) in link options in case host lacks some libc | |
582 | functions. | |
583 | ||
584 | * NOTE: igen, since it was originally written for the | |
585 | PowerPC/RS6000, things the MSB is 0 and the LSB is 63{31}. | |
586 | ||
587 | * Makefile.in, std-config.h, ppc-cache-rules(new), | |
588 | ppc-opcode-complex(new), ppc-opcode-simple(new): (for igen) Create | |
589 | cache-rule and opcode-rule tables from macros found std-config.h. | |
590 | Delete corresponding macro's from std-config.h. | |
591 | ||
592 | * FIXME: under this new igen scheme, when playing around with igen | |
593 | options, you'll find that depenencies don't work very well. | |
594 | ||
595 | * igen.c (gen_itable_c, gen_itable_h), Makefile.in: code to output | |
596 | an table of all the instructions. Code to output a type | |
597 | enumerating all the instructin names. | |
598 | ||
599 | * igen.c(lf_print_c_semantic): Move call to increment instruction | |
600 | counter so that it occures _after_ the instruction has been fully | |
601 | validated, was double counting illegal/invalid instructions. Add | |
602 | conditional so only compiled in when WITH_PROFILE enabled (enabled | |
603 | by default). | |
604 | ||
605 | * igen.c, cpu.h, cpu.c(cpu_increment_number_of_insns): Include | |
606 | itable.h, count individual instruction types not just total, | |
607 | adjust reporting functions to output this. | |
608 | ||
609 | * ppc-instructions (64 bit Load Doubleword with Update Indexed): | |
610 | Had 32./ instead of 31./ | |
611 | ||
612 | * ppc-instructions (64 bit Store Double Word Conditional Indexed): | |
613 | bitrot - updated to use newer CR register operators. | |
614 | ||
615 | * ppc-instructions (64bit Floating Convert from Integer | |
616 | Doubleword): Correct call to Round_Float(). | |
617 | ||
c143ef62 | 618 | Mon Oct 16 00:31:20 1995 Andrew Cagney <cagney@highland.com.au> |
5b4d72dd MM |
619 | |
620 | * basics.h: #include "sim_callbacks.h" earlier so that its | |
621 | prototypes are declared in all other header files. | |
622 | ||
623 | * bits.h, bits.c, idecode_expression.h (ROTL32, ROTL64): Update | |
624 | doc in bits.h, remove dead code in bits.c, move ROTL32/ROTL64 into | |
625 | bits.h. | |
626 | ||
627 | * FIXME: the bits.h/bits.c macro's should be replaced with | |
628 | (inline) c functions. | |
629 | ||
630 | * cpu.c(cpu_add_commas), device_tree.h, device_tree.c(scand_*): | |
631 | Add size of buffer argument to functions writing a string into a | |
632 | buffer. Check for buffer overflow. | |
633 | ||
c143ef62 | 634 | Sun Oct 15 22:16:11 1995 Andrew Cagney <cagney@highland.com.au> |
5b4d72dd MM |
635 | |
636 | * devices.h, devices.c, debug.h, debug.c: add macro's for tracing | |
637 | of each device. Make parameter names consistent so macros work. | |
638 | Use macro's in device functions. | |
639 | ||
640 | * device_tree.c, devices.h, devices.c: include path to device in a | |
641 | devices node when creating it. | |
642 | ||
643 | * device_tree.c, debug.h, debug.c: Add tracing of `device-tree'. | |
644 | ||
645 | * core.c: add tracing of core-device, adjust parameter names in | |
646 | core functions to be consistent with those in devices*. | |
647 | ||
c143ef62 | 648 | Sun Oct 15 20:33:20 1995 Andrew Cagney <cagney@highland.com.au> |
5b4d72dd MM |
649 | |
650 | * debug.h, debug.c (trace_option): New function. Parses the trace | |
651 | option, updating the trace array. | |
652 | ||
653 | * debug.h, debug.c (trace_usage): New function. Outputs the list | |
654 | of all possible trace options. | |
655 | ||
656 | * sim_calls.c (sim_open), main.c (main): Use new trace_option() to | |
657 | parse trace options specified with the simpler -t flag. Adjust | |
658 | usage. | |
659 | ||
660 | * FIXME: basic parsing of command line options is still duplicated | |
661 | by main.c and sim_calls.c | |
662 | ||
22ddef46 MM |
663 | Thu Oct 26 10:42:28 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
664 | ||
e89929cd MM |
665 | * Makefile.in (clean): Delete *.i and *.out files. |
666 | ||
22ddef46 MM |
667 | * ppc-endian.c (SWAP_n): Add SET argument to allow use of SWAP |
668 | macros for either assignment or return. Fix SWAP_8 to use a | |
669 | union, and two SWAP_4's. Delete SWAP_N, since nobody uses it now. | |
670 | (ENDIAN_N): Add SET argument to SWAP_n calls. Delete macro defs | |
671 | that hardwired swapping on/off, let optimizer delete dead code. | |
672 | ||
673 | * main.c (main): Add printf that we caught a signal and print out | |
674 | the failing address. | |
675 | ||
64415b76 FF |
676 | Thu Oct 19 21:43:39 1995 Fred Fish <fnf@fishfood.amigalib.com> |
677 | ||
678 | * Makefile.in: Remove tabs from otherwise empty line. | |
679 | Confuses many non-GNU versions of "make". | |
680 | ||
681 | Wed Oct 18 08:51:25 1995 Michael Meissner <meissner@tiktok.cygnus.com> | |
682 | ||
683 | * Makefile.in (clean): Delete files produced by gen. | |
684 | ||
5b0d3b14 MM |
685 | Mon Oct 16 17:34:24 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
686 | ||
687 | * gen.c (lf_print_c_semantic_function): Move counting # of | |
688 | instructions here so it works with caching. | |
689 | (gen_idecode_c): Move from here. | |
690 | ||
9aa8a788 MM |
691 | Wed Oct 11 17:13:15 1995 Andrew Cagney <cagney@highland.com.au> |
692 | ||
693 | * gen.c, ppc-instructions, psim.c: Fix code for generating | |
694 | cracking instruction cache. Delete the code that cached just the | |
695 | result from doing an instruction lookup - this ran slower than no | |
696 | cache at all. | |
697 | ||
a1fe883f MM |
698 | Fri Oct 13 09:58:43 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
699 | ||
9aa8a788 MM |
700 | * Makefile.in (gen.o): Include $(INLINE_CFLAGS). |
701 | ||
a1fe883f MM |
702 | * debug.h (ppc_trace): Rename from trace, to avoid a conflict with |
703 | TCL when gdb is linked with the simulator. | |
704 | * debug.c (ppc_trace): Ditto. | |
705 | * sim_calls.c (sim_open): Change trace -> ppc_trace. | |
706 | * main.c (main): Ditto. | |
707 | ||
708 | * cpu.c (cpu_add_commas): Remove extra static. | |
709 | ||
8e20a3ac MM |
710 | Thu Oct 12 11:35:53 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
711 | ||
9f5912cb MM |
712 | * Makefile.in (psim.o): Now that inlines are turned on, make |
713 | psim.o depend on all sources. | |
714 | ||
715 | * cpu.c (cpu_add_commas): New function to format a long with | |
716 | commas. | |
717 | (cpu_print_info): Use it to print number_of_insns. | |
718 | ||
a8958dd4 MM |
719 | * ppc-endian.c (SWAP_n): New macros to speed up byte swapping for |
720 | 2, 4, and 8 bytes. | |
721 | (ENDIAN_N): If both target and host byte orders are known, don't | |
722 | bother testing CURRENT_{TARGET,HOST}_BYTE_ORDER. | |
723 | ||
724 | * ppc-endian.h (target specific H2T_n/T2H_n macros): Remove #if 0 | |
725 | to allow target specific H2T_n/T2H_n macros to be used. | |
726 | (htonl, ntohl): If compiled on a 486 by GCC and WITH_BSWAP is | |
727 | non-zero, redefine the htonl/ntohl macros to use the BSWAP instead | |
728 | of the 3 instruction sequence that runs on 386s. | |
729 | ||
730 | * std-config.h (WITH_{HOST,TARGET}_BYTE_ORDER): Don't override if | |
731 | specified on the compile line. | |
732 | (WITH_BSWAP): If not defined, define as 0. | |
733 | ||
8e20a3ac MM |
734 | * Makefile.in (INLINE_CFLAGS): Add -DDEFAULT_INLINE=2 to add |
735 | default inline support. Pass INLINE_CFLAGS when compiling. | |
736 | ||
737 | * devices.{h,c} (unimp_device_ioctl): Use STATIC_DEVICES, not | |
738 | INLINE_DEVICES since GCC doesn't like inline functions that | |
739 | accept variable arguments. | |
740 | (stack_ioctl_callback): Make function just static because GCC | |
741 | doesn't like inline functions that accept variable arguments. | |
742 | ||
743 | * devices.h (STATIC_DEVICES): Define as empty if not defined. | |
744 | ||
745 | * inline.c: Correct pathnames of included C files to match current | |
746 | implementation. | |
747 | ||
748 | * inline.h (STATIC_DEVICES): If DEVICES_INLINE is defined to be | |
749 | non-zero, define STATIC_DEVICES to be static. | |
750 | ||
751 | * std-config.h (INLINE): If GNU C and optimizing, define this as | |
752 | __inline__. | |
753 | (DEFAULT_INLINE): If not defined, define as 0. | |
754 | (ENDIAN_INLINE): If not defined, define as DEFAULT_INLINE. | |
755 | ({CORE,VM,CPU,EVENTS,REGISTERS,INTERRUPTS}_INLINE): Ditto. | |
756 | ({SPREG,IDECODE}_INLINE): Ditto. | |
757 | ||
c143ef62 | 758 | Wed Oct 11 17:13:15 1995 Andrew Cagney <cagney@highland.com.au> |
8e20a3ac MM |
759 | |
760 | * ppc-instructions: Initial cut of floating point suport added. | |
761 | Of note include - use of host IEEE floating point instructions, | |
762 | use of PowerPC manual pseudo code to handle the FPSCR. It is not | |
763 | currently a pretty sight. | |
764 | ||
765 | * memory_map.h, memory_map.c, memory_map_n.h, core.h, core.c: | |
766 | merge into core.h, core.c, core_n.h. The type memory_map replaced | |
767 | with core_map. This removes a level of pointer indirection when | |
768 | translating an address. | |
769 | ||
770 | * memory_map.h, memory_map.c, memory_map_n.h: delete. | |
771 | ||
772 | * Makefile.in et.al (sorry): tweek to use new core, core_map and | |
773 | core.h. | |
774 | ||
c143ef62 | 775 | Wed Oct 11 12:10:26 1995 Andrew Cagney <cagney@highland.com.au> |
8e20a3ac MM |
776 | |
777 | * sim_calls.c, main.c: Add -g (trace_gdb) option, add tracing to | |
778 | most of the other functions in sim_calls.c. | |
779 | ||
780 | * basics.h (CONCAT3), memory_map.c, memory_map_n.h, Makefile.in: | |
781 | Add macros to better cover up `generic' code. Makes it possible | |
782 | to step through the generic code! | |
783 | ||
784 | * vm.c, vm_n.h, Makefile.in: ditto | |
785 | ||
c143ef62 | 786 | Tue Oct 10 15:42:59 1995 Andrew Cagney <cagney@highland.com.au> |
8e20a3ac MM |
787 | |
788 | * devices.h, devices.c, memory_map.h, memory_map.c: Changed | |
789 | callback interface so that there is a read/write buffer but no | |
790 | read/write_word. VEA default memory read/write handler sometimes | |
791 | couldn't resolve an access and of those some were for a memory | |
792 | fault and some were because gdb was making a bogus request. | |
793 | ||
794 | * devices.h, devices.c, memory_map.h, memory_map.c, vm.h, vm.c: | |
795 | eliminate transfer_mode (raw or cooked) parameter from read/write | |
796 | buffer. | |
797 | ||
c143ef62 | 798 | Fri Oct 6 20:23:56 1995 Andrew Cagney <cagney@highland.com.au> |
8e20a3ac MM |
799 | |
800 | * ppc-instructions (fmul, fmuls): correct instruction format - had | |
801 | FRB instead of FRC. | |
802 | ||
c143ef62 | 803 | Wed Oct 4 17:31:12 1995 Andrew Cagney <cagney@highland.com.au> |
8e20a3ac MM |
804 | |
805 | * psim.c, device_tree.h, device_tree.c, devices.c (printd_*, | |
806 | scand_*): new functions to parse/print fields in device names | |
807 | while hiding any machine dependency. | |
808 | ||
809 | * devices.c, psim.c: Change the stack init code so that it is | |
810 | handled by a device. Arguments passed across using a device ioctl | |
811 | (hack). | |
812 | ||
813 | * devices.h, devices.c: device ioctl callback changed to allow a | |
814 | variable number of arguments. This gives greater flexability and | |
815 | greater chance of bugs. | |
816 | ||
c143ef62 | 817 | Tue Oct 3 22:01:56 1995 Andrew Cagney <cagney@highland.com.au> |
8e20a3ac MM |
818 | |
819 | * main.c (printf_filtered, error): Missing va_end() to close off | |
820 | variable argument use. | |
821 | ||
822 | * Makefile.in (tmp-gencode): comment out hack to get around some | |
823 | versions of make not handling files being created as side-effects. | |
824 | ||
825 | * gen.c (lf_open): Add -n (real_file_name) option. Specifies an | |
826 | alternative file name to use in output files for things like #line | |
827 | macros. | |
828 | ||
829 | Makefile.in (tmp-gencode): Use gen -n so that debug info is | |
830 | correct. | |
831 | ||
832 | * Makefile.in (TARGETLIB): Use this instead of libsim.a in the | |
833 | Makefile. | |
834 | ||
f46f3807 MM |
835 | Sat Oct 7 22:40:59 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
836 | ||
837 | * sim_calls.c (sim_set_callbacks): Define new function. | |
838 | ||
7ca054e8 MM |
839 | Fri Oct 6 17:23:10 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
840 | ||
841 | * psim.c (psim_print_info): Print exit status or signal number. | |
842 | ||
8eab189b MM |
843 | Mon Oct 2 11:46:37 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
844 | ||
344d5a23 | 845 | * cpu.c (struct _cpu): Add number_of_insns field to trace how many |
83d96c6e MM |
846 | instructions are executed. |
847 | (cpu_increment_number_of_insns): New function to increment the | |
848 | number of instructions issued. | |
849 | (cpu_get_number_of_insns): New function to return the number of | |
850 | instructions issued. | |
851 | (cpu_print_info): New function to print cpu related information. | |
852 | At present, print the number of instructions executed. | |
853 | ||
854 | * gen_idecode_c: Emit call to cpu_increment_number_of_insns within | |
855 | idecode_issue. | |
856 | ||
857 | * psim.c (psim_print_info): New function to iterate over each of | |
858 | the CPU's calling cpu_print_info. | |
859 | ||
860 | * psim.h,cpu.h: Add new declarations. | |
861 | ||
8eab189b MM |
862 | * sim_calls.c (sim_open): Add argument processing to add the same |
863 | switches main.c accepts for the standalone processor. | |
83d96c6e MM |
864 | (sim_close): Call psim_print_info if -I. |
865 | ||
8eab189b | 866 | * main.c (main): Add comment saying to update sim_calls.c when |
83d96c6e | 867 | adding switches. Add -I to call psim_print_info when done. |
e1aaf979 | 868 | (usage): Update usage message. |
8eab189b | 869 | |
d8d46596 MM |
870 | Sun Oct 1 13:52:59 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
871 | ||
872 | * main.c (printf_filtered): Correct to match new prototype. | |
873 | ||
9d3b4701 MM |
874 | Sat Sep 30 20:47:05 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
875 | ||
876 | * sim_callbacks.h (printf_filtered): Correct prototype. | |
877 | ||
4f35cbff MM |
878 | Thu Sep 21 16:26:49 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
879 | ||
9d3b4701 MM |
880 | * device_tree.c (OEA_MEMORY_SIZE): Define if not defined to |
881 | 0x100000. | |
882 | (clayton_memory_size): Define as OEA_MEMORY_SIZE. | |
883 | ||
4f35cbff MM |
884 | * std-config.h (WITH_TRACE): Default to 1 now. |
885 | ||
886 | * psim.c (write_stack_arguments): Don't write any stack arguments | |
887 | if OEA. | |
888 | ||
889 | * main.c (main): Switch to using getopt. Make -p also set | |
9d3b4701 MM |
890 | trace_semantics. Make -a turn on all trace flags. Make -C turn |
891 | on console tracing. | |
4f35cbff MM |
892 | |
893 | * device_tree.c (create_option_device_node): Assume a program is | |
894 | OEA if the start address is < 4096, not just == 0. | |
895 | ||
602677ad ILT |
896 | Wed Sep 20 13:36:06 1995 Ian Lance Taylor <ian@cygnus.com> |
897 | ||
898 | * Makefile.in (maintainer-clean): New synonym for realclean. | |
899 | ||
0384d2e3 MT |
900 | Sun Sep 10 10:23:56 1995 Michael Tiemann <tiemann@axon.cygnus.com> |
901 | ||
902 | * registers.c (register_description): Add gdb synonyms for cr | |
903 | (cnd) and msr (ps). | |
904 | ||
905 | Fri Sep 8 13:16:10 1995 Ian Lance Taylor <ian@cygnus.com> | |
906 | ||
907 | * Makefile.in (install): Don't install in $(tooldir). | |
908 | ||
8b3797aa MM |
909 | * configure.in: Call AC_CONFIG_HEADER. Don't try to use |
910 | bfd/hosts/*.h file or bfd/config/*.mh file. Call AC_PROG_CC and | |
911 | AC_PROG_RANLIB. Substitute in values for CFLAGS, HDEFINES, AR, | |
912 | and CC_FOR_BUILD. Call AC_CHECK_HEADERS for various header files. | |
913 | Touch stamp.h if creating config.h. | |
914 | * configure: Rebuild. | |
915 | * config.in: New file, created by autoheader. | |
916 | * Makefile.in (AR): Define as @AR@. | |
917 | (CC): New variable, defined as @CC@. | |
918 | (CFLAGS): Define as @CFLAGS@. | |
919 | (CC_FOR_BUILD): New variable, defined as @CC_FOR_BUILD@. | |
920 | (RANLIB): Define as @RANLIB@. | |
921 | (HDEFINES, TDEFINES): New variables. | |
922 | (@host_makefile_frag@): Remove. | |
923 | (mostlyclean): Make the same as clean, not distclean. | |
924 | (clean): Remove config.log. | |
925 | (distclean): Remove config.h and stamp-h. | |
926 | (Makefile): Don't depend upon @frags@. Just rebuild Makefile when | |
927 | invoking config.status. | |
928 | (config.h, stamp-h): New targets. | |
929 | (gen, gen.o): Build with CC_FOR_BUILD, not CC. | |
930 | (ppc-config.h): Rename from old config.h build. | |
931 | * (basics.h,gen.c,ppc-endian.c,psim.c): Include ppc-config.h. | |
932 | ||
4f965b81 MM |
933 | Fri Sep 8 09:51:03 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
934 | ||
935 | * configure{,.in}: Don't include sysdep.h from bfd, since bfd no | |
936 | longer provides it. | |
937 | * basics.h (sysdep.h): Don't include it. | |
938 | * Makefile.in (BASICS_H): Remove sysdep.h. | |
939 | ||
c143ef62 | 940 | Wed Sep 6 13:25:42 1995 Andrew Cagney <cagney@highland.com.au> |
4f965b81 MM |
941 | |
942 | * core.c (core_add_data): First growth of bss was being put at | |
943 | wrong address (0) instead of &end. | |
944 | ||
945 | * core.c (core_add_stack, core_add_data): Was not handling case | |
946 | where bss/stack is grown across the current end-of-{bss,stack}. | |
947 | ||
c143ef62 | 948 | Wed Sep 6 00:46:10 1995 Andrew Cagney <cagney@highland.com.au> |
4f965b81 MM |
949 | |
950 | * system.c (system_call): Fix SYS_break - was aligning bss to a | |
951 | page boundary instead of just an 8 byte one; On first call sbrk(0) | |
952 | != sbrk(0). | |
953 | ||
954 | Thu Aug 24 14:48:54 1995 Michael Meissner <meissner@tiktok.cygnus.com> | |
955 | ||
956 | * Makefile.in (install): Fix install rule. | |
957 | ||
cb7a6892 MM |
958 | Tue Aug 22 09:31:18 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
959 | ||
960 | * system.c (system_call): Add read support. | |
961 | ||
962 | * main.c (main): -t sets trace_device_tree. Correct usage message | |
963 | to current reality. | |
964 | ||
965 | * device_tree.c (update_memory_node_for_section): Make tracing | |
966 | output line up. If not code or readonly, assume that the section | |
967 | is a data section and has read/write permissions. Add readonly | |
968 | support. | |
969 | ||
970 | * core.c (create_core_from_addresses): Print end address in traces | |
971 | and make tracing output line up. | |
972 | ||
973 | * Makefile.in: Rewrite from Makefile to work with the Cygnus | |
974 | environment, and support compiling in a different directory than | |
975 | the sources reside in. | |
976 | ||
977 | * ppc-endian.h: Rename from endian.h so that it doesn't get | |
978 | confused with /usr/include/sys/endian.h on Linux. Add Linux | |
979 | endian support. | |
980 | ||
981 | * ppc-endian.c: Rename to be consistant with ppc-endian.h. | |
982 | Include ppc-endian.h, not endian.h. | |
983 | ||
984 | * basics.h (sysdep.h): Include sysdep.h that configure makes. | |
985 | Include ppc-endian.h, not endian.h. | |
986 | ||
987 | * std-config.h: Rename from ppc-config. Put #ifndefs around most | |
988 | configuration macros, so they can be overridden via CFLAGS. By | |
989 | default, turn off tracing. | |
990 | ||
991 | * configure.in: Clone from other simulator targets. | |
992 | * configure: Generate via autoconf from configure.in. | |
993 | ||
c143ef62 | 994 | Sat Aug 19 09:05:32 1995 Andrew Cagney <cagney@highland.com.au> |
cb7a6892 MM |
995 | |
996 | * ppc-instructions: fix srawi (was geting XER[CA] real wrong). | |
997 | ||
998 | * interrupts.c (data_storage_interrupt): allow stack to grow by | |
999 | upto one MB per increment. | |
1000 | ||
1001 | * ppc-instructions: divw was computing rA / rA not rA / rB | |
1002 | ||
1003 | * main.c (main): really stupid. Wasn't exiting with correct status | |
1004 | ||
c143ef62 | 1005 | Fri Aug 18 00:38:01 1995 Andrew Cagney <cagney@highland.com.au> |
cb7a6892 MM |
1006 | |
1007 | * system.c (system_call): add system calls kill(2) and getpid(2). | |
1008 | ||
1009 | * main.c (main): Check/return exit status when simulation | |
1010 | finishes. | |
1011 | ||
c143ef62 | 1012 | Thu Aug 17 14:29:18 1995 Andrew Cagney <cagney@highland.com.au> |
cb7a6892 MM |
1013 | |
1014 | * device_tree.c (create_option_device_node): Alignment rules (at | |
1015 | least for the moment) now are for strict alignment only for LE OEA | |
1016 | mode. (Because of compiler problems). | |
1017 | ||
1018 | * system.c (system_call) SYS_exit: Wasn't exiting with correct status. | |
1019 | ||
c143ef62 | 1020 | Thu Aug 17 01:16:38 1995 Andrew Cagney <cagney@highland.com.au> |
cb7a6892 MM |
1021 | |
1022 | * vm.c (DEFINE_VM_DATA_MAP_WRITE_N): For miss aligned transfer | |
1023 | forgot to return. | |
1024 | ||
1025 | * system.c (system_call): didn't page align break argument before | |
1026 | determining increment break increment. | |
1027 | ||
1028 | * psim/ppc: Re-arange entire directory structure so that | |
1029 | everything lives in the one directory. While a pain for cleaning, | |
1030 | makes building across multiple architectures much simpler. | |
1031 | ||
1032 | * devices.c, device_tree.c: Added code that provides a simple | |
1033 | illustration of how an interrupt control device could be | |
1034 | implemented. | |
1035 | ||
1036 | * devices.c: Added code so that the dumb console device can read | |
1037 | (from stdin) as well as write to stdout. | |
1038 |