* main.c (initialize_history): Read history after reading all
[binutils-gdb.git] / gdb / ChangeLog
index ac90fb22b0c3d4c41d3183726c2eb54fd4a0cf1b..93321877e292052f03b9aa09be5529126198138a 100644 (file)
@@ -1,3 +1,242 @@
+Sun Oct 27 18:18:39 1991  Stu Grossman  (grossman at cygnus.com)
+
+       * main.c (initialize_history):  Read history after reading all
+       init files.
+
+Sun Oct 27 14:09:25 1991  John Gilmore  (gnu at cygnus.com)
+
+       * buildsym.c:  Break out initial malloc sizes.
+       (record_line):  Record directly in a subfile.  Alloc on demand.
+       (compare_line_numbers):  Add from xcoffread.c.
+       (end_symtab):  New params say whether to sort pendings and
+       linetable.  Patch block stabs if defined.  Shrink linetable before
+       allocating the symtab.
+       * buildsym.h:  Delete line_vector* and prev_line_number.  Add 
+       global_stabs and file_stabs for xcoffread.
+       * dbxread.c (start_subfile):  Move to buildsym.  Change above calls.
+       * symtab.h:  LINETABLE(symtab) can now be null.  Zap LINELIST.
+       * symmisc.c, symtab.c:  Cope with null LINETABLEs.
+
+       * blockframe.c:  Pass fromleaf to INIT_EXTRA_FRAME_INFO.
+       * tm-29k.h, tm-88k.h, tm-i960.h, tm-irix3.h, tm-mips.h, tm-pyr.h,
+       tm-sparc.h:  Accept fromleaf parameter.
+       * c-exp.y (yyerror):  Pass error message if given.
+       * configure.in:  Add rs6000 host and target.
+       * inflow.c (new_tty):  O_NOCTTY kludge for RS/6000.
+       * symfile.h (entry_point):  Add.
+
+Sat Oct 26 00:16:32 1991  John Gilmore  (gnu at cygus.com)
+
+       * buildsym.c:  New file.  Breaks out symbol-table-building routines
+       from dbxread.c, so they can be shared with xcoffread.c.
+       * buildsym.h:  New file.  Declarations for buildsym.c users.
+       * dbxread.c:  Remove large chunks into buildsym.c.
+       * Makefile.in:  Add buildsym.c and buildsym.h.
+
+       * symfile.c (syms_from_bfd):  New routine.
+       (add_symbol_file):  Call it to do the real work.
+       (syms_from_bfd):  Initialize entry_point before calling symfile_init.
+       * symtab.h, symfile.c, coffread.c, mipsread.c, dwarfread.c:
+       Avoid declaring or setting entry_point (symfile.h & symfile.c cope).
+
+Fri Oct 25 18:59:32 1991  Per Bothner  (bothner at cygnus.com)
+
+       Various fixes to improve g++ debugging.
+       * symtab.h:  Add is_const and is_volatile flags for each method.
+       These are bit fields - take their space from voffset,
+       which shrinks to 30 bits.  Since voffset is now a bitfield,
+       make it unsigned for portability.  This changes its interpretation
+       slightly:  Static methods now have voffset 1 instead of -1,
+       and virtual offsets start at 2, not 1.
+       * symtab.c:  Renamed gdb_mangle_typename to gdb_mangle_name,
+       since it now returns an entire magled method name, not just
+       the type part.  This avoids some duplication.
+       It also allows us to correctly mangle const and volatile
+       methods (using the new is_const and is_volatile bit fields
+       mentioned above).
+       * valprint.c (type_print_base), values.c (check_stub_method):
+       Simplify by using new gdb_mangle_name.
+       * values.c (value_headof):  Fix to correctly handle single
+       inheritance (actually two fixes, either of which suffices).
+       * dbxread.c (read_struct_type):  Handle const and volatile
+       method specifiers.
+       * dbxread.c (read_struct_type):  Yet one more place where
+       we must handle '\\' continuations.
+       * valprint.c (vtbl_ptr_name): Add final '\0'.
+
+Fri Oct 25 16:06:38 1991  Stu Grossman  (grossman at cygnus.com)
+
+       * tm-sparc.h, tm-68k.h (EXTRACT_RETURN_VALUE):  fix output of
+       short return values for sparc and 68k.  Patch from Paul Eggert.
+
+       * coffread.c, coredep.c, i386-xdep.c:  install patches for
+       SysV/386 3.2 from Mauro DePalma.
+
+Fri Oct 25 02:02:13 1991  John Gilmore  (gnu at cygnus.com)
+
+       * core.c (core_file_info), exec.c (exec_file_info):  Print file
+       type.  Use printf_filtered.
+
+       * valops.c (value_fetch_lazy):  Avoid 0-length fetches.
+
+Thu Oct 24 23:06:40 1991  Fred Fish  (fnf at cygnus.com)
+
+       * dwarfread.c:  Add casts to remove compiler warnings.
+
+       * tm-3b1.h, tm-68k.h, tm-altos.h, tm-amix.h, tm-hp300bsd.h,
+       tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-pn.h, tm-sun2.h,
+       tm-sun3.h:  Remove locally duplicated code for calling functions
+       in the inferior.  The only differences were in the specific trap
+       vectors used and whether or not an fpu was present.  These are
+       now handled by appropriate definitions of BPT_VECTOR and
+       HAVE_68881 respectively.  Other minor obvious cleanups.
+
+       * valops.c:  Correct a minor misspelling.
+
+       * utils.c:  Remove local BSD/USG hacks that are now in libiberty.
+
+       * dwarfread.c:  Remove prototype for dwarfwarn.  Does not work
+       with <varargs.h>.
+
+Thu Oct 24 09:33:44 1991  John Gilmore  (gnu at cygnus.com)
+
+       * stack.c (frame_command):  Always print.  Use new
+       frame_select_command to select a frame without printing.        
+
+       * dwarfread.c:  Use <varargs.h>, since <stdarg.h> is not portable.
+
+Thu Oct 24 01:32:51 1991  Fred Fish  (fnf at cygnus.com)
+
+        * dwarfread.c: New file for DWARF debugging format support.
+
+       * elfread.c: New file for ELF object file format support.
+
+       * procfs.c: New file for SVR4 /proc (process file system) support.
+
+       * tm-amix.h, xm-amix.h, tconfig/amix, xconfig/amix: New files for
+       Amiga UNIX support.
+
+       * xm-svr4.h, tm-svr4.h: New files for SVR4 support.
+
+       * xm-m68k.h: New file for host machines with m68k cpu.
+
+       * Makefile.in: Add elfread.c and dwarfread.c to SFILES_MAINDIR.
+       Add elfread.o and dwarfread.o to OBS.
+
+       * symfile.h: Add "elf" to list of supported formats in comment.
+
+       * c-exp.y, defs.h, symtab.h, valprint.c:  Add three new builtin
+       types to gdb, builtin_type_long_double, builtin_type_complex, and
+       builtin_type_double_complex.  Add and use new TARGET_SHORT_BIT,
+       TARGET_INT_BIT, TARGET_LONG_BIT, TARGET_FLOAT_BIT,
+       TARGET_DOUBLE_BIT, TARGET_LONG_DOUBLE_BIT, TARGET_COMPLEX_BIT, and
+       TARGET_DOUBLE_COMPLEX_BIT, as the sizes in bits of the indicated
+       types on the target machine (ala the existing TARGET_LONG_LONG_BIT).
+
+       * infrun.c:  When using SVR4 /proc interface instead of ptrace(),
+       call proc_set_exec_trap() to setup child to stop at first instruction.
+
+       * inftarg.c: When using SVR4 /proc interface, call proc_wait()
+       rather than wait().
+
+       * m68k-tdep.c: Add new routines supply_gregset(), fill_gregset(),
+       supply_fpregset(), and fill_fpregset(), which are machine
+       dependent support routines for SVR4 /proc interface.
+
+       * utils.c: Add warning_setup() and warning().  Warning() behaves
+       the same as error() except that it returns normally rather than
+       jumping back to command level.  Modules that don't want to call
+       warning() for some reason, but want to produce their own warnings,
+       can call warning_setup() to ensure compatibility with the way
+       warning() and error() deal with the terminal.
+
+       * symtab.c: Make internal errors produce more useful messages.
+
+       * tm-68k.h: Move code that is duplicated in almost every single
+       m68k based machine's configuration files to this common file.
+       Duplications in the configuration files still need to be removed
+       (FIXME).
+
+       * infrun.c (child_create_inferior): System V versions must call
+       setpgrp() with no arguments, to comply with prototyping typically
+       in <unistd.h>.
+
+       * munch: Add support for SVR4 style nm output.
+
+       * dbxread.c, mipsread.c symmisc.c, symtab.c:  Remove the object
+       file specific fields from the partial symbol table structure and
+       replace them with a pointer to private data for each different
+       flavor of object file reader to initialize appropriately.
+
+Wed Oct 23 09:38:20 1991  John Gilmore  (gnu at cygnus.com)
+
+       * xconfig/sun[34]os4:  Add note about strstr botch on sunos4.0.3c
+       and previous.
+
+       * mipsread.c (fixup_undef_type):  New function.  If a struct /
+       union / enum is defined in a header file but nowhere else used,
+       (by typedefing, pointer referencing or declaration) the mipsread code
+       builds the complete tree for the structure but leaves its code as
+       TYPE_CODE_UNDEF as it doesn't know what kind of aggregate it is.
+       Guess its type based on the details of the members.
+
+Tue Oct 22 18:04:32 1991  Stu Grossman  (grossman at cygnus.com)
+
+       * infrun.c (wait_for_inferior):  Check return value from
+       find_pc_line.
+
+Mon Oct 21 17:47:03 1991  Stu Grossman  (grossman at cygnus.com)
+
+       * infrun.c (wait_for_inferior):  fix stepi/nexti that was broken
+       by my last edit to this routine.
+
+Mon Oct 21 14:27:43 1991  John Gilmore  (gnu at cygnus.com)
+
+       * tm-sun3.h (FIX_CALL_DUMMY): problem with cross debugging.
+       FIX_CALL_DUMMY does unaligned accesses and/or forgets to byte swap
+       the values before putting them into the dummy code.  (From Peter
+       Schauer)
+
+Mon Oct 21 10:04:39 1991  Steve Chamberlain  (steve at rtl.cygnus.com)
+
+       * configure.in: added ebmon target.
+
+Wed Oct 16 22:49:58 1991  John Gilmore  (gnu at cygnus.com)
+
+       GDB-4.2 release!
+
+       * Makefile.in:  Roll VERSION to 4.2.
+       * README, TODO, WHATS.NEW:  Update.
+
+       * core.c (core_open):  Improve error message for bad file.
+       Pass .reg virtual memory address to fetch_core_registers to help
+       it find the registers in the core-file header.
+       * coredep.c (fetch_core_registers):  Take new argument, use it,
+       and pass it to register_addr to locate the block of registers.
+       * xm-mips.h:  Update KERNEL_U_ADDR for new scheme.  Cleanup a bit.
+
+       * dbxread.c (read_dbx_symtab, process_one_symbol):  Handle
+       Sequent N_FN_SEQ like everybody else's N_FN.
+
+       * main.c:  Circumvent SCO cc bug with #if !!defined(USG).
+       * tm-i386v.h:  #endif guck.
+       * xconfig/i386*:  Remove -Dgetpagesize()=4096 kludge.
+       * xconfig/i386sco:  Add HAVE_STRSTR to avoid ANSI bdeath.
+       * xconfig/tahoe:  Add REGEX, which seems to be missing.
+
+       * coredep.c:  Add <sys/types.h> for SCOnix.
+       * dbxread.c (read_dbx_symntab):  Avoid coredump on malformed file.
+       * printcmd.c (print_formatted):  Flush output before disassembly.
+
+Tue Oct 15 20:12:32 1991  Roland H. Pesch  (pesch at fowanton.cygnus.com)
+
+       * doc/refcard.tex (sec "Working Files"): consistent metavars and
+       other improvements, due to comments by François Pinard
+       (pinard@iro.umontreal.ca) 
+
+       * doc/gdb.texinfo (appendix "Installing GDB"): changes in
+       configure, and improvenets related to Pinard's refcard comments
+
 Tue Oct 15 08:45:12 1991  John Gilmore  (gnu at cygnus.com)
 
        Changes from Fred Fish:
@@ -17,6 +256,8 @@ Tue Oct 15 08:45:12 1991  John Gilmore  (gnu at cygnus.com)
        programs.
        * i387-tdep.c (double_to_i387):  Fix typo for double_to_ieee_extended.
        * utils.c (_initialize_utils):  If !ISATTY, don't paginate.
+       * configure.in, tconfig/decstation, xconfig/decstation:  Rename
+       dec3100 to decstation.
 
 Mon Oct 14 13:37:50 1991  Roland H. Pesch  (pesch at cygnus.com)