1 Sat Feb 22 00:56:39 1992 Stu Grossman (grossman at cygnus.com)
3 * infrun.c, infcmd.c, breakpoint.c, main.c, symfile.c,
4 breakpoint.h, tm-sun4os4.h, tm-sparc.h, sparc-tdep.c, tm-mips.h,
5 mips-tdep.h, tm-sun3.h, tm-68k.h, m68k-tdep.h: Add support for
6 stepping (and nexting) through longjmp(). Also, cleanup
7 breakpoint handling quite a bit by creating explicit breakpoint
8 types instead of using magic breakpoint numbers.
9 Makefile.in: Update version to 4.4.3
11 Sat Feb 22 00:08:50 1992 John Gilmore (gnu at cygnus.com)
13 * buildsym.c, dwarfread.c, gdbtypes.c, inflow.c, main.c,
14 minsyms.c, printcmd.c, remote.c, saber.suppress: Saberlint.
15 * symmisc.c, xcoffread.c: Move debug functions to symmisc.c.
17 * xm-sun3os4.h, xm-sun4os4.h: Enable HAVE_MMAP.
19 * minsyms.c (install_minimal_symbols): Add bunches to any
20 existing minsyms in the objfile. Avoid extra mallocation
21 by working directly in the obstack. Remove ignored `mainline' parm.
22 * coffread.c, dbxread.c, elfread.c, mipsread.c, solib.c, symtab.h,
23 xcoffread.c: Change all callers.
24 * FIXME: We should be able to eliminate MAINLINE from all the
25 symbol readers now, with a small bit of work.
27 * valops.c, value.h: Lint.
28 * remote-vx.c: Add missing break; statement. Bugfix by
31 Fri Feb 21 17:29:54 1992 John Gilmore (gnu at cygnus.com)
33 * Check in Fred Fish's changes in these modules. Fred
34 will make ChangeLog entries for all of them. Update VERSION
123 Thu Feb 20 18:10:17 1992 Fred Fish (fnf at cygnus.com)
125 * tm-sparc.h, tm-sysv4.h, solib.h: Move shared lib definitions
127 * sparc-pinsn.c, sparc-tdep.c, standalonec, sun3-xdep.c,
128 sun386-xdep.c, symm-xdep.c, target.c, ultra3-xdep.c, utils.c,
129 value.h: Prototypes for static functions; lint.
130 * gdbtypes.h: Empty file to ease transition.
132 Thu Feb 20 16:43:13 1992 Fred Fish (fnf at cygnus.com)
134 * environ.h, expression.h, frame.h, gdbcmd.h, gdbcore.h,
135 inferior.h, language.h, signame.h, target.h, terminal.h,
136 tm-68k.h, tm-i386v.h, tm-sparc.h, tm-sun386.h, tm-symmetry.h,
137 xm-i386v.h, xm-sparc.h: Prototypes for all external functions.
139 * core.c, exec.c, infrun.c, inftarg.c, language.c, remote.c,
140 signame.c, sparc-xdep.c: Prototypes for all static functions.
142 * core.c, eval.c, exec.c, inftarg.c, remote-adapt.c, remote-eb.c,
143 remote-hms.c, remote-mm.c, remote-nindy.c, remote-vx.c, remote.c,
144 target.c, target.h, valarith.c, valops.c, value.h, xcoffexec.c:
145 Remove to_call_function and target_call_function, since it
146 always calls the same thing (call_function_by_hand).
147 * core.c, exec.c, solib.c: Rename target_ops sections =>
149 * infcmd.c, inflow.c, infptrace.c, infrun.c, main.c, target.c,
150 target.h: target_kill takes no args.
151 * language.c (language_info): Scaffolding to allow briefer
152 messages when the current language changes. FIXME.
153 * xm-amix.h, xm-i386v4.h, xm-stratus.h: Define NORETURN to avoid
154 complaints about volatile functions.
155 * xm-sysv4.h (HAVE_MMAP): Define.
157 Thu Feb 20 09:04:18 1992 Fred Fish (fnf at cygnus.com)
159 * defs.h: Include ansidecl.h and PARAMS macro. Use PARAMS
160 to make prototypes for all functions declared here.
161 * cplus-dem.c: Avoid declaring xmalloc and xrealloc.
162 * c-exp.y: Rename SIGNED, OR, and AND to avoid conflict.
163 * environ.c: Include <stdio.h> before defs.h. Minor cleanup.
164 * ieee-float.h: Use PARAMS for prototypes; make some params const.
165 * ieee-float.c, valarith.c: Include <stdio.h>. Lint. b*=>mem*.
166 * m2-exp.y: Remove unused CONST; Rename OR and AND.
167 * utils.c: Avoid declaring malloc and realloc. Lint.
168 (request_quit): Accept signal-number parameter.
170 Mon Feb 17 07:13:27 1992 Fred Fish (fnf at cygnus.com)
172 * dwarfread.c (process_dies): Add case to handle TAG_pointer_type
173 DIE's. Add new function read_tag_pointer_type() to read them.
175 * dwarfread.c (dwarf_read_array_type, read_subroutine_type):
176 When creating a new user defined type, check to see if a partial
177 type already exists, and if so, bash it to fit.
179 Fri Feb 14 19:00:17 1992 John Gilmore (gnu at cygnus.com)
181 * coffread.c (decode_base_type): Pass long, not union.
184 Thu Feb 13 17:14:28 1992 Fred Fish (fnf at cygnus.com)
186 * elfread.c (elf_symtab_read): Fix code to correctly track
187 changes in bfd for absolute symbols.
189 Thu Feb 13 12:43:29 1992 Stu Grossman (grossman at cygnus.com)
191 * xm-vaxbsd.h: Close off comment.
193 Thu Feb 13 07:45:19 1992 Fred Fish (fnf at cygnus.com)
195 * xm-sysv4.h: Define NEED_POSIX_SETPGID.
197 Fri Feb 7 11:51:12 1992 Per Bothner (bothner at cygnus.com)
199 * mips-tdep.c (mips_print_registers): Print correct register
200 number for double pseudo-registers.
202 Fri Feb 7 07:56:05 1992 John Gilmore (gnu at cygnus.com)
204 * buildsym.c (read_struct_type): Avoid double-bump of parse ptr
205 in the op$::OPERATOR. case. From Steven McCanne,
208 * exec.c (set_section_name): Pass arg to exec_files_info;
211 Thu Feb 6 17:41:32 1992 John Gilmore (gnu at cygnus.com)
213 * main.c (print_gdb_version): Copyright msg: only this year.
214 (cd_command): Avoid changing current_directory on error.
216 Thu Feb 6 15:14:01 1992 Per Bothner (bothner at cygnus.com)
218 * mipsread.c (parse_partial_symbols): Handle dependencies
219 between partial symbol tables (when not doing stabs-in-ecoff).
220 (This used to be handled by parse_fdr, but parse_fdr was
221 incompatible with handling stabs-in-ecoff, so the code
222 was re-written to not use parse_fdr. Unfortunately,
223 the logic to handle dependencies was overlooked.)
225 Thu Feb 6 11:51:39 1992 Steve Chamberlain (sac at rtl.cygnus.com)
227 * coffread.c (read_enum_type): Use the size of a target int when
229 * defs.h: added new #define for TARGET_PTR_BIT, defaults to size
231 * h8300-tdep.c, remote-hms.c, tm-h8300.h: too many changes to count
232 * symtab.c (lookup_reference_type, lookup_ptr_type): use
233 TARGET_PTR_BIT to determine size of a pointer
234 * values.c (unpack_long): when unpacking a REF or a PTR don't
235 assume the size of the type.
237 Wed Feb 5 22:29:59 1992 John Gilmore (gnu at cygnus.com)
239 * mipsread.c (parse_symbol): Avoid clobbering enum pointer when
240 looking at its members. Improve guess between struct and union,
241 only assuming union if multiple members have offsets of zero.
243 Tue Feb 4 18:05:44 1992 Per Bothner (bothner at cygnus.com)
245 * mipsread.c: Use (FP0_REGNUM-32) instead of magic number 6.
246 (This is just for clarity - and one day permitting us to
247 change FP0_REGNUM from 38 to 32, which would make more sense.)
248 * tm-mips.h: Added STAB_REG_TO_REGNUM macro, so that
249 register numbers in stabs-in-ecoff get handled correctly.
251 Sat Feb 1 04:45:10 1992 Stu Grossman (grossman at cygnus.com)
253 * xm-vax.h, xm-vaxult.h, xm-vaxbsd.h, config/mh-vaxult,
254 config/mh-vaxbsd, configure.in: Split up config stuff for Vaxen
257 Sat Feb 1 04:39:41 1992 John Gilmore (gnu at cygnus.com)
259 * dbxread.c (dbx_symfile_init): Call malloc, not xmalloc.
261 Sat Feb 1 04:15:41 1992 Stu Grossman (grossman at cygnus.com)
263 * Makefile.in: Increment version to 4.4.1.
264 * main.c (print_gdb_version): Update copyright notice.
266 Sat Feb 1 01:43:11 1992 Per Bothner (bothner at cygnus.com)
268 * mipsread.c: Prepend "struct " to the names of structure
269 types, and similarly for enums and unions. (This used
270 to be done, but got lost in the re-write to "guess" the
271 difference between enum/struct/union.)
272 Also, guess that a tag is an enum if the first member
275 Fri Jan 31 21:45:51 1992 Stu Grossman (grossman at cygnus.com)
277 * xm-vax.h: #ifndef ultrix around #include of endian.h and
280 Fri Jan 31 00:05:01 1992 John Gilmore (gnu at cygnus.com)
282 * Projects: Patching executables is done.
283 * Makefile.in (VERSION): Roll to gdb-4.4.
284 * README, WHATS.NEW: Update for gdb-4.4.
286 * symfile.c (reread_symbols): Whenever we reread one object
287 file's symbols, we must restart the scan, because the object_files
288 chain has been permuted.
290 * exec.c (exec_files_info): Split out into print_section_info.
291 Print BFD filename of each section if it's not the default one.
292 * core.c (core_files_info): Call print_section_info.
294 * xm-vax.h: Include a few system header files whose definitions
296 * language.c, language.h: Make some things const.
297 * expression.h, main.c: const spreads like ooze.
299 * mem-break.c (break_insn, break_insn_size): Use unsigned chars,
300 since BREAKPOINT values can be >0x80.
302 Thu Jan 30 17:21:14 1992 Stu Grossman (grossman at cygnus.com)
304 * infrun.c, xm-i386sco.h: SCO needs to use setpgid().
306 Thu Jan 30 01:04:23 1992 John Gilmore (gnu at cygnus.com)
308 * sparc-pinsn.c: Remove kludge for preferring architectures.
309 Remove #ifdef's for SORT_NEEDED. We need to sort the table, now
310 and forever. Add `add' instruction to the set that get checked
311 for a preceding `sethi' in order to print an absolute address.
312 Corresponding changes in ../include/opcode/sparc.h needed
313 to eliminate garbage instructions.
315 Wed Jan 29 19:24:34 1992 Per Bothner (bothner at cygnus.com)
317 * mipsread.c (parse_partial_symbols): Make sure partial
318 symbols are created for external symbols (as used to be
319 the case). This is a bit of a pain with the mips-coff.
320 It uses a table which points to all of the external
321 symbols belonging to a particular FDR or psymtab.
322 Once we've generated this table, we might as well save
323 it, and then use it in psymtab_to_symtab_1 to find
324 the symbols to pass to parse_external().
325 * symfile.c, symfile.c: New function start_psymtab_common
326 to share the common parts of allocating a new psymtab
327 for dbxread, mipsread (and later dwarfread). Its code
328 was pulled out from start_psymtab in dbxread.c.
329 * dbxread.c (start_psymtab): Use start_psymtab_common().
331 * valprint.c (val_print): If there is an error when trying
332 to print a string, check to see if there really is a problem
333 by reading just one character. If that works, assume
336 Wed Jan 29 18:58:43 1992 Stu Grossman (grossman at cygnus.com)
338 * sparc-pinsn.c (compare_opcodes): Make it prefer v6, v7,
339 cypress, v8 mnemonics in that order.
341 Tue Jan 28 17:32:13 1992 Per Bothner (bothner at cygnus.com)
343 * sparc-pinsn.c: Put the qsort() back in.
345 Mon Jan 27 18:51:03 1992 John Gilmore (gnu at cygnus.com)
347 * findvar.c (read_register, write_register): Handle machines
348 where REGISTER_TYPE is not the same size as "int".
350 Handle debug symbols in dynamically loaded (relocated) code:
352 * dbxread.c (read_ofile_symtab): Fix up N_CATCH better. Pass
353 offset to process_one_symbol.
354 (process_one_symbol): Take new offset parameter. Add it into
355 appropriate symbol types to relocate symbols to loaded addresses.
356 Handle all possible symbol types, and complain() about types that
357 we don't expect to see.
358 * mipsread.c (psymtab_to_symtab_1): Pass offset of zero to
359 process_one_symbol (FIXME, should pass real offset).
363 * breakpoint.c (resolve_sal_pc): Split out code to resolve a
365 (set_breakpoint, break_command_1, until_break_command,
366 catch_command_1, breakpoint_re_set_one): Use it.
367 * symtab.h (resolve_sal_pc): Declare.
368 * infcmd.c (jump_command): Use resolve_sal_pc.
370 * source.c (list_command): Shorten "FILE, line N" to "FILE:N".
372 * putenv.c (putenv): Avoid unportably casting pointers to unsigneds.
374 * c-exp.y (yylex): `this' and `template' are only tokens in C++.
376 * xm-convex.h, xm-hp300bsd.h, xm-isi.h, xm-merlin.h, xm-news.h,
377 xm-np1.h, xm-pn.h, xm-pyr.h, xm-rtbsd.h, xm-symmetry.h, xm-umax.h:
378 Remove MISSING_VPRINTF declaration, and superfluous "kgdb" defines.
380 Mon Jan 27 15:46:21 1992 Stu Grossman (grossman at cygnus.com)
382 * dbxread.c (process_one_symbol): Make a first cut at handling
383 symbol tables generated by Sun's acc. (#ifdef'd out, FIXME.)
385 * symtab.c (find_pc_line): Fix stepping into and out of #included
388 Mon Jan 27 13:00:55 1992 Stu Grossman (grossman at cygnus.com)
390 * Makefile.in (OPCODES): Remove OPCODES defs and refs. There is
391 no longer any need to copy ../include/opcode/* into gdb.
393 Mon Jan 27 12:30:38 1992 John Gilmore (gnu at cygnus.com)
395 * ChangeLog, ChangeLog-9091: Split ChangeLog at 1992.
397 Sun Jan 26 19:05:40 1992 Per Bothner (bothner at cygnus.com)
399 * valprint.c (type_print_base, type_print_method_args):
400 Print C++ constructor methods without bogus "return type."
402 Sat Jan 25 15:57:59 1992 Fred Fish (fnf at cygnus.com)
404 * infptrace.c (child_xfer_memory): Parameter "target" should
405 be a pointer to a structure, not the entire structure.
407 Fri Jan 24 01:30:27 1992 Fred Fish (fnf at cygnus.com)
409 * depend: Convert the couple of references to ansidecl.h that
410 used the local gdb version to use the ../include version.
412 Thu Jan 23 22:24:43 1992 Fred Fish (fnf at cygnus.com)
415 (child_xfer_memory): Takes pointer to a struct, not entire struct.
416 (inferior_proc_init): Fix non-ANSI version of args.
417 (attach): Call print_sys_errmsg with correct number of args.
418 (mappingflags): Make static, does not need to be global.
420 * i386-tdep.c (i386_frame_num_args): Takes a pointer to a struct
421 not the entire struct itself.
423 * valops.c (value_assign): Cast some args to modify_field() and
424 {read,write}_register_bytes() correctly.
426 * ansidecl.h: Removed, is duplicate of ../include/ansidecl.h
428 * Makefile.in (MALLOCSRC): Removed reference to removed local
431 * dwarfread.c (list_in_scope): Needs an initial value, use file
434 Mon Jan 20 19:06:28 1992 Stu Grossman (grossman at cygnus.com)
436 * main.c (main): Make option_index local to keep new getopt happy.
437 main.c, solib.c, Makefile.in: Update copyright notices.
439 Mon Jan 20 08:54:00 1992 Michael Tiemann (tiemann at cygnus.com)
441 * cplus-dem.c (cplus_demangle): Correctly demangle destructors.
443 Sat Jan 18 17:17:45 1992 Stu Grossman (grossman at cygnus.com)
445 * Makefile.in (HFILES): Add partial-stab.h.
447 Sat Jan 18 16:45:01 1992 Fred Fish (fnf at cygnus.com)
449 * config/mh-stratus, config/mt-stratus, tm-stratus.h, xm-stratus.h:
450 New files for stratus. Not complete enough to actually build
451 on the Stratus machine; that awaits copyright assignment for
454 * Makefile.in (USER_CFLAGS): Add macro specifically reserved
455 for getting custom flags into CFLAGS when doing makes.
457 * configure.in: Add config information for stratus.
459 Thu Jan 16 00:51:46 1992 Fred Fish (fnf at cygnus.com)
461 * dbxread.c (process_one_symbol): Pass address of structure
462 to complain(), rather than the whole structure.
464 Wed Jan 15 09:56:16 1992 Fred Fish (fnf at cygnus.com)
466 * solib.c (solib_add_common_symbols): Only compile in when not
467 using SVR4 style shared libraries.
469 Tue Jan 14 22:34:00 1992 Fred Fish (fnf at cygnus.com)
471 * dwarfread.c (locval): Add offreg flag to indicate location
472 values that are computed off a base register.
474 * dwarfread.c (new_symbol): Rework TAG_global_variable and
475 TAG_local_variable cases to account for static variables
476 within function scopes.
478 Tue Jan 14 12:28:52 1992 Stu Grossman (grossman at cygnus.com)
480 * inflow.c: remove #include <sys/dir.h>. Not necessary, and
481 doesn't exist on some systems.
483 * infrun.c (wait_for_inferior!!!!): Prevent gdb from hanging when
484 nexting over recursive function calls.
486 * target.c (target_read_string): Create this routine to read null
487 terminated strings from the target. It deals with running off the
488 end of memory elegantly as well. solib.c (find_solib): Use
489 target_read_string() to avoid problems with running off the end of
492 * inflow.c (child_terminal_info): #ifdef TIOCPGRP around lines
493 that reference pgrp_inferior.
495 Mon Jan 13 14:57:11 1992 Per Bothner (bothner at cygnus.com)
497 * tm-mips.h: Removed BLOCK_ADDRESS_ABSOLUTE, now that
498 mips-tfile has been hacked to act more "traditionally."
499 * dbxread.c: Fixed typo in comment.
501 Sun Jan 12 13:08:36 1992 Per Bothner (bothner at cygnus.com)
503 * mips-tdep.c (mips_skip_prologue): Add some number of
504 'sw' instructions before 'addiu' adjusts the stack.
506 Fri Jan 10 13:47:06 1992 Fred Fish (fnf at cygnus.com)
508 * dwarfread.c (start_symtab, end_symtab, scopecount, openscope,
509 freescope, buildblock closescope, record_line, add_symbol_to_list,
510 gatherblocks, make_blockvector): Extensive changes to switch
511 to generic symbol table building code in buildsym.c. Remove
512 scope tree structures and functions, symbol table building
513 functions, and lots of other small changes.
515 * dwarfread.c: Add new macros GCC_PRODUCER and STREQN. Remove
516 GCC_COMPILED_FLAG_SYMBOL and GCC2_COMPILED_FLAG_SYMBOL.
518 Tue Jan 7 13:09:57 1992 Stu Grossman (grossman at cygnus.com)
520 * buildsym.c (cleanup_undefined_types): Add support for enums.
521 This fixes the 'GDB internal error. cleanup_undefined_types with
524 Sun Jan 5 09:47:50 1992 Stu Grossman (grossman at cygnus.com)
526 * dbxread.c: detect gcc2 compilations.
528 Thu Jan 2 15:07:41 1992 John Gilmore (gnu at cygnus.com)
530 * sparc-pinsn.c: Rename bitfields that overlap with macro names
531 in ../include/opcode/sparc.h.
533 Wed Jan 1 04:29:00 1992 Fred Fish (fnf at cygnus.com)
535 * Makefile.in: Change tm-svr4.h to tm-sysv4.h. Change xm-svr4.h
536 to xm-sysv4.h. Split OPCODE_DIR into OPCODE_DIR1 and OPCODE_DIR2
537 to reflect actual locations of opcode files, so TAGS target will
540 * i386-tdep.c: Change an erroneous 'm68k' reference to 'i386'.
542 * i386-tdep.c (supply_fpregset, fill_fpregset): Remove m68k
545 * m68k-tdep.c (supply_fpregset, fill_fpregset): Fix array
546 dereferencing to access the correct elements.
548 * valops.c (value_addr): Declare return type of external func
551 * xcoffread.c: Undefine next_symbol_text before redefining it.
553 For older changes see ChangeLog-9091
559 version-control: never