From h8300hds*
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
778c358d
JG
1Wed Feb 5 22:29:59 1992 John Gilmore (gnu at cygnus.com)
2
3 * mipsread.c (parse_symbol): Avoid clobbering enum pointer when
4 looking at its members. Improve guess between struct and union,
5 only assuming union if multiple members have offsets of zero.
6
bd49ef36
PB
7Tue Feb 4 18:05:44 1992 Per Bothner (bothner at cygnus.com)
8
9 * mipsread.c: Use (FP0_REGNUM-32) instead of magic number 6.
10 (This is just for clarity - and one day permitting us to
11 change FP0_REGNUM from 38 to 32, which would make more sense.)
12 * tm-mips.h: Added STAB_REG_TO_REGNUM macro, so that
13 register numbers in stabs-in-ecoff get handled correctly.
14
15Sat Feb 1 04:45:10 1992 Stu Grossman (grossman at cygnus.com)
16
17 * xm-vax.h, xm-vaxult.h, xm-vaxbsd.h, config/mh-vaxult,
18 config/mh-vaxbsd, configure.in: Split up config stuff for Vaxen
19 into BSD and Ultrix.
20
96499e96
JG
21Sat Feb 1 04:39:41 1992 John Gilmore (gnu at cygnus.com)
22
23 * dbxread.c (dbx_symfile_init): Call malloc, not xmalloc.
24
98f03b91
SG
25Sat Feb 1 04:15:41 1992 Stu Grossman (grossman at cygnus.com)
26
dafe57bc 27 * Makefile.in: Increment version to 4.4.1.
98f03b91
SG
28 * main.c (print_gdb_version): Update copyright notice.
29
30Sat Feb 1 01:43:11 1992 Per Bothner (bothner at cygnus.com)
31
32 * mipsread.c: Prepend "struct " to the names of structure
33 types, and similarly for enums and unions. (This used
34 to be done, but got lost in the re-write to "guess" the
35 difference between enum/struct/union.)
36 Also, guess that a tag is an enum if the first member
37 has type btNil.
38
3671f1fd
SG
39Fri Jan 31 21:45:51 1992 Stu Grossman (grossman at cygnus.com)
40
41 * xm-vax.h: #ifndef ultrix around #include of endian.h and
42 limits.h (sigh).
43
0c6efbcc
JG
44Fri Jan 31 00:05:01 1992 John Gilmore (gnu at cygnus.com)
45
ee7270cd
JG
46 * Projects: Patching executables is done.
47 * Makefile.in (VERSION): Roll to gdb-4.4.
75c86b57 48 * README, WHATS.NEW: Update for gdb-4.4.
ee7270cd 49
4a1dcb7f
JG
50 * symfile.c (reread_symbols): Whenever we reread one object
51 file's symbols, we must restart the scan, because the object_files
52 chain has been permuted.
53
0c6efbcc
JG
54 * exec.c (exec_files_info): Split out into print_section_info.
55 Print BFD filename of each section if it's not the default one.
56 * core.c (core_files_info): Call print_section_info.
57
58 * xm-vax.h: Include a few system header files whose definitions
59 must precede defs.h.
60 * language.c, language.h: Make some things const.
61 * expression.h, main.c: const spreads like ooze.
62
63 * mem-break.c (break_insn, break_insn_size): Use unsigned chars,
64 since BREAKPOINT values can be >0x80.
65
d58ea996
SG
66Thu Jan 30 17:21:14 1992 Stu Grossman (grossman at cygnus.com)
67
68 * infrun.c, xm-i386sco.h: SCO needs to use setpgid().
69
0c6efbcc
JG
70Thu Jan 30 01:04:23 1992 John Gilmore (gnu at cygnus.com)
71
72 * sparc-pinsn.c: Remove kludge for preferring architectures.
73 Remove #ifdef's for SORT_NEEDED. We need to sort the table, now
74 and forever. Add `add' instruction to the set that get checked
75 for a preceding `sethi' in order to print an absolute address.
76 Corresponding changes in ../include/opcode/sparc.h needed
77 to eliminate garbage instructions.
78
d4ea2aba
PB
79Wed Jan 29 19:24:34 1992 Per Bothner (bothner at cygnus.com)
80
81 * mipsread.c (parse_partial_symbols): Make sure partial
82 symbols are created for external symbols (as used to be
83 the case). This is a bit of a pain with the mips-coff.
84 It uses a table which points to all of the external
85 symbols belonging to a particular FDR or psymtab.
86 Once we've generated this table, we might as well save
87 it, and then use it in psymtab_to_symtab_1 to find
88 the symbols to pass to parse_external().
89 * symfile.c, symfile.c: New function start_psymtab_common
90 to share the common parts of allocating a new psymtab
91 for dbxread, mipsread (and later dwarfread). Its code
92 was pulled out from start_psymtab in dbxread.c.
93 * dbxread.c (start_psymtab): Use start_psymtab_common().
94
95 * valprint.c (val_print): If there is an error when trying
96 to print a string, check to see if there really is a problem
97 by reading just one character. If that works, assume
98 things are ok.
99
05151637
SG
100Wed Jan 29 18:58:43 1992 Stu Grossman (grossman at cygnus.com)
101
102 * sparc-pinsn.c (compare_opcodes): Make it prefer v6, v7,
103 cypress, v8 mnemonics in that order.
104
4a074bea
PB
105Tue Jan 28 17:32:13 1992 Per Bothner (bothner at cygnus.com)
106
107 * sparc-pinsn.c: Put the qsort() back in.
108
c55e6167 109Mon Jan 27 18:51:03 1992 John Gilmore (gnu at cygnus.com)
1aa560b2 110
eae1a261
JG
111 * findvar.c (read_register, write_register): Handle machines
112 where REGISTER_TYPE is not the same size as "int".
113
c55e6167 114 Handle debug symbols in dynamically loaded (relocated) code:
3c03b5de 115
c55e6167
JG
116 * dbxread.c (read_ofile_symtab): Fix up N_CATCH better. Pass
117 offset to process_one_symbol.
118 (process_one_symbol): Take new offset parameter. Add it into
119 appropriate symbol types to relocate symbols to loaded addresses.
120 Handle all possible symbol types, and complain() about types that
121 we don't expect to see.
122 * mipsread.c (psymtab_to_symtab_1): Pass offset of zero to
123 process_one_symbol (FIXME, should pass real offset).
1aa560b2 124
c55e6167
JG
125 Misc bugfixes:
126
127 * breakpoint.c (resolve_sal_pc): Split out code to resolve a
128 sal's PC value.
129 (set_breakpoint, break_command_1, until_break_command,
130 catch_command_1, breakpoint_re_set_one): Use it.
c55e6167
JG
131 * symtab.h (resolve_sal_pc): Declare.
132 * infcmd.c (jump_command): Use resolve_sal_pc.
133
4cc9f7e2 134 * source.c (list_command): Shorten "FILE, line N" to "FILE:N".
c55e6167
JG
135
136 * putenv.c (putenv): Avoid unportably casting pointers to unsigneds.
3818ed33 137
5a4e7215
JG
138 * c-exp.y (yylex): `this' and `template' are only tokens in C++.
139
3818ed33
JG
140 * xm-convex.h, xm-hp300bsd.h, xm-isi.h, xm-merlin.h, xm-news.h,
141 xm-np1.h, xm-pn.h, xm-pyr.h, xm-rtbsd.h, xm-symmetry.h, xm-umax.h:
142 Remove MISSING_VPRINTF declaration, and superfluous "kgdb" defines.
143
c55e6167
JG
144Mon Jan 27 15:46:21 1992 Stu Grossman (grossman at cygnus.com)
145
146 * dbxread.c (process_one_symbol): Make a first cut at handling
147 symbol tables generated by Sun's acc. (#ifdef'd out, FIXME.)
148
149 * symtab.c (find_pc_line): Fix stepping into and out of #included
150 files.
151
71f49876
SG
152Mon Jan 27 13:00:55 1992 Stu Grossman (grossman at cygnus.com)
153
154 * Makefile.in (OPCODES): Remove OPCODES defs and refs. There is
155 no longer any need to copy ../include/opcode/* into gdb.
156
fd8db897
JG
157Mon Jan 27 12:30:38 1992 John Gilmore (gnu at cygnus.com)
158
159 * ChangeLog, ChangeLog-9091: Split ChangeLog at 1992.
160
24b2fbdc
PB
161Sun Jan 26 19:05:40 1992 Per Bothner (bothner at cygnus.com)
162
163 * valprint.c (type_print_base, type_print_method_args):
164 Print C++ constructor methods without bogus "return type."
165
cdb90e99
FF
166Sat Jan 25 15:57:59 1992 Fred Fish (fnf at cygnus.com)
167
168 * infptrace.c (child_xfer_memory): Parameter "target" should
169 be a pointer to a structure, not the entire structure.
170
1b07e406
FF
171Fri Jan 24 01:30:27 1992 Fred Fish (fnf at cygnus.com)
172
173 * depend: Convert the couple of references to ansidecl.h that
174 used the local gdb version to use the ../include version.
175
9a1ae235
FF
176Thu Jan 23 22:24:43 1992 Fred Fish (fnf at cygnus.com)
177
f66f459f
FF
178 * procfs.c
179 (child_xfer_memory): Takes pointer to a struct, not entire struct.
180 (inferior_proc_init): Fix non-ANSI version of args.
181 (attach): Call print_sys_errmsg with correct number of args.
182 (mappingflags): Make static, does not need to be global.
183
fc1f8646
FF
184 * i386-tdep.c (i386_frame_num_args): Takes a pointer to a struct
185 not the entire struct itself.
186
1b7a420e
FF
187 * valops.c (value_assign): Cast some args to modify_field() and
188 {read,write}_register_bytes() correctly.
189
9a1ae235
FF
190 * ansidecl.h: Removed, is duplicate of ../include/ansidecl.h
191
99140c31
FF
192 * Makefile.in (MALLOCSRC): Removed reference to removed local
193 copy of ansidecl.h.
194
195 * dwarfread.c (list_in_scope): Needs an initial value, use file
196 scope.
197
9a1ae235
FF
198Mon Jan 20 19:06:28 1992 Stu Grossman (grossman at cygnus.com)
199
200 * main.c (main): Make option_index local to keep new getopt happy.
201 main.c, solib.c, Makefile.in: Update copyright notices.
202
0eb0a820
MT
203Mon Jan 20 08:54:00 1992 Michael Tiemann (tiemann at cygnus.com)
204
205 * cplus-dem.c (cplus_demangle): Correctly demangle destructors.
206
313085cb
SG
207Sat Jan 18 17:17:45 1992 Stu Grossman (grossman at cygnus.com)
208
209 * Makefile.in (HFILES): Add partial-stab.h.
210
be9a2362
FF
211Sat Jan 18 16:45:01 1992 Fred Fish (fnf at cygnus.com)
212
24e7d5ba
JG
213 * config/mh-stratus, config/mt-stratus, tm-stratus.h, xm-stratus.h:
214 New files for stratus. Not complete enough to actually build
215 on the Stratus machine; that awaits copyright assignment for
216 i860 changes.
be9a2362
FF
217
218 * Makefile.in (USER_CFLAGS): Add macro specifically reserved
219 for getting custom flags into CFLAGS when doing makes.
220
221 * configure.in: Add config information for stratus.
222
cdce29ee
FF
223Thu Jan 16 00:51:46 1992 Fred Fish (fnf at cygnus.com)
224
225 * dbxread.c (process_one_symbol): Pass address of structure
226 to complain(), rather than the whole structure.
227
7f435241
FF
228Wed Jan 15 09:56:16 1992 Fred Fish (fnf at cygnus.com)
229
230 * solib.c (solib_add_common_symbols): Only compile in when not
231 using SVR4 style shared libraries.
232
a5bd5ba6
FF
233Tue Jan 14 22:34:00 1992 Fred Fish (fnf at cygnus.com)
234
235 * dwarfread.c (locval): Add offreg flag to indicate location
236 values that are computed off a base register.
237
238 * dwarfread.c (new_symbol): Rework TAG_global_variable and
239 TAG_local_variable cases to account for static variables
240 within function scopes.
241
7e97eb28
SG
242Tue Jan 14 12:28:52 1992 Stu Grossman (grossman at cygnus.com)
243
8c3d2a53
SG
244 * inflow.c: remove #include <sys/dir.h>. Not necessary, and
245 doesn't exist on some systems.
246
5e746644
SG
247 * infrun.c (wait_for_inferior!!!!): Prevent gdb from hanging when
248 nexting over recursive function calls.
249
d261ece7
SG
250 * target.c (target_read_string): Create this routine to read null
251 terminated strings from the target. It deals with running off the
252 end of memory elegantly as well. solib.c (find_solib): Use
253 target_read_string() to avoid problems with running off the end of
254 memory.
255
7e97eb28
SG
256 * inflow.c (child_terminal_info): #ifdef TIOCPGRP around lines
257 that reference pgrp_inferior.
258
0cf9329b
PB
259Mon Jan 13 14:57:11 1992 Per Bothner (bothner at cygnus.com)
260
261 * tm-mips.h: Removed BLOCK_ADDRESS_ABSOLUTE, now that
262 mips-tfile has been hacked to act more "traditionally."
263 * dbxread.c: Fixed typo in comment.
264
488d2691
PB
265Sun Jan 12 13:08:36 1992 Per Bothner (bothner at cygnus.com)
266
267 * mips-tdep.c (mips_skip_prologue): Add some number of
268 'sw' instructions before 'addiu' adjusts the stack.
269
4d315a07
FF
270Fri Jan 10 13:47:06 1992 Fred Fish (fnf at cygnus.com)
271
272 * dwarfread.c (start_symtab, end_symtab, scopecount, openscope,
273 freescope, buildblock closescope, record_line, add_symbol_to_list,
274 gatherblocks, make_blockvector): Extensive changes to switch
275 to generic symbol table building code in buildsym.c. Remove
276 scope tree structures and functions, symbol table building
277 functions, and lots of other small changes.
278
279 * dwarfread.c: Add new macros GCC_PRODUCER and STREQN. Remove
280 GCC_COMPILED_FLAG_SYMBOL and GCC2_COMPILED_FLAG_SYMBOL.
281
282Tue Jan 7 13:09:57 1992 Stu Grossman (grossman at cygnus.com)
283
284 * buildsym.c (cleanup_undefined_types): Add support for enums.
285 This fixes the 'GDB internal error. cleanup_undefined_types with
286 bad type' problem.
287
288Sun Jan 5 09:47:50 1992 Stu Grossman (grossman at cygnus.com)
289
290 * dbxread.c: detect gcc2 compilations.
291
1a4d253c
JG
292Thu Jan 2 15:07:41 1992 John Gilmore (gnu at cygnus.com)
293
294 * sparc-pinsn.c: Rename bitfields that overlap with macro names
295 in ../include/opcode/sparc.h.
296
1d4c28c5
FF
297Wed Jan 1 04:29:00 1992 Fred Fish (fnf at cygnus.com)
298
299 * Makefile.in: Change tm-svr4.h to tm-sysv4.h. Change xm-svr4.h
300 to xm-sysv4.h. Split OPCODE_DIR into OPCODE_DIR1 and OPCODE_DIR2
301 to reflect actual locations of opcode files, so TAGS target will
302 be buildable.
303
304 * i386-tdep.c: Change an erroneous 'm68k' reference to 'i386'.
305
306 * i386-tdep.c (supply_fpregset, fill_fpregset): Remove m68k
307 code.
308
309 * m68k-tdep.c (supply_fpregset, fill_fpregset): Fix array
310 dereferencing to access the correct elements.
311
312 * valops.c (value_addr): Declare return type of external func
313 value_copy().
314
315 * xcoffread.c: Undefine next_symbol_text before redefining it.
316
fd8db897 317For older changes see ChangeLog-9091
bd5635a1
RP
318\f
319Local Variables:
320mode: indented-text
321left-margin: 8
322fill-column: 74
323version-control: never
324End:
This page took 0.088314 seconds and 4 git commands to generate.