Tue May 17 16:45:20 1994 Stan Shebs (shebs@andros.cygnus.com)
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 02b8fd22d4c9a974eff1aecda1f91fd571f50526..56ccbbdd22dd5bb95e5c33323c852d79f99c5afc 100644 (file)
+Tue May 17 16:45:20 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * xcoffread.c (read_xcoff_symtab): For C_FILE symbols, only use
+       the auxent if the symbol's name is ".file".  From David Edelsohn 
+       <c1dje@watson.ibm.com>.
+
+Tue May 17 11:08:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * breakpoint.c (breakpoint_1): Fix typo.
+
+       * annotate.c (annotate_field_end): Fix typo.
+
+       * Makefile.in: Move annotate.o from COMMON_OBS to OBS.
+
+       * Makefile.in (TSSTART): Remove; no longer used.
+
+       * utils.c (vfprintf_maybe_filtered, vfprintf_unfiltered): Call
+       fputs_unfiltered and exit directly, rather than fatal.  The latter
+       calls vfprintf_unfiltered!
+
+       * gdbtypes.h, gdbtypes.c (can_dereference): New function.
+       * value.h, printcmd.c (print_value_flags): Move from here...
+       * annotate.c: ...to here, and make it use can_dereference.
+
+Sat May 14 15:13:52 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * inflow.c (job_control, attach_flag, generic_mourn_inferior):
+       Remove, needed for both native and cross.
+       * target.c (attach_flag, generic_mourn_inferior): Put here.
+       * utils.c (job_control): Put here.
+       (terminal.h): Don't include anymore.
+
+Sat May 14 09:11:44 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * source.c (find_source_lines): Always use code that was #ifdef
+       BROKEN_LARGE_ALLOCA.  Do the cleanup before returning, rather than
+       leaving it on the chain.  Reindent much of this function.
+       * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h},
+       config/i386/{xm-sun386.h,xm-i386m3.h,xm-i386mach.h},
+       config/m68k/{sun3os4.h,xm-news.h,xm-hp300hpux.h},
+       config/ns32k/xm-ns32km3.h: Remove all references to
+       BROKEN_LARGE_ALLOCA; with the above change it is no longer needed.
+       * main.c, fork-child.c, many config files: Remove all
+       SET_STACK_LIMIT_HUGE code; with the above changes it should no
+       longer be needed.
+
+       * symtab.c (lookup_partial_symbol): Use if and abort, not assert.
+       This avoids __eprintf troubles.
+
+Fri May 13 08:10:21 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * main.c (main): Surround in #ifndef MAIN_OVERRIDE.  Move
+       initialization code which needs to be called even if we bypass the
+       command line stuff into gdb_init.
+       * utils.c (fputs_unfiltered): Surround in #ifndef
+       FPUTS_UNFILTERED_OVERRIDE.
+       * Makefile.in (libgdb.a): New target.
+
+       * utils.c: Rearrange I/O stuff a bit so that all output goes
+       through fputs_unfiltered.  Use vasprintf; removes arbitrary limit
+       which made %s not work with arbitrarily large strings.
+       * printcmd.c (printf_command): Use printf_filtered, not
+       printf_unfiltered and printf, now that arbitrary limit is gone.
+
+       gcc -Wall lint:
+       * breakpoint.c (watchpoint_check): Remove unused variable b.
+       * stack.c (print_frame_info): Move sp and buf inside #if.
+       * eval.c (evaluate_subexp): Remove unused variables pp,
+       mangle_ptr, ptr, and mangle_tstr.
+       * valarith.c (value_x_binop): Remove unused variables mangle_tstr
+       and mangle_ptr.
+       * symtab.c (lookup_symtab): Put variable copy inside #if.
+       (decode_line_1): Put variable q1 inside #if 0.
+       * target.h: Declare target_link.
+       * infrun.c (wait_for_inferior): Remove unused variables signame.
+       * remote.c (remote_resume): Remove unused variable name.
+       * c-exp.y (parse_number): Parenthesize operand of shift.
+       * dbxread.c (record_minimal_symbol): Parenthesize operand of &&
+       (this is a semantic change, the warning seems to have detected a bug).
+       * dbxread.c (end_psymtab): Move variable p1 inside #if.
+       * coffread.c: Move variable temptype inside #if.
+       * ch-typeprint.c (chill_type_print_base): Remove unused variable
+       name.
+       * ch-valprint.c: #include typeprint.h and ch-lang.h.
+       (chill_val_print): Remove unused variable in_range.
+       (chill_val_print): Remove statement "length > TYPE_LENGTH (type);".
+       (chill_val_print): Add default case for switch.
+       * stabsread.h: Declare stabsect_build_psymtabs.
+       * os9kread.c (read_minimal_symbols): Make this return void.
+       (os9k_symfile_read): Remove unused variables stb_exist and val.
+       (os9k_symfile_init): Remove unused variable val.
+       (fill_sym): Remove unused variable id.
+       (read_os9k_psymtab): Put variable back_to inside #if 0.  Remove
+       unused variable nsl.
+       Remove unused variable symfile_bfd.
+       #if 0 unused variables lbrac_unmatched_complaint and
+       lbrac_mismatch_complaint.
+       Remove declaration for non-existent function os9k_next_symbol_text.
+
+       * annotate.c, annotate.h: New files, containing a function for
+       each annotation which outputs it.
+       * Move breakpoints_changed from breakpoint.c to annotate.c.
+       * breakpoint.c, blockframe.c, infrun.c, cp-valprint.c, main.c,
+       printcmd.c, source.c, stack.c, utils.c, valprint.c:
+       Use annotate.c functions to output annotations.
+       * Makefile.in (OBS): Add annotate.o.
+
+Thu May 12 10:46:27 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * hppa-tdep.c (read_unwind_info): Make sure elf_unwind_size and
+       elf_unwind_entries are always initialized.
+
+       * hppa-tdep.c (skip_trampoline_code): Handle argument relocation
+       stubs which return directly to the caller rather than to the stub
+       itself.
+
+Wed May 11 20:11:51 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * c-exp.y (yyerror): Display a more informative error message.
+       * ch-exp.y (yyerror): Ditto, don't use global yychar.
+       * m2-exp.y (yyerror): Ditto.
+
+Tue May 10 11:57:53 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * inflow.c (job_control): Move definition to front of file.
+
+Tue May 10 14:42:37 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * maint.c (print_section_table): Rename SEC_SHARED_LIBRARY to
+       SEC_COFF_SHARED_LIBRARY to match corresponding change in bfd.
+
+Fri May  6 13:30:22 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * Makefile.in (kdb): Remove old init.c creation commands.
+       * configure.in (sparclite): Match on sparclite*.
+       * sparclite/aload.c (main): Only change section addresses for
+       a.out format object files.
+
+Fri May  6 13:24:04 1994  Steve Chamberlain  (sac@cygnus.com)
+
+       * config/i386/go32.mh: Define CC.
+
+Fri May  6 11:56:54 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * gdbserver/Makefile.in: Remove irrelevant definitions and
+       comments inherited from the gdb Makefile.
+       (BFD_DIR, BFD, BFD_SRC, BFD_CFLAGS): Add from gdb Makefile.
+       (VERSION): Update to 4.12.3.
+       (gdbserver): Remove any existing executable first.
+       (distclean, realclean): Remove nm.h.
+       * gdbserver/low-lynx.c: Add Sparc Lynx support.
+       * gdbserver/low-sparc.c, gdbserver/low-sun3.c (sys/wait.h):
+       Don't use absolute pathname.
+
+Thu May  5 12:00:22 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * rs6000-nat.c (vmap_ldinfo): Don't fail if fstat returns an
+       error.
+
+Wed May  4 06:56:03 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * infrun.c (proceed, normal_stop, wait_for_inferior), breakpoint.c
+       (print_it_normal): Add annotations for the inferior starting and
+       stopping, and for all the various messages related to how it
+       stopped.
+
+       * printcmd.c (do_one_display): Annotate.
+       * stack.c (print_frame_info): Annotate printing of stack frames.
+
+Wed May  4 18:15:51 1994  Stu Grossman  (grossman@cygnus.com)
+
+       * remote.c (get_offsets):  Handle case where stub doesn't support
+       qOffsets message.
+
+Wed May  4 15:30:39 1994  Per Bothner  (bothner@kalessin.cygnus.com)
+
+       Add partial support for g++ code compiled with -fvtable-thunks.
+       * c-valprint.c (c_val_print):  Add vtblprint support
+       when using thunks.
+       * cp-valprint.c (cp_is_vtbl_member):  A vtable can be an array of
+       pointers (if using thunks) as well as array of structs (otherwise).
+       * cp-valprint.c (vtbl_ptr_name_old, vtbl_ptr_name):  Move to global
+       level, and make the latter non-static (so define_symbol can use it).
+       * stabsread.c (define_symbol):  If the type being defined is a
+       pointer type named "__vtbl_ptr_type", set the TYPE_NAME to that name.
+       * symtab.h (VTBL_PREFIX_P):  Allow "_VT" as well as "_vt".
+       * values.c (value_virtual_fn_field):  Handle thunks.
+       * values.c (value_headof):  Minor efficiency hack.
+       * values.c (value_headof):   Incomplete thunk support.  FIXME.
+
+Wed May  4 06:56:03 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * valprint.c (print_longest): Clarify comment about use_local.
+       * printcmd.c, defs.h (print_address_numeric), callers in
+       symmisc.c, symfile.c, stack.c, source.c, remote.c, infcmd.c,
+       cp-valprint.c, core.c, ch-valprint.c, c-valprint.c, breakpoint.c,
+       exec.c: New argument use_local.
+       * source.c (identify_source_line): Use filtered output.  Use
+       print_address_numeric. 
+
+       * core.c (memory_error), symtab.c (cplusplus_hint, decode_line_1),
+       language.c (type_error, range_error): Use filtered output.
+       * utils.c (error_begin): Update comment to tell people to use
+       filtered output.
+
+       * Makefile.in (HFILES_WITH_SRCDIR): List bfd.h.
+       (HFILES_NO_SRCDIR): List gdbcore.h not gdbcore_h, so as not to get
+       bfd.h.
+
+Tue May  3 07:41:33 1994  Jim Kingdon  (kingdon@cygnus.com)
+
+       * procfs.c (procfs_wait): Reinstate code which deduces the signal
+       from the fault, #ifndef FAULTED_USE_SIGINFO.
+       * config/sparc/tm-sun4sol2.h: Define FAULTED_USE_SIGINFO.
+
+Fri Apr 29 18:15:04 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * breakpoint.c (breakpoint_1): Annotate each field of the headers.
+       Explicitly annotate each record.
+
+Fri Apr 29 15:56:18 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * xcoffexec.c: Reformat to standards and lint.
+       (language.h): Include.
+       (exec_close): Declare arg "quitting".
+       (file_command): Declare arg "from_tty".
+       (map_vmap): Cast xmalloc result to PTR.
+       * rs6000-nat.c: Reformat to standards and lint.
+       (exec_one_dummy_insn): Use char array for saved instruction.
+       (fixup_breakpoints): Declare.
+       (vmap_ldinfo): Be more informative in fatal error messages.
+       (xcoff_relocate_symtab): Define to return void.
+       * xcoffsolib.h: Reformat to standards, improve comments.
+       * config/rs6000/nm-rs6000.h (xcoff_relocate_symtab): Declare.
+
+Thu Apr 28 08:40:56 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * utils.c, defs.h (error_begin): New function.
+       (quit): Print annotation before printing the error message.
+       * main.c (return_to_top_level): Print annotation before doing the
+       longjmp.
+       * symtab.c (decode_line_1): Call error not warning and then
+       return_to_top_level.  Call error_begin and printf_unfiltered
+       rather calling warning (before calls to return_to_top_level).
+       * core.c (memory_error): Use error_begin, printf_unfiltered,
+       print_address_numeric and return_to_top_level instead of error.
+       Cleans up a FIXME-32x64.
+       * language.c (type_error, range_error): Call error_begin
+       not just target_terminal_ours.
+
+       * dbxread.c (stabsect_build_psymtabs): Assign to sym_stab_info
+       directly, rather than via DBX_SYMFILE_INFO.  A cast on the left
+       side of an assignment is non-portable.
+
+       * utils.c (query): Change syntax of query annotations to be
+       consistent with other input annotations.
+       (prompt_for_continue): Likewise for prompt-for-continue annotation.
+
+Thu Apr 28 01:20:39 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * mdebugread.c (psymtab_to_symtab_1):  Do not call sort_blocks
+       for stabs symtabs.
+       * mips-tdep.c (mips_skip_prologue):  Handle prologues for functions
+       that have a stack frame size of 32k or larger (from Paul Flinders).
+       Remove #if 0'd code.
+
+Wed Apr 27 16:33:51 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * lynx-nat.c (CANNOT_STORE_REGISTER): Add a fallback definition
+       for Lynx platforms that need it.
+       * config/nm-lynx.h (__LYNXOS): Define if not already defined.
+
+Wed Apr 27 16:01:37 1994  Jim Kingdon  (kingdon@cygnus.com)
+
+       * procfs.c (procfs_wait): Use the signal from the pr_info rather
+       than trying to deduce it from the fault.
+
+Wed Apr 27 12:22:46 1994  Steve Chamberlain  (sac@cygnus.com)
+
+       * printcmd.c (print_address_symbolic): Initialize name to empty
+       string to avoid core dump if lookup fails.
+       * remote-e7000.c (printf_e7000debug): Error if target not open.
+
+Tue Apr 26 22:45:24 1994  Stu Grossman  (grossman at cygnus.com)
+
+       * i386-nlmstub.c:  Update to be more in line with PIN stub.
+       * nlm/gdbserve.c (putDebugChar):  Install bug fix from i386-nlmstub.
+       * (hex2mem):  Init ptr.
+       * General cleanups to use ConsolePrintf, standard prologues, etc...
+
+Tue Apr 26 10:23:04 1994  Stu Grossman  (grossman at cygnus.com)
+
+       * i386-nlmstub.c:  More changes to be compatible with remote.c.
+
+       * dbxread.c:  Move a bunch of strncmps out of process_one_symbol
+       into (the far less frequently called) dbx_symfile_read.
+
+       * i386-nlmstub.c:  An interim version till we get PIN for the x86.
+
+Tue Apr 26 09:50:45 1994  Stu Grossman  (grossman at cygnus.com)
+
+       * dbxread.c (record_minimal_symbol):  Record the section
+       associated with the symbol to make dynmaic relocation work.
+       * (dbx_symfile_read, process_one_symbol):  Fixes to work around
+       Solaris brain-damage which don't apply to relocatable object
+       files.
+       * (stabsect_build_psymtabs):  New routine to read stabs out of an
+       arbitrarily named section.
+       * nlmread.c (nlm_symtab_read):  Read ALL syms from the NLM, not just
+       globals.
+       * (nlm_symfile_read):  Call stabsect_build_psymtabs to read the
+       stabs out of the nlm.
+       * partial-stabs.h (cases 'f' & 'F'):  Fixes to work around Solaris
+       brain-damage which don't apply to relocatable object files.
+       * remote.c (putpkt):  Improve error reporting and error handling.
+       * (get_offsets):  Temporary kludge to force data & bss sections to
+       have the same relocation.
+       * stabsread.c (define_symbol, scan_file_globals):  Record section
+       info in sym.
+
+Sat Apr 23 19:05:52 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * breakpoint.c (breakpoint_1): Annotate each field of output.  Add
+       FIXME-32x64 comment.
+
+Fri Apr 22 16:43:54 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * infrun.c (wait_for_inferior): Move call to flush_cached_frames
+       to after call to target_wait.  This means that flush_cached_frames
+       can call target_terminal_ours if it wants to.
+       * infrun.c (wait_for_inferior) [HAVE_NONSTEPPABLE_WATCHPOINT]: Add
+       comment about why the code is dubious.
+
+       * stabsread.c (read_type): Call read_type, not nonexistent
+       os9k_read_type.
+
+Fri Apr 22 14:25:36 1994  Kung Hsu  (kung@mexican.cygnus.com)
+
+       * remote-os9k.c (rombug_fetch_registers): set trace mode
+       correctly.
+       * remote-os9k.c (rombug_read_inferior_memory): cache data in
+       buffer.
+       * os9kread,c (read_os9k_psymtab): process file symbol to truncate
+       extra info.
+       * os9kread.c (os9k_read_ofile_symtab): proper casting of args
+       passed to process_one_symbol.
+       * stabsread.c (read_type): process os9k functio prototype.
+
+Fri Apr 22 11:27:39 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * solib.c (symbol_add_stub): If so->textsection is NULL, don't
+       dump core.
+
 Thu Apr 21 07:45:49 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
+       * utils.c (prompt_for_continue): Annotate prompt.
+       (query): Annotate query.
+       * printcmd.c (print_frame_args): Change syntax of argument
+       annotation to make name and value part of a single group of
+       annotations, not two separate groups.
+       * cp-valprint.c (cp_print_value_fields): Likewise for fields.
+       * valprint.c (val_print_array_elements): Change syntax of
+       annotation to be more concise.
+       * main.c, defs.h (command_line_input): New argument tells what
+       string to include in the annotations.
+       * symtab.c (decode_line_2), main.c (read_command_lines,
+       command_loop): Change callers.
+
        * breakpoint.c (watch_command): Use (CORE_ADDR)0, not NULL, for
        target null pointer.
        * blockframe.c (find_frame_addr_in_frame_chain): Likewise.
 
        * printcmd.c (output_command): Annotate things we print here too.
+       * printcmd.c (print_command_1): Add "value-history-value" annotation.
        * Move declaration of print_value_flags from defs.h to value.h.
        * main.c (command_line_input): Call wrap_here as well as gdb_flush.
 
This page took 0.027976 seconds and 4 git commands to generate.