* main.c, gdbcmd.h: Add function filename_completer.
[binutils-gdb.git] / gdb / ChangeLog
index 7a5b6cf220f685a268ca916c14998d5d9449afd4..4b6b14f4d4ec6d7884ecc9496d56ee6767c7fdf5 100644 (file)
@@ -1,5 +1,327 @@
+Mon Jun 14 09:23:51 1993  Jim Kingdon  (kingdon@cygnus.com)
+
+       * main.c, gdbcmd.h: Add function filename_completer.
+       source.c: Use it for "directory" command.
+       (This will be more useful if the word break stuff is fixed).
+
+       * source.c (mod_path): Warning not error if can't find directory.
+
+       * isi-xdep.c: New file.
+       * config/m68k/isi.mh (XDEPFILES): Add isi-xdep.o
+
+Sun Jun 13 09:17:48 1993  Jim Kingdon  (kingdon@cygnus.com)
+
+       * config/m68k/xm-news.h: Include <sys/param.h>.
+
+       * m88k-tdep.c (IEEE_isNAN): Remove.
+       config/m88k/tm-m88k.h (INVALID_FLOAT): Return 0.  This was the same
+       broken isNAN as on the mips.
+
+       * valprint.c (_initialize_valprint): Use c->function.sfunc not just
+       c->function.
+
+       * dbxread.c (process_one_symbol): If SUN_FIXED_LBRAC_BUG is not
+       defined, don't worry about Sun's silly LBRAC bug.
+       * config/m68k/tm-sun3.h: Define SUN_FIXED_LBRAC_BUG to 0.
+
+       * dbxread.c (process_one_symbol): If there's a symbol before an
+       N_SO, don't error().
+       (case N_BCOMM): complain () not error ().
+
+       * defs.h, main.c (catch_errors): Add return_mask arg.
+       stack.c (print_frame_info): Pass RETURN_MASK_ERROR.
+       other callers: Pass RETURN_MASK_ALL.
+       (return_to_top_level), callers: Add return_reason arg.
+       * utils.c (quit):
+       Use return_to_top_level (RETURN_QUIT) instead of error ().
+       * main.c (main), tm-nindy960.h (ADDITIONAL_OPTION_HANDLER):
+       Use SET_TOP_LEVEL not setjmp (to_top_level).
+       * remote-nindy.c: Use catch_errors not setjmp (to_top_level).
+
+Sat Jun 12 14:40:54 1993  Jim Kingdon  (kingdon@cygnus.com)
+
+       * solib.c (solib_create_inferior_hook) [SVR4_SHARED_LIBS]:
+       Don't try to get the debug base yet.
+
+       * dbxread.c (process_one_symbol): Set n_opt_found based on whether
+       a non-gcc N_OPT symbol is found.  Make SUN_FIXED_LBRAC_BUG a macro
+       which returns 0 or 1 to say whether to do it.
+       * config/sparc/sun4{sol2,os4}.h
+       (SUN_FIXED_LBRAC_BUG,VARIABLES_INSIDE_BLOCK): Use n_opt_found so
+       the right thing happens for both acc and SunOS4 /bin/cc.
+
+       * valprint.c (print_hex_chars): Use local_hex_format_{pre,suf}fix.
+       * printcmd.c (print_scalar_formatted): Use val_print_type_code_int.
+
+       * mips-tdep.c: Remove isa_NAN; it assumed sizeof(host int) == 4 and
+       probably contained byte-order sins too.
+       config/mips/tm-mips.h (INVALID_FLOAT): Define to 0 like most machines.
+       The IEEE_FLOAT code in print_floating takes care of it.
+
+Sat Jun 12 14:47:04 1993  Fred Fish  (fnf@cygnus.com)
+
+       * Makefile.in (VERSION):  Bump to 4.9.2.
+       * c-valprint.c (c_val_print):  For array of chars printed with
+       string syntax, don't print the address of the array.  From
+       bothner@cygnus.com.
+       * c-exp.y (yylex): Recognize '.' as indicating a floating point
+       number regardless of the radix.  From wilson@cygnus.com.
+       * valprint.c (set_input_radix_1, set_output_radix_1):  New
+       prototypes and functions that do the actual radix setting work.
+       * valprint.c (set_radix, set_output_radix, set_input_radix):
+       Rewrite to use set_input_radix_1 and set_output_radix_1.
+       * valprint.c (initialize_valprint):  Enable commands to
+       independently set and show input and output radices.
+       * valprint.c (show_radix):  New prototype and function that
+       handles separate input and output radices.
+
+Fri Jun 11 18:39:38 1993  Ken Raeburn  (raeburn@cygnus.com)
+
+       Patches from Jeff Law, law@cs.utah.edu:
+       * hppa-pinsn.c: Now uses disassembler from opcode library,
+       this contains only the stub function print_insn.
+
+Fri Jun 11 15:19:59 1993  K. Richard Pixley  (rich@cygnus.com)
+
+       * main.c (main): back to two periods for elipse.
+         (print_gdb_version): revised format for configuration info.
+
+Fri Jun 11 10:24:35 1993  Fred Fish  (fnf@cygnus.com)
+
+       * defs.h (INT_MAX):  Cast unsigned shift result to int.
+
+Fri Jun 11 10:17:41 1993  Jim Kingdon  (kingdon@cygnus.com)
+
+       * dbxread.c (process_one_symbol): Rather than having
+       BLOCK_ADDRESS_FUNCTION_RELATIVE a macro, make it a variable which
+       is true if we are doing stabs-in-elf, false otherwise.
+       config/sparc/tm-sun4sol2.h: Don't define it.
+
+Fri Jun 11 13:33:40 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * remote-mips.c (mips_send_packet): Don't print garbage character
+       in debugging info.
+       (mips_request): Don't check that remote pid is 0, because
+       sometimes it isn't.
+       (mips_fetch_registers): Pass a pointer to SWAP_TARGET_AND_HOST,
+       not an integer.
+
+Fri Jun 11 10:17:41 1993  Jim Kingdon  (kingdon@cygnus.com)
+
+       * stack.c (print_frame_info): Use catch_errors around print_frame_args.
+
+       * Makefile.in (install): Don't depend on gdb.
+
+       * Rename remote-es1800.c to remote-es.c
+       and remote-st2000.c to remote-st.c for 14-char filenames.
+       config/m68k/{es1800,st2000}: Use the new names.
+
+       * mips-tdep.c (isa_NAN): Don't return true on -0.
+
+Fri Jun 11 10:24:35 1993  Fred Fish  (fnf@cygnus.com)
+
+       * defs.h (INT_MAX):  Cast unsigned shift result to int.
+
+Thu Jun 10 13:26:41 1993  Fred Fish  (fnf@cygnus.com)
+
+       * elfread.c (elf_symtab_read):  Add bfd section address to bfd
+       symbols, now that they are section relative.
+       * solib.c (bfd_lookup_symbol):  Ditto.
+
+Thu Jun 10 10:56:56 1993  Jim Kingdon  (kingdon@cygnus.com)
+
+       * Makefile.in (depend): Add bfd -I's for paread.c and xcoffexec.c
+       depend: Updated accordingly.
+
+Wed Jun  9 16:08:44 1993  Jim Kingdon  (kingdon@cygnus.com)
+
+       * Makefile.in (*.tab.c): Use mv for atomic update.
+
+       * Makefile.in ({dist,real}clean): Also remove nm.h.
+       (realclean): Also remove ${TESTS}, y.output, yacc.{acts,tmp}.
+       (distclean): Don't rebuild *.tab.c or TAGS.
+
+Wed Jun  9 12:56:58 1993  K. Richard Pixley  (rich@cygnus.com)
+
+       * Makefile.in (version.c): add host and target names to version.c.
+       * main.c (main): print three periods for the elipse.
+         (print_gdb_version): also print configuration.
+
+       * udi/udiids.h, udi/udip2soc.c, udi/udiphcfg.h, udi/udiphunix.h,
+         udi/udiproc.h, udi/udipt29k.h, udi/udiptcfg.h, udi/udisoc.h,
+         udi/udr.c: Change AMD copyrights to FSF copyleft '93.
+
+       * remote-eb.c (get_hex_regs, eb_fetch_registers), remote-adapt.c
+         (get_hex_regs, adapt_fetch_registers): cast args to
+         supply_register to avoid gcc warning.
+
+       * config/a29k/a29k.mt (TDEPFILES): drop minimon support.  It
+         doesn't compile on solaris and is now obsolete.
+
+       * config/sparc/sun4os4.mh (XM_CLIBS): remove -lresolv.  This
+         breaks stock sunos installations.
+
+Wed Jun  9 06:14:33 1993  Jim Kingdon  (kingdon@cygnus.com)
+
+       * m68k-stub.c: Add comment about frame cache.
+
+       * target.h (target_store_registers): Doc fix re error handling.
+
+       * findvar.c (write_register): Call SWAP_TARGET_AND_HOST regardless
+       of register_valid[regno].
+
+Tue Jun  8 14:42:10 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
+
+       * symtab.h, dwarfread.c: Doc fix re dependencies.
+
+Tue Jun  8 17:54:09 1993  Rob Savoye  (rob@rtl.cygnus.com)
+
+       * serial.c (serial_close): If scb is NULL, don't try to close
+       it. 
+       * configure.in: Add support for rom68k and bug boot monitors.
+
+Tue Jun  8 17:39:12 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
+
+       * coffread.c (init_stringtab): Fix bug where sizeof(long) != 4.
+       * gdbcore.h, core.c (read_memory_unsigned_integer): New function.
+       * findvar.c (read_register, write_register): Fix thinko where
+       sizeof(host long) != sizeof(target int).
+       * h8300-tdep.c: Use new read_memory_unsigned_integer call.
+       * sh-tdep.c (_initialize_sh_tdep): Add memory_size command.
+
+Tue Jun  8 14:42:10 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
+
+       * Move config/m68k/tm-m68k.h (FRAME_FIND_SAVED_REGS) to
+       m68k-tdep.c (m68k_find_saved_regs).  Don't duplicate code between
+       68881 and non-68881 cases.  Check for a pair of movel instructions.
+
+Tue Jun  8 14:52:55 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
+
+       First cut at sparc-vxworks targetting.
+       * config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt: new files.
+       * configure.in: sparc-vxworks gdb_target now vxsparc.
+
+       * remote-eb.c, remote.c: symfile.h requires bfd.h so include it.
+
+Tue Jun  8 14:42:10 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
+
+       * config/m68k/xm-news.h: add "extern int errno".
+
+Tue Jun  8 13:45:07 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
+
+       * remove-vx.c (vx_read_register, vx_write_register): collapse
+         ifdef I80960 else (assumes) m68k into parameterizable macros
+         VX_NUM_REGS and VX_SIZE_FPREGS.
+       * config/m68k/tm-vx68.h, config/i960/tm-vx960.h (VX_NUM_REGS,
+         VX_SIZE_FPREGS): new definitions.
+
+Tue Jun  8 11:08:29 1993  Jim Kingdon  (kingdon@cygnus.com)
+
+       * symfile.{c,h} (generic_load): New function.
+       remote{,-nindy,-eb,-mips}.c: Use it.
+
+Mon Jun  7 20:07:30 1993  Stu Grossman  (grossman@cygnus.com)
+
+       * Makefile.in (depend):  More sed gubbish to deal with
+       ../bfd/bfd.h being generated during the build.
+       * depend:  Re-done with corrected makefile.
+
+Mon Jun  7 16:32:05 1993  Fred Fish  (fnf@cygnus.com)
+
+       * Makefile.in (BFD_SRC_DIR):  Renamed def and usages from BFD_DIR.
+       * Makefile.in (BFD_OBJ_DIR):  New definition for the bfd build
+       directory to find automatically generated header files and library.
+       * Makefile.in (BFD_LIB):  Use BFD_OBJ_DIR.
+       * Makefile.in (LINTFLAGS):  Include BFD_OBJ_DIR.
+       * Makefile.in (saber_gdb):  Include BFD_OBJ_DIR.
+       * Makefile.in (depend):  Include BFD_OBJ_DIR in gcc args.
+       * Makefile.in (paread.o, xcoffexec.o):  Remove, now in depend.
+       * depend, alldeps.mak:  Rebuild after Makefile.in changes.
+
+Fri Jun  4 10:18:51 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
+
+       * configure.in: change lynx support to CPU-*-lynxos*
+
+       * Makefile.in (subdir_do): change test from existence of directory
+       to existence of Makefile (the directory may exist but not be configured)
+
+Thu Jun  3 01:18:51 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
+
+       * config/sparc/xm-sun4sol2.h: define MEM_FNS_DECLARED
+
+Fri Jun  4 10:43:33 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * configure.in (mips-idt-ecoffl*): New target; use idtl.
+       (mips-idt-ecoff*): Added trailing '*'.
+       * config/mips/idtl.mt: New file; like idt.mt, but little endian.
+
+Thu Jun  3 17:36:56 1993  Stu Grossman  (grossman@cygnus.com)
+
+       * ser-go32.c:  Clean up lots of compilation nits.
+
+Thu Jun  3 14:44:57 1993  Stu Grossman  (grossman@cygnus.com)
+
+       * Patches from Jeffrey Law <law@cs.utah.edu>.
+       * hppab-nat.c: Eliminate unnecessary ifdefs for
+       FETCH_INFERIOR_REGISTERS, CANNOT_FETCH_REGISTER, and
+       CANNOT_STORE_REGISTER.
+       (fetch_register): Delete code to handle CANNOT_FETCH_REGISTER.
+       * hppa-pinsn.c: Support 'I', 'J', and 'K' in output
+       templates for 1.1 FP computational instructions.
+
+Thu Jun  3 03:34:49 1993  Stu Grossman  (grossman@cygnus.com)
+
+       * Makefile.in:  Remove ser-tcp.[co].  (Use XDEPFILES instead.)
+       * alldeps.mak, depend:  Rebuild to account for ser-tcp.
+       * config/sparc/sun4os4.mh:  Add ser-tcp to XDEPFILES.
+       * gdbserver/Makefile.in (gdbserver):  Use -lbsd.
+       * gdbserver/remote-inflow{-sparc}.c (create_inferior):  Don't use a
+       shell when running the child, as args have been expanded by the
+       time we get here.  Simplify calling convention.
+       * gdbserver/remote-server.c (main):  Use new calling convention
+       for create_inferior, remove defunct code for coalescing argv.
+       Remove extra calls to mywait(), as we no longer have to wade
+       through a shell.
+
+       * target.c (target_read_memory_partial):  Don't deref errnoptr
+       when checking for null pointer.
+
+Wed Jun  2 19:58:46 1993  John Gilmore  (gnu@cygnus.com)
+
+       * remote-es1800.c:  Fix typo.
+
+Tue Jun  1 21:22:39 1993  Fred Fish  (fnf@cygnus.com)
+
+       * target.c (target_read_memory_partial):  Like target_read_memory,
+       but does partial reads, such as reads that bump into the end of
+       the address space.
+       * target.h (target_read_memory_partial):  Add prototype.
+       * valprint.c (PRINT_MAX_DEFAULT):  New define, initial value 200.
+       * valprint.c (val_print_string):  Complete rewrite to fix bug with
+       bumping into end of memory, avoiding unnecessarily long reads, and
+       fixing bug when print_max is set to 0 (unlimited print length).
+       * valprint.c (_initialize_valprint):  Use PRINT_MAX_DEFAULT to
+       initialize print_max.
+
+Tue Jun  1 18:11:35 1993  Rob Savoye  (rob at darkstar.cygnus.com)
+
+       * configure.in: Add support for rom68k and bug boot monitors.
+
+Mon May 31 10:37:04 1993  Jim Kingdon  (kingdon@cygnus.com)
+
+       * printcmd.c (print_scalar_formatted): Print integers bigger than
+       LONGEST in hex no matter how big, and no matter what the format
+       and size.
+
+       * stabsread.c (read_type): Skip type attributes if present.
+
+       * stabsread.c (read_huge_number): Don't accept '0' + radix as part
+       of number, just through '0' + radix - 1.
+
 Sun May 30 15:35:21 1993  Fred Fish  (fnf@cygnus.com)
 
+       * Makefile.in (SER_HARDWIRE):  Temporarily comment out ser-tcp.o.
+
        * {dbxread.c, dwarfread.c} (read_ofile_symtab):  Rewrite to take
        single parameter, the pointer to the partial symtab, rather than
        a bunch of args that are derived from the partial symtab.  Change