gcc lint
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 8518bdd5263193dbc89a487fd3e344f56c72a315..fffb3b1db6e49abb3178fdf9052832a35fe5211a 100644 (file)
@@ -1,3 +1,313 @@
+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:
+         index -> strchr.
+
+Wed Sep  1 11:35:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * remote.c: Add comment explaining why dcache is disabled.
+       (remote_fetch_word, remote_store_word): Make static and #if 0.
+       They are not called from anywhere.
+
+Wed Sep  1 14:41:28 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
+
+       * arm-tdep.c, convex-tdep.c, convex-xdep.c, dbxread.c,
+         h8300-tdep.c, h8500-tdep.c, i960-pinsn.c, i960-tdep.c,
+         infptrace.c, m88k-tdep.c, mips-tdep.c, regex.c, remote-vx.c,
+         rs6000-tdep.c, xcoffexec.c, xcoffread.c, z8k-tdep.c,
+         config/arm/tm-arm.h, config/convex/tm-convex.h,
+         config/gould/tm-np1.h, config/gould/tm-pn.h,
+         config/m68k/tm-isi.h, config/ns32k/tm-umax.h,
+         config/pa/tm-hppa.h, config/pyr/tm-pyr.h,
+         config/rs6000/tm-rs6000.h, config/tahoe/tm-tahoe.h,
+         config/vax/tm-vax.h:  bzero -> memset.
+
+       * regex.c: bcmp -> memcmp.
+
+Wed Sep  1 11:35:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * symtab.c (find_pc_line, find_line_common),
+       symtab.h (struct linetable), xcoffread.c (arrange_linetable):
+       Revise comments re linetable sorting.
+       * buildsym.c (compare_line_numbers): Sort by pc, not by line.
+       * coffread.c: Tell end_symtab to sort the line table.
+
+       * coffread.c: Re-work a lot of the coff-specific stuff to use stuff
+       in buildsym.c.  This includes coff_finish_block, coff_context_stack,
+       coff_local_symbols, coff_file_symbols, coff_global_symbols,
+       coff_end_symtab and coff_add_symbol_to_list.
+       (read_enum_type): Deal with it now that we have a "struct pending"
+       not a "struct coff_pending".
+
+       * buildsym.c (end_symtab): Don't realloc subfile->linetable.
+
+Wed Sep  1 13:12:43 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
+
+       * a68v-nat.c, altos-xdep.c, convex-tdep.c, convex-xdep.c,
+         findvar.c, hppab-nat.c, hppah-nat.c, i386mach-nat.c,
+         irix4-nat.c, m68k-tdep.c, m88k-tdep.c, mipsread.c, regex.c,
+         remote-bug.c, remote-hms.c, rs6000-nat.c, rs6000-tdep.c,
+         sparc-nat.c, stabsread.c, sun3-nat.c, sun386-nat.c, symfile.c,
+         umax-xdep.c, xcoffread.c, 29k-share/udi/udip2soc.c,
+         29k-share/udi/udr.c, config/a29k/tm-a29k.h, config/arm/tm-arm.h,
+         config/convex/tm-convex.h, config/gould/tm-np1.h,
+         config/gould/tm-pn.h, config/h8300/tm-h8300.h,
+         config/h8500/tm-h8500.h, config/i386/tm-i386aix.h,
+         config/i386/tm-sun386.h, config/i386/tm-symmetry.h,
+         config/i960/tm-i960.h, config/m68k/tm-news.h,
+         config/m88k/tm-m88k.h, config/mips/tm-mips.h,
+         config/ns32k/tm-merlin.h, config/ns32k/tm-umax.h,
+         config/pa/tm-hppa.h, config/pyr/tm-pyr.h,
+         config/rs6000/tm-rs6000.h, config/sh/tm-sh.h,
+         config/tahoe/tm-tahoe.h, config/vax/tm-vax.h,
+         config/z8k/tm-z8k.h, nindy-share/nindy.c: bcopy -> memcpy.
+
+Wed Sep  1 05:05:53 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * mipsread.c (parse_partial_symbols):  Use language from FDR if it
+       is unambigous.  Patch from ptf@delcam.co.uk (Paul Flinders).
+       * mipsread.c (ecoff_symfile_info):  New struct to hold the global
+       pending_list.
+       * mipsread.c (mipscoff_symfile_init, parse_partial_symbols):
+       Allocate the global pending list and link it to the objfile.
+       * mipsread.c (is_pending_symbol, add_pending):  Use global pending
+       list from objfile. Allocate pending list entries from the
+       psymbol_obstack.
+       * mipsread.c (free_pending):  Remove. The pending list is now
+       freed when the psymbol_obstack is freed.
+       * mipsread.c (psymtab_to_symtab1):  Remove pending list allocation,
+       the global pending list is used now.
+       * mipsread.c (parse_partial_symbols):  Skip only the first
+       file indirect entry when building the dependency list.
+
+Tue Aug 31 15:01:27 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
+
+       Break dcache code out of remote.c.
+       * dcache.h: white space changes only.
+       * dcache.c: add user settable variable to set whether data caching
+         is in use.
+       * remote.c: include dcache.h. removed data caching code which is
+         now in dcache.c.  Compile in data caching again.  (data caching
+         is currently off by default.)
+         (remote_read_bytes, remote_write_bytes): change second arg to
+         unsigned char.
+         (remote_dcache): new static variable.
+       * Makefile.in (REMOTE_O): add dcache.o.
+       * config/m88k/m88k.mt (TDEPFILES): removed dcache.o.
+
+       Break dcache code out of remote-nindy.c.
+       * remote-nindy.c: removed dcache code.  Changed callers to use new
+         conventions.  include dcache.h.
+         (nindy_dcache): new static variable.
+       * config/i960/nindy960.mt (TDEPFILES): added dcache.o.
+
+       Break dcache code out of remote-bug.c into dcache.[hc].
+       * Makefile.in (dcache_h): new macro.
+         (HFILES): added $(dcache_h).
+         (ALLDEPFILES): added dcache.c.
+         (dcache.o): new rule.
+         (remote-bug.o): now depends on $(dcache_h).
+       * remote-bug.c: include dcache.h. remove externs for insque and
+         remque, add extern for bcopy.  Prototype bug_close,
+         bug_clear_breakpoints, bug_write_cr.  dcache code moved to
+         dcache.[hc].  Changed dcache calling convention to include an
+         initial DCACHE argument.
+         (bug_dcache): new static variable.
+         (bug_read_inferior_memory): change second arg to
+         unsigned char.
+       * dcache.[ch]: new files.
+       * config/m88k/m88k.mt (TDEPFILES): add dcache.o.
+
+Tue Aug 31 10:33:13 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * c-typeprint.c (c_print_type_base): Treat show = 0 just like
+       show < 0.  The only case where we had been distinguishing is that
+       show = 0 used to print "struct  " or "enum  " instead of
+       "struct {...}" or "enum {...}" which seems clearly wrong.
+
+Mon Aug 30 17:51:32 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
+
+       * configure.in: recognize m88110 as an m88k.
+
+Mon Aug 30 16:07:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * valops.c (call_function_by_hand): If we discard cleanups, call
+       bpstat_clear (&inf_status.stop_bpstat).
+
+Mon Aug 30 12:47:46 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * stabsread.h, dbxread.c (end_psymtab):  Return NULL if the psymtab
+       was empty and thrown away.
+       * mipsread.c (parse_partial_symbols):  Do not add empty psymtabs to
+       dependency list, skip self dependencies.
+       * mipsread.c (parse_fdr):  Removed, obsolete.
+       * mipsread.c (parse_lines):  Check for cbLine being zero, not
+       cbLineOffset.
+       * mipsread.c (struct symloc):  Add pst_language.
+       * mipsread.c (parse_partial_symbols): Set up proper language for
+       header files, save it in pst_language for psymtab_to_symtab_1.
+       * mipsread.c (psymtab_to_symtab_1):  Use pst_language.
+
+Mon Aug 30 10:48:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * configure.in: Fix typo m88*-motorola-svr4* -> sysv4*.
+
+Fri Aug 27 17:09:19 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * paread.c: Include som.h instead of libhppa.h.  (From Utah.)
+
 Fri Aug 27 09:30:40 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
 
        * symmisc.c (dump_symtab): Use catch_errors around print_symbol.
This page took 0.025754 seconds and 4 git commands to generate.