gcc lint
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 6f181d22c8023ea1fc7eae5d1f507327fc46b136..fffb3b1db6e49abb3178fdf9052832a35fe5211a 100644 (file)
@@ -1,3 +1,155 @@
+Wed Sep  8 13:01:10 1993  K. Richard Pixley  (rich@cygnus.com)
+
+       Gcc lint.
+       * config/m88k/tm-m88k.h (frame_find_saved_regs): prototype.
+       * config/h8300/tm-h8300.h (NUM_REGS): rewrite to avoid nested comment.
+       * blockframe.c (get_prev_frame_info): initialize address.
+       * breakpoint.c (bpstat_copy): initialize retval.
+         (bpstat_stop_status): initialize value_is_zero.
+         (bpstat_what): initialize bs_class.
+         (breakpoint_1, mention): add do-nothing case for bp_step_resume.
+         (break_command_1): initialize cond_end, addr_end, &
+         canonical_strings_chain.
+         (enable_breakpoint): initialize save_selected_frame.
+       * buildsym.c (end_symtab): initialize symtab & linetablesize.
+       * c-exp.y (parse_number): initialize i.
+       * c-typeprint.c (c_type_print_varspec_prefix): include
+         TYPE_CODE_BITSTRING in switch statements and do nothing.
+       * c-valprint.c (c_val_print): removed unused variable c.
+       * ch-valprint.c (chill_val_print): removed unused variable eltlen.
+       * cp-valprint.c (cp_print_class_method): initialize f & j.
+       * eval.c (evaluate_subexp): initialize pc2, arg1, arg2.
+       * expprint.c (print_subexp): initialize myprec, assoc, & tempstr.
+       * findvar.c (value_from_register): initialize first_addr.
+       * gdbtypes.c (lookup_struct_elt_type): localize use of temporary
+         variable typename.
+       * infcmd.c (run_stack_dummy): return zero rather than simple
+         return.
+       * infrun.c (wait_for_inferior): initialize stop_sp, prologue_pc.
+         remove symtab, appears unused.
+         (restore_selected_frame): return 1.
+       * mipsread.c (psymtab_to_symtab_1): initialize first_off.
+         (fixup_sigtramp): initialize b0.
+       * printcmd.c (do_examine): initialize val_type.
+         (print_frame_args): initialize b.
+       * ser-tcp.c (tcp_restore): comment out declaration.  Appears
+         unused.
+       * ser-unix.c (hardwire_restore): comment out declaration.  Appears
+         unused.
+         (hardwire_send_break): moved variable status into ifdef
+         HAVE_SGTTY.
+         (wait_for): moved variable numfds into ifdef HAVE_SGTTY.
+       * serial.h: comment change only.
+       * stabsread.c (rs6000_builtin_type): initialize rettype.
+         (read_range_type): initialize nbits.
+       * stack.c (print_frame_info): remove unused variable numargs.
+         (parse_frame_specification): remove unused variables arg1, arg2,
+         arg3.
+         (return_command): initialize return_value.
+       * symfile.c (cashier_psymtab): initialize pprev.
+       * symtab.c (find_pc_psymbol): initialize best.
+         (lookup_symbol): initialize s.
+         (make_symbol_completion_list): initialize quote_pos.
+       * thread.c: include command.h.
+         (thread_info): static declaration removed; unused.
+         (info_threads_command): fix == vs = typo.
+       * typeprint.c (whatis_exp): initialize old_chain.
+       * valprint.c (val_print_string): remove unused variable
+         first_addr_err.  Initialize old_chain.
+         (_initialize_valprint): white space comment change.
+       * values.c (show_values): rewrite if statement to avoid empty
+         body.
+         (vb_match): remove unused variable fieldtype_target_type.
+
+Wed Sep  8 10:21:33 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * Makefile.in (mipsread.o): Depend on $(bfd_h).
+
+Tue Sep  7 13:06:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * gdbserver/Makefile.in (TAGS): config files are in
+       $(srcdir)/../config, not $(srcdir)/config.
+
+       * config/pa/tm-hppa.h: Declare target_read_pc and target_write_pc.
+       (STORE_RETURN_VALUE): Pass the correct offset of the return
+       register to write_register_bytes.
+       * hppa-tdep.c: Use target_write_pc if PCOQ_TAIL_REGNUM was not saved.
+
+Tue Sep  7 14:30:34 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * remote.c (remote_wait): Don't call error.  Instead, call warning
+       inside a loop.  User can ^C to get out.
+
+       * config/m68k/tm-m68k.h (FIX_CALL_DUMMY): Changed name of swapping
+       routine to match BFD name change.
+       * config/z8k/tm-z8k.h (FIX_CALL_DUMMY): Likewise.
+
+Mon Sep  6 15:01:57 1993  Jeffrey Wheat  (cassidy@cygnus.com)
+
+       * elfread.c: change elf32_symbol_type to elf_symbol_type
+
+Mon Sep  6 15:43:25 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * remote.c (remote_wait): Added 'W' and 'N' responses.
+
+Fri Sep  3 08:57:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * main.c, utils.c: Add comments about immediate_quit.
+
+       * elfread.c (elf_symtab_read): Don't add symbols starting with ".L"
+       to minimal symbols.
+
+       * target.c (pop_target): Don't try to deal with the stack becoming
+       empty.  Shouldn't happen and the code that tried was broken.
+
+       * dcache.c: Cast return value from xmalloc.
+
+       * remote.c: Move setting of immediate_quit from remote_open to
+       remote_start_dummy and set it back to zero when done.
+
+Thu Sep  2 00:07:36 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * m88k-tdep.c: Remove a bunch of unused #includes.
+
+       * language.h: Add comment about current_language.
+
+       * mips-tdep.c (_initialize_mips_tdep): Change heuristic-fence-post
+       from var_uinteger to var_zinteger.
+
+       * configure.in: Fix typo (delta88r4 -> delta88v4).
+
+       * config/m88k/xm-delta88.h: Don't include sys/siginfo.h.  It was
+       to make this work on SVR4 before SVR4 had its own configuration,
+       and it breaks SVR3.
+
+       * config/m88k/tm-delta88v4.h: Define FRAME_CHAIN_VALID_ALTERNATE.
+
+       * config/m88k/delta88v4.h (NATDEPFILES): Remove infptrace.o inftarg.o.
+
+       * config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h.
+       * config/m88k/m88k.mh: Use xm-dgux.h.
+       * config/m88k/xm-m88k.h: New file, with HOST_BYTE_ORDER,
+       MAKEVA_END and MAKEVA_ARG.
+       * config/m88k/xm-*.h: Include m88k/xm-m88k.h.
+       * printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.
+
+Wed Sep  1 19:31:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * remote-udi.c (udi_wait): Call `warning' not `error'.
+
+       * symtab.c (COMPLETION_LIST_ADD_SYMBOL): If the symbol has a
+       demangling, don't put the mangled form in the completion list.
+
+       * symtab.c, symfile.c, c-exp.y, ch-exp.y, m2-exp.y, buildsym.c,
+       symfile.h, stabsread.c, minsyms.c, solib.c, nlmread.c, dwarfread.c
+       partial-stab.h, symmisc.c, gdbtypes.c: Lint.  Remove (or put
+       inside #if) unused variables and labels.  Fix unclosed comment.
+       Deal with enumeration values unhandled in switch statements.  Make
+       sure non-void functions return values.  Include appropriate
+       headers.
+       * dbxread.c (elfstab_build_psymtabs): Don't check for unsigned
+       value < 0.
+
 Wed Sep  1 14:36:00 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
 
        * i960-tdep.c, ns32k-pinsn.c, remote-adapt.c, xcoffread.c:
This page took 0.027735 seconds and 4 git commands to generate.