1 Thu Feb 27 20:07:43 1992 Stu Grossman (grossman at cygnus.com)
3 * breakpoint.c (breakpoint_re_set_one): Don't reset breakpoint
4 unless symbol table indicates that something has changed.
6 Thu Feb 27 11:48:47 1992 John Gilmore (gnu at cygnus.com)
8 * remote.c: Make it work for embedded MIPS. Increase buffer
9 size, and use throughout. Round buffer size up if too many regs.
10 Support baud rate setting and try for an 8-bit path. If
11 interrupted while waiting for target, send a ^C down the wire.
12 Avoid single-byte reads.
13 * tm-mips.h: Add more embedded-system registers to REGISTER_NAMES
15 * mips-xdep.h: Avoid the embedded regs when on Unix.
17 * mipsread.c: Byte-swap the symbol table structures, using
18 routines from ecoff.c, to read a symbol table written in any
19 of the four possible byte orders.
20 * configure.in (mips-big-* target): Same as Sony News.
21 * config/mt-bigmips, config/mt-littlemips: Add ecoff.o.
22 * ecoff.c: New file for symbol swapping routines.
24 Thu Feb 27 09:26:38 1992 Stu Grossman (grossman at cygnus.com)
26 * breakpoint.c (all_breakpoints_info, breakpoint_1): Add 'info
27 all-breakpoints' command.
28 * (get_number): Allow users to enter negative breakpoint numbers.
29 * (breakpoint_1): Reformat display of 'info break' to show new
31 * (create_longjmp_breakpoint, breakpoint_re_set,
32 breakpoint_re_set_one, enable/disable_longjmp_breakpoint),
33 symfile.c (syms_from_objfile): Re-do
34 insertion of longjmp breakpoints. Move all code into
35 breakpoint_re_set, and call that instead of
36 create_longjmp_breakpoint in symfile.c.
38 Thu Feb 27 06:11:05 1992 John Gilmore (gnu at cygnus.com)
40 * breakpoint.h (ALL_BREAKPOINTS_SAFE): Add.
41 * breakpoint.c (breakpoint_re_set): Use ALL_BREAKPOINTS_SAFE.
42 * symtab.c (find_pc_symtab): Handle having no objfiles.
43 * infcmd.c: Fix comment.
44 * objfiles.c (free_all_objfiles): Add.
45 * symfile.h (ALL_OBJFILES, ALL_OBJFILES_SAFE): Add.
46 * symfile.c (symbol_file_command): free all objfiles when
47 specifying a new symbol file.
48 (reread_symbols): Stat the file name, don't fstat the descriptor.
50 Tue Feb 25 19:31:19 1992 Stu Grossman (grossman at cygnus.com)
52 * dbxread.c (end_psymtab): Delete empty psymtabs.
53 * symfile.c (allocate_psymtab): Recycle empty psymtabs.
54 * symfile.h (struct objfile): Add free_psymtabs.
56 Sat Feb 22 02:00:32 1992 John Gilmore (gnu at cygnus.com)
58 * Makefile.in (VERSION): Roll to gdb-4.4.4.
60 * symfile.c (symbol_file_command): strcmp => !strcmp.
61 * breakpoint.h: Move prototypes to follow enum definition they need.
62 * breakpoint.c, infrun.c: Lint.
63 * printcmd.c: Use `enum enable' rather than `enum
65 * mipsread.c: First pass at making it compile with the new
66 objfile changes. Probably seriously broken still, but it
69 Sat Feb 22 00:56:39 1992 Stu Grossman (grossman at cygnus.com)
71 * infrun.c, infcmd.c, breakpoint.c, main.c, symfile.c,
72 breakpoint.h, tm-sun4os4.h, tm-sparc.h, sparc-tdep.c, tm-mips.h,
73 mips-tdep.h, tm-sun3.h, tm-68k.h, m68k-tdep.h: Add support for
74 stepping (and nexting) through longjmp(). Also, cleanup
75 breakpoint handling quite a bit by creating explicit breakpoint
76 types instead of using magic breakpoint numbers.
77 Makefile.in: Update version to 4.4.3
79 Sat Feb 22 00:08:50 1992 John Gilmore (gnu at cygnus.com)
81 * buildsym.c, dwarfread.c, gdbtypes.c, inflow.c, main.c,
82 minsyms.c, printcmd.c, remote.c, saber.suppress: Saberlint.
83 * symmisc.c, xcoffread.c: Move debug functions to symmisc.c.
85 * xm-sun3os4.h, xm-sun4os4.h: Enable HAVE_MMAP.
87 * minsyms.c (install_minimal_symbols): Add bunches to any
88 existing minsyms in the objfile. Avoid extra mallocation
89 by working directly in the obstack. Remove ignored `mainline' parm.
90 * coffread.c, dbxread.c, elfread.c, mipsread.c, solib.c, symtab.h,
91 xcoffread.c: Change all callers.
92 * FIXME: We should be able to eliminate MAINLINE from all the
93 symbol readers now, with a small bit of work.
95 * valops.c, value.h: Lint.
96 * remote-vx.c: Add missing break; statement. Bugfix by
99 Fri Feb 21 17:29:54 1992 John Gilmore (gnu at cygnus.com)
101 * Check in Fred Fish's changes in these modules. Fred
102 will make ChangeLog entries for all of them. Update VERSION
191 Thu Feb 20 18:10:17 1992 Fred Fish (fnf at cygnus.com)
193 * tm-sparc.h, tm-sysv4.h, solib.h: Move shared lib definitions
195 * sparc-pinsn.c, sparc-tdep.c, standalonec, sun3-xdep.c,
196 sun386-xdep.c, symm-xdep.c, target.c, ultra3-xdep.c, utils.c,
197 value.h: Prototypes for static functions; lint.
198 * gdbtypes.h: Empty file to ease transition.
200 Thu Feb 20 16:43:13 1992 Fred Fish (fnf at cygnus.com)
202 * environ.h, expression.h, frame.h, gdbcmd.h, gdbcore.h,
203 inferior.h, language.h, signame.h, target.h, terminal.h,
204 tm-68k.h, tm-i386v.h, tm-sparc.h, tm-sun386.h, tm-symmetry.h,
205 xm-i386v.h, xm-sparc.h: Prototypes for all external functions.
207 * core.c, exec.c, infrun.c, inftarg.c, language.c, remote.c,
208 signame.c, sparc-xdep.c: Prototypes for all static functions.
210 * core.c, eval.c, exec.c, inftarg.c, remote-adapt.c, remote-eb.c,
211 remote-hms.c, remote-mm.c, remote-nindy.c, remote-vx.c, remote.c,
212 target.c, target.h, valarith.c, valops.c, value.h, xcoffexec.c:
213 Remove to_call_function and target_call_function, since it
214 always calls the same thing (call_function_by_hand).
215 * core.c, exec.c, solib.c: Rename target_ops sections =>
217 * infcmd.c, inflow.c, infptrace.c, infrun.c, main.c, target.c,
218 target.h: target_kill takes no args.
219 * language.c (language_info): Scaffolding to allow briefer
220 messages when the current language changes. FIXME.
221 * xm-amix.h, xm-i386v4.h, xm-stratus.h: Define NORETURN to avoid
222 complaints about volatile functions.
223 * xm-sysv4.h (HAVE_MMAP): Define.
225 Thu Feb 20 09:04:18 1992 Fred Fish (fnf at cygnus.com)
227 * defs.h: Include ansidecl.h and PARAMS macro. Use PARAMS
228 to make prototypes for all functions declared here.
229 * cplus-dem.c: Avoid declaring xmalloc and xrealloc.
230 * c-exp.y: Rename SIGNED, OR, and AND to avoid conflict.
231 * environ.c: Include <stdio.h> before defs.h. Minor cleanup.
232 * ieee-float.h: Use PARAMS for prototypes; make some params const.
233 * ieee-float.c, valarith.c: Include <stdio.h>. Lint. b*=>mem*.
234 * m2-exp.y: Remove unused CONST; Rename OR and AND.
235 * utils.c: Avoid declaring malloc and realloc. Lint.
236 (request_quit): Accept signal-number parameter.
238 Mon Feb 17 07:13:27 1992 Fred Fish (fnf at cygnus.com)
240 * dwarfread.c (process_dies): Add case to handle TAG_pointer_type
241 DIE's. Add new function read_tag_pointer_type() to read them.
243 * dwarfread.c (dwarf_read_array_type, read_subroutine_type):
244 When creating a new user defined type, check to see if a partial
245 type already exists, and if so, bash it to fit.
247 Fri Feb 14 19:00:17 1992 John Gilmore (gnu at cygnus.com)
249 * coffread.c (decode_base_type): Pass long, not union.
252 Thu Feb 13 17:14:28 1992 Fred Fish (fnf at cygnus.com)
254 * elfread.c (elf_symtab_read): Fix code to correctly track
255 changes in bfd for absolute symbols.
257 Thu Feb 13 12:43:29 1992 Stu Grossman (grossman at cygnus.com)
259 * xm-vaxbsd.h: Close off comment.
261 Thu Feb 13 07:45:19 1992 Fred Fish (fnf at cygnus.com)
263 * xm-sysv4.h: Define NEED_POSIX_SETPGID.
265 Fri Feb 7 11:51:12 1992 Per Bothner (bothner at cygnus.com)
267 * mips-tdep.c (mips_print_registers): Print correct register
268 number for double pseudo-registers.
270 Fri Feb 7 07:56:05 1992 John Gilmore (gnu at cygnus.com)
272 * buildsym.c (read_struct_type): Avoid double-bump of parse ptr
273 in the op$::OPERATOR. case. From Steven McCanne,
276 * exec.c (set_section_name): Pass arg to exec_files_info;
279 Thu Feb 6 17:41:32 1992 John Gilmore (gnu at cygnus.com)
281 * main.c (print_gdb_version): Copyright msg: only this year.
282 (cd_command): Avoid changing current_directory on error.
284 Thu Feb 6 15:14:01 1992 Per Bothner (bothner at cygnus.com)
286 * mipsread.c (parse_partial_symbols): Handle dependencies
287 between partial symbol tables (when not doing stabs-in-ecoff).
288 (This used to be handled by parse_fdr, but parse_fdr was
289 incompatible with handling stabs-in-ecoff, so the code
290 was re-written to not use parse_fdr. Unfortunately,
291 the logic to handle dependencies was overlooked.)
293 Thu Feb 6 11:51:39 1992 Steve Chamberlain (sac at rtl.cygnus.com)
295 * coffread.c (read_enum_type): Use the size of a target int when
297 * defs.h: added new #define for TARGET_PTR_BIT, defaults to size
299 * h8300-tdep.c, remote-hms.c, tm-h8300.h: too many changes to count
300 * symtab.c (lookup_reference_type, lookup_ptr_type): use
301 TARGET_PTR_BIT to determine size of a pointer
302 * values.c (unpack_long): when unpacking a REF or a PTR don't
303 assume the size of the type.
305 Wed Feb 5 22:29:59 1992 John Gilmore (gnu at cygnus.com)
307 * mipsread.c (parse_symbol): Avoid clobbering enum pointer when
308 looking at its members. Improve guess between struct and union,
309 only assuming union if multiple members have offsets of zero.
311 Tue Feb 4 18:05:44 1992 Per Bothner (bothner at cygnus.com)
313 * mipsread.c: Use (FP0_REGNUM-32) instead of magic number 6.
314 (This is just for clarity - and one day permitting us to
315 change FP0_REGNUM from 38 to 32, which would make more sense.)
316 * tm-mips.h: Added STAB_REG_TO_REGNUM macro, so that
317 register numbers in stabs-in-ecoff get handled correctly.
319 Sat Feb 1 04:45:10 1992 Stu Grossman (grossman at cygnus.com)
321 * xm-vax.h, xm-vaxult.h, xm-vaxbsd.h, config/mh-vaxult,
322 config/mh-vaxbsd, configure.in: Split up config stuff for Vaxen
325 Sat Feb 1 04:39:41 1992 John Gilmore (gnu at cygnus.com)
327 * dbxread.c (dbx_symfile_init): Call malloc, not xmalloc.
329 Sat Feb 1 04:15:41 1992 Stu Grossman (grossman at cygnus.com)
331 * Makefile.in: Increment version to 4.4.1.
332 * main.c (print_gdb_version): Update copyright notice.
334 Sat Feb 1 01:43:11 1992 Per Bothner (bothner at cygnus.com)
336 * mipsread.c: Prepend "struct " to the names of structure
337 types, and similarly for enums and unions. (This used
338 to be done, but got lost in the re-write to "guess" the
339 difference between enum/struct/union.)
340 Also, guess that a tag is an enum if the first member
343 Fri Jan 31 21:45:51 1992 Stu Grossman (grossman at cygnus.com)
345 * xm-vax.h: #ifndef ultrix around #include of endian.h and
348 Fri Jan 31 00:05:01 1992 John Gilmore (gnu at cygnus.com)
350 * Projects: Patching executables is done.
351 * Makefile.in (VERSION): Roll to gdb-4.4.
352 * README, WHATS.NEW: Update for gdb-4.4.
354 * symfile.c (reread_symbols): Whenever we reread one object
355 file's symbols, we must restart the scan, because the object_files
356 chain has been permuted.
358 * exec.c (exec_files_info): Split out into print_section_info.
359 Print BFD filename of each section if it's not the default one.
360 * core.c (core_files_info): Call print_section_info.
362 * xm-vax.h: Include a few system header files whose definitions
364 * language.c, language.h: Make some things const.
365 * expression.h, main.c: const spreads like ooze.
367 * mem-break.c (break_insn, break_insn_size): Use unsigned chars,
368 since BREAKPOINT values can be >0x80.
370 Thu Jan 30 17:21:14 1992 Stu Grossman (grossman at cygnus.com)
372 * infrun.c, xm-i386sco.h: SCO needs to use setpgid().
374 Thu Jan 30 01:04:23 1992 John Gilmore (gnu at cygnus.com)
376 * sparc-pinsn.c: Remove kludge for preferring architectures.
377 Remove #ifdef's for SORT_NEEDED. We need to sort the table, now
378 and forever. Add `add' instruction to the set that get checked
379 for a preceding `sethi' in order to print an absolute address.
380 Corresponding changes in ../include/opcode/sparc.h needed
381 to eliminate garbage instructions.
383 Wed Jan 29 19:24:34 1992 Per Bothner (bothner at cygnus.com)
385 * mipsread.c (parse_partial_symbols): Make sure partial
386 symbols are created for external symbols (as used to be
387 the case). This is a bit of a pain with the mips-coff.
388 It uses a table which points to all of the external
389 symbols belonging to a particular FDR or psymtab.
390 Once we've generated this table, we might as well save
391 it, and then use it in psymtab_to_symtab_1 to find
392 the symbols to pass to parse_external().
393 * symfile.c, symfile.c: New function start_psymtab_common
394 to share the common parts of allocating a new psymtab
395 for dbxread, mipsread (and later dwarfread). Its code
396 was pulled out from start_psymtab in dbxread.c.
397 * dbxread.c (start_psymtab): Use start_psymtab_common().
399 * valprint.c (val_print): If there is an error when trying
400 to print a string, check to see if there really is a problem
401 by reading just one character. If that works, assume
404 Wed Jan 29 18:58:43 1992 Stu Grossman (grossman at cygnus.com)
406 * sparc-pinsn.c (compare_opcodes): Make it prefer v6, v7,
407 cypress, v8 mnemonics in that order.
409 Tue Jan 28 17:32:13 1992 Per Bothner (bothner at cygnus.com)
411 * sparc-pinsn.c: Put the qsort() back in.
413 Mon Jan 27 18:51:03 1992 John Gilmore (gnu at cygnus.com)
415 * findvar.c (read_register, write_register): Handle machines
416 where REGISTER_TYPE is not the same size as "int".
418 Handle debug symbols in dynamically loaded (relocated) code:
420 * dbxread.c (read_ofile_symtab): Fix up N_CATCH better. Pass
421 offset to process_one_symbol.
422 (process_one_symbol): Take new offset parameter. Add it into
423 appropriate symbol types to relocate symbols to loaded addresses.
424 Handle all possible symbol types, and complain() about types that
425 we don't expect to see.
426 * mipsread.c (psymtab_to_symtab_1): Pass offset of zero to
427 process_one_symbol (FIXME, should pass real offset).
431 * breakpoint.c (resolve_sal_pc): Split out code to resolve a
433 (set_breakpoint, break_command_1, until_break_command,
434 catch_command_1, breakpoint_re_set_one): Use it.
435 * symtab.h (resolve_sal_pc): Declare.
436 * infcmd.c (jump_command): Use resolve_sal_pc.
438 * source.c (list_command): Shorten "FILE, line N" to "FILE:N".
440 * putenv.c (putenv): Avoid unportably casting pointers to unsigneds.
442 * c-exp.y (yylex): `this' and `template' are only tokens in C++.
444 * xm-convex.h, xm-hp300bsd.h, xm-isi.h, xm-merlin.h, xm-news.h,
445 xm-np1.h, xm-pn.h, xm-pyr.h, xm-rtbsd.h, xm-symmetry.h, xm-umax.h:
446 Remove MISSING_VPRINTF declaration, and superfluous "kgdb" defines.
448 Mon Jan 27 15:46:21 1992 Stu Grossman (grossman at cygnus.com)
450 * dbxread.c (process_one_symbol): Make a first cut at handling
451 symbol tables generated by Sun's acc. (#ifdef'd out, FIXME.)
453 * symtab.c (find_pc_line): Fix stepping into and out of #included
456 Mon Jan 27 13:00:55 1992 Stu Grossman (grossman at cygnus.com)
458 * Makefile.in (OPCODES): Remove OPCODES defs and refs. There is
459 no longer any need to copy ../include/opcode/* into gdb.
461 Mon Jan 27 12:30:38 1992 John Gilmore (gnu at cygnus.com)
463 * ChangeLog, ChangeLog-9091: Split ChangeLog at 1992.
465 Sun Jan 26 19:05:40 1992 Per Bothner (bothner at cygnus.com)
467 * valprint.c (type_print_base, type_print_method_args):
468 Print C++ constructor methods without bogus "return type."
470 Sat Jan 25 15:57:59 1992 Fred Fish (fnf at cygnus.com)
472 * infptrace.c (child_xfer_memory): Parameter "target" should
473 be a pointer to a structure, not the entire structure.
475 Fri Jan 24 01:30:27 1992 Fred Fish (fnf at cygnus.com)
477 * depend: Convert the couple of references to ansidecl.h that
478 used the local gdb version to use the ../include version.
480 Thu Jan 23 22:24:43 1992 Fred Fish (fnf at cygnus.com)
483 (child_xfer_memory): Takes pointer to a struct, not entire struct.
484 (inferior_proc_init): Fix non-ANSI version of args.
485 (attach): Call print_sys_errmsg with correct number of args.
486 (mappingflags): Make static, does not need to be global.
488 * i386-tdep.c (i386_frame_num_args): Takes a pointer to a struct
489 not the entire struct itself.
491 * valops.c (value_assign): Cast some args to modify_field() and
492 {read,write}_register_bytes() correctly.
494 * ansidecl.h: Removed, is duplicate of ../include/ansidecl.h
496 * Makefile.in (MALLOCSRC): Removed reference to removed local
499 * dwarfread.c (list_in_scope): Needs an initial value, use file
502 Mon Jan 20 19:06:28 1992 Stu Grossman (grossman at cygnus.com)
504 * main.c (main): Make option_index local to keep new getopt happy.
505 main.c, solib.c, Makefile.in: Update copyright notices.
507 Mon Jan 20 08:54:00 1992 Michael Tiemann (tiemann at cygnus.com)
509 * cplus-dem.c (cplus_demangle): Correctly demangle destructors.
511 Sat Jan 18 17:17:45 1992 Stu Grossman (grossman at cygnus.com)
513 * Makefile.in (HFILES): Add partial-stab.h.
515 Sat Jan 18 16:45:01 1992 Fred Fish (fnf at cygnus.com)
517 * config/mh-stratus, config/mt-stratus, tm-stratus.h, xm-stratus.h:
518 New files for stratus. Not complete enough to actually build
519 on the Stratus machine; that awaits copyright assignment for
522 * Makefile.in (USER_CFLAGS): Add macro specifically reserved
523 for getting custom flags into CFLAGS when doing makes.
525 * configure.in: Add config information for stratus.
527 Thu Jan 16 00:51:46 1992 Fred Fish (fnf at cygnus.com)
529 * dbxread.c (process_one_symbol): Pass address of structure
530 to complain(), rather than the whole structure.
532 Wed Jan 15 09:56:16 1992 Fred Fish (fnf at cygnus.com)
534 * solib.c (solib_add_common_symbols): Only compile in when not
535 using SVR4 style shared libraries.
537 Tue Jan 14 22:34:00 1992 Fred Fish (fnf at cygnus.com)
539 * dwarfread.c (locval): Add offreg flag to indicate location
540 values that are computed off a base register.
542 * dwarfread.c (new_symbol): Rework TAG_global_variable and
543 TAG_local_variable cases to account for static variables
544 within function scopes.
546 Tue Jan 14 12:28:52 1992 Stu Grossman (grossman at cygnus.com)
548 * inflow.c: remove #include <sys/dir.h>. Not necessary, and
549 doesn't exist on some systems.
551 * infrun.c (wait_for_inferior!!!!): Prevent gdb from hanging when
552 nexting over recursive function calls.
554 * target.c (target_read_string): Create this routine to read null
555 terminated strings from the target. It deals with running off the
556 end of memory elegantly as well. solib.c (find_solib): Use
557 target_read_string() to avoid problems with running off the end of
560 * inflow.c (child_terminal_info): #ifdef TIOCPGRP around lines
561 that reference pgrp_inferior.
563 Mon Jan 13 14:57:11 1992 Per Bothner (bothner at cygnus.com)
565 * tm-mips.h: Removed BLOCK_ADDRESS_ABSOLUTE, now that
566 mips-tfile has been hacked to act more "traditionally."
567 * dbxread.c: Fixed typo in comment.
569 Sun Jan 12 13:08:36 1992 Per Bothner (bothner at cygnus.com)
571 * mips-tdep.c (mips_skip_prologue): Add some number of
572 'sw' instructions before 'addiu' adjusts the stack.
574 Fri Jan 10 13:47:06 1992 Fred Fish (fnf at cygnus.com)
576 * dwarfread.c (start_symtab, end_symtab, scopecount, openscope,
577 freescope, buildblock closescope, record_line, add_symbol_to_list,
578 gatherblocks, make_blockvector): Extensive changes to switch
579 to generic symbol table building code in buildsym.c. Remove
580 scope tree structures and functions, symbol table building
581 functions, and lots of other small changes.
583 * dwarfread.c: Add new macros GCC_PRODUCER and STREQN. Remove
584 GCC_COMPILED_FLAG_SYMBOL and GCC2_COMPILED_FLAG_SYMBOL.
586 Tue Jan 7 13:09:57 1992 Stu Grossman (grossman at cygnus.com)
588 * buildsym.c (cleanup_undefined_types): Add support for enums.
589 This fixes the 'GDB internal error. cleanup_undefined_types with
592 Sun Jan 5 09:47:50 1992 Stu Grossman (grossman at cygnus.com)
594 * dbxread.c: detect gcc2 compilations.
596 Thu Jan 2 15:07:41 1992 John Gilmore (gnu at cygnus.com)
598 * sparc-pinsn.c: Rename bitfields that overlap with macro names
599 in ../include/opcode/sparc.h.
601 Wed Jan 1 04:29:00 1992 Fred Fish (fnf at cygnus.com)
603 * Makefile.in: Change tm-svr4.h to tm-sysv4.h. Change xm-svr4.h
604 to xm-sysv4.h. Split OPCODE_DIR into OPCODE_DIR1 and OPCODE_DIR2
605 to reflect actual locations of opcode files, so TAGS target will
608 * i386-tdep.c: Change an erroneous 'm68k' reference to 'i386'.
610 * i386-tdep.c (supply_fpregset, fill_fpregset): Remove m68k
613 * m68k-tdep.c (supply_fpregset, fill_fpregset): Fix array
614 dereferencing to access the correct elements.
616 * valops.c (value_addr): Declare return type of external func
619 * xcoffread.c: Undefine next_symbol_text before redefining it.
621 For older changes see ChangeLog-9091
627 version-control: never