update usage message
[deliverable/binutils-gdb.git] / sim / ppc / ChangeLog
CommitLineData
8eab189b
MM
1Mon Oct 2 11:46:37 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2
344d5a23 3 * cpu.c (struct _cpu): Add number_of_insns field to trace how many
83d96c6e
MM
4 instructions are executed.
5 (cpu_increment_number_of_insns): New function to increment the
6 number of instructions issued.
7 (cpu_get_number_of_insns): New function to return the number of
8 instructions issued.
9 (cpu_print_info): New function to print cpu related information.
10 At present, print the number of instructions executed.
11
12 * gen_idecode_c: Emit call to cpu_increment_number_of_insns within
13 idecode_issue.
14
15 * psim.c (psim_print_info): New function to iterate over each of
16 the CPU's calling cpu_print_info.
17
18 * psim.h,cpu.h: Add new declarations.
19
8eab189b
MM
20 * sim_calls.c (sim_open): Add argument processing to add the same
21 switches main.c accepts for the standalone processor.
83d96c6e
MM
22 (sim_close): Call psim_print_info if -I.
23
8eab189b 24 * main.c (main): Add comment saying to update sim_calls.c when
83d96c6e 25 adding switches. Add -I to call psim_print_info when done.
e1aaf979 26 (usage): Update usage message.
8eab189b 27
d8d46596
MM
28Sun Oct 1 13:52:59 1995 Michael Meissner <meissner@tiktok.cygnus.com>
29
30 * main.c (printf_filtered): Correct to match new prototype.
31
9d3b4701
MM
32Sat Sep 30 20:47:05 1995 Michael Meissner <meissner@tiktok.cygnus.com>
33
34 * sim_callbacks.h (printf_filtered): Correct prototype.
35
4f35cbff
MM
36Thu Sep 21 16:26:49 1995 Michael Meissner <meissner@tiktok.cygnus.com>
37
9d3b4701
MM
38 * device_tree.c (OEA_MEMORY_SIZE): Define if not defined to
39 0x100000.
40 (clayton_memory_size): Define as OEA_MEMORY_SIZE.
41
4f35cbff
MM
42 * std-config.h (WITH_TRACE): Default to 1 now.
43
44 * psim.c (write_stack_arguments): Don't write any stack arguments
45 if OEA.
46
47 * main.c (main): Switch to using getopt. Make -p also set
9d3b4701
MM
48 trace_semantics. Make -a turn on all trace flags. Make -C turn
49 on console tracing.
4f35cbff
MM
50
51 * device_tree.c (create_option_device_node): Assume a program is
52 OEA if the start address is < 4096, not just == 0.
53
602677ad
ILT
54Wed Sep 20 13:36:06 1995 Ian Lance Taylor <ian@cygnus.com>
55
56 * Makefile.in (maintainer-clean): New synonym for realclean.
57
0384d2e3
MT
58Sun Sep 10 10:23:56 1995 Michael Tiemann <tiemann@axon.cygnus.com>
59
60 * registers.c (register_description): Add gdb synonyms for cr
61 (cnd) and msr (ps).
62
63Fri Sep 8 13:16:10 1995 Ian Lance Taylor <ian@cygnus.com>
64
65 * Makefile.in (install): Don't install in $(tooldir).
66
8b3797aa
MM
67 * configure.in: Call AC_CONFIG_HEADER. Don't try to use
68 bfd/hosts/*.h file or bfd/config/*.mh file. Call AC_PROG_CC and
69 AC_PROG_RANLIB. Substitute in values for CFLAGS, HDEFINES, AR,
70 and CC_FOR_BUILD. Call AC_CHECK_HEADERS for various header files.
71 Touch stamp.h if creating config.h.
72 * configure: Rebuild.
73 * config.in: New file, created by autoheader.
74 * Makefile.in (AR): Define as @AR@.
75 (CC): New variable, defined as @CC@.
76 (CFLAGS): Define as @CFLAGS@.
77 (CC_FOR_BUILD): New variable, defined as @CC_FOR_BUILD@.
78 (RANLIB): Define as @RANLIB@.
79 (HDEFINES, TDEFINES): New variables.
80 (@host_makefile_frag@): Remove.
81 (mostlyclean): Make the same as clean, not distclean.
82 (clean): Remove config.log.
83 (distclean): Remove config.h and stamp-h.
84 (Makefile): Don't depend upon @frags@. Just rebuild Makefile when
85 invoking config.status.
86 (config.h, stamp-h): New targets.
87 (gen, gen.o): Build with CC_FOR_BUILD, not CC.
88 (ppc-config.h): Rename from old config.h build.
89 * (basics.h,gen.c,ppc-endian.c,psim.c): Include ppc-config.h.
90
4f965b81
MM
91Fri Sep 8 09:51:03 1995 Michael Meissner <meissner@tiktok.cygnus.com>
92
93 * configure{,.in}: Don't include sysdep.h from bfd, since bfd no
94 longer provides it.
95 * basics.h (sysdep.h): Don't include it.
96 * Makefile.in (BASICS_H): Remove sysdep.h.
97
98Wed Sep 6 13:25:42 1995 Andrew Cagney - aka Noid <cagney@kremvax>
99
100 * core.c (core_add_data): First growth of bss was being put at
101 wrong address (0) instead of &end.
102
103 * core.c (core_add_stack, core_add_data): Was not handling case
104 where bss/stack is grown across the current end-of-{bss,stack}.
105
106Wed Sep 6 00:46:10 1995 Andrew Cagney - aka Noid <cagney@kremvax>
107
108 * system.c (system_call): Fix SYS_break - was aligning bss to a
109 page boundary instead of just an 8 byte one; On first call sbrk(0)
110 != sbrk(0).
111
112Thu Aug 24 14:48:54 1995 Michael Meissner <meissner@tiktok.cygnus.com>
113
114 * Makefile.in (install): Fix install rule.
115
cb7a6892
MM
116Tue Aug 22 09:31:18 1995 Michael Meissner <meissner@tiktok.cygnus.com>
117
118 * system.c (system_call): Add read support.
119
120 * main.c (main): -t sets trace_device_tree. Correct usage message
121 to current reality.
122
123 * device_tree.c (update_memory_node_for_section): Make tracing
124 output line up. If not code or readonly, assume that the section
125 is a data section and has read/write permissions. Add readonly
126 support.
127
128 * core.c (create_core_from_addresses): Print end address in traces
129 and make tracing output line up.
130
131 * Makefile.in: Rewrite from Makefile to work with the Cygnus
132 environment, and support compiling in a different directory than
133 the sources reside in.
134
135 * ppc-endian.h: Rename from endian.h so that it doesn't get
136 confused with /usr/include/sys/endian.h on Linux. Add Linux
137 endian support.
138
139 * ppc-endian.c: Rename to be consistant with ppc-endian.h.
140 Include ppc-endian.h, not endian.h.
141
142 * basics.h (sysdep.h): Include sysdep.h that configure makes.
143 Include ppc-endian.h, not endian.h.
144
145 * std-config.h: Rename from ppc-config. Put #ifndefs around most
146 configuration macros, so they can be overridden via CFLAGS. By
147 default, turn off tracing.
148
149 * configure.in: Clone from other simulator targets.
150 * configure: Generate via autoconf from configure.in.
151
152Sat Aug 19 09:05:32 1995 Andrew Cagney - aka Noid <cagney@kremvax>
153
154 * ppc-instructions: fix srawi (was geting XER[CA] real wrong).
155
156 * interrupts.c (data_storage_interrupt): allow stack to grow by
157 upto one MB per increment.
158
159 * ppc-instructions: divw was computing rA / rA not rA / rB
160
161 * main.c (main): really stupid. Wasn't exiting with correct status
162
163Fri Aug 18 00:38:01 1995 Andrew Cagney - aka Noid <cagney@kremvax>
164
165 * system.c (system_call): add system calls kill(2) and getpid(2).
166
167 * main.c (main): Check/return exit status when simulation
168 finishes.
169
170Thu Aug 17 14:29:18 1995 Andrew Cagney <cagney@kremvax>
171
172 * device_tree.c (create_option_device_node): Alignment rules (at
173 least for the moment) now are for strict alignment only for LE OEA
174 mode. (Because of compiler problems).
175
176 * system.c (system_call) SYS_exit: Wasn't exiting with correct status.
177
178Thu Aug 17 01:16:38 1995 Andrew Cagney - aka Noid <cagney@kremvax>
179
180 * vm.c (DEFINE_VM_DATA_MAP_WRITE_N): For miss aligned transfer
181 forgot to return.
182
183 * system.c (system_call): didn't page align break argument before
184 determining increment break increment.
185
186 * psim/ppc: Re-arange entire directory structure so that
187 everything lives in the one directory. While a pain for cleaning,
188 makes building across multiple architectures much simpler.
189
190 * devices.c, device_tree.c: Added code that provides a simple
191 illustration of how an interrupt control device could be
192 implemented.
193
194 * devices.c: Added code so that the dumb console device can read
195 (from stdin) as well as write to stdout.
196
This page took 0.061137 seconds and 4 git commands to generate.