* main.c (initialize_history): Read history after reading all
[binutils-gdb.git] / gdb / ChangeLog
index 9849e0e4866540f6ac713e7f1537308b0058cda6..93321877e292052f03b9aa09be5529126198138a 100644 (file)
@@ -1,5 +1,138 @@
+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.
 
@@ -35,6 +168,18 @@ Thu Oct 24 01:32:51 1991  Fred Fish  (fnf at cygnus.com)
        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
@@ -45,6 +190,13 @@ 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.