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