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