* dcache.c (dcache_info): Don't print cache state if last_cache
[binutils-gdb.git] / gdb / ChangeLog
index aad8daad8b9106c7b152c6fa3072e4f937c4ccf6..3da78bbc9768181912ee0bed6120a422bd26f765 100644 (file)
@@ -1,3 +1,228 @@
+2000-08-11  J.T. Conklin  <jtc@redback.com>
+
+       * dcache.c (dcache_info): Don't print cache state if last_cache 
+       is NULL.
+
+2000-08-10  Andrew Cagney  <cagney@ops1.cygnus.com>
+
+       * config/mn10300/tm-mn10300.h, mn10300-tdep.c
+       (mn10300_push_arguments): Fix function signature to match gdbarch
+       vector.
+       * config/mn10300/tm-mn10300.h (REGISTER_NAME): Delete.
+       * mn10300-tdep.c (struct gdbarch_tdep): Define.
+       (mn10300_generic_register_names, am33_register_names): Convert to
+       functions.
+       (set_machine_hook): Delete.
+       (register_name): New function.
+       (mn10300_register_name): Delete.
+       (mn10300_dump_tdep, mn10300_gdbarch_init): New functions.
+       (_initialize_mn10300_tdep): Call register_gdbarch_init instead of
+       specify_exec_file_hook.
+       (AM33_MODE): Define.
+       (set_movm_offsets): Update.
+       
+2000-08-10  Mark Kettenis  <kettenis@gnu.org>
+
+       Adapt support for SSE registers in Linux/x86 for Linux 2.4.
+       * i386-linux-nat.c: Various doc fixes.  Include "i387-nat.h".
+       (GETFPXREGS_SUPPLIES): Renamed from GETXFPREGS_SUPPLIES.
+       (have_ptrace_getfpxregs): Renamed from have_ptrace_getxfpregs.
+       (convert_to_gregset): Removed.  Moved logic to ...
+       (fill_gregset): ... here.  Simplified function.
+       (fetch_regs): Use perror_with_name for error reporting.
+       (store_regs): Add `regno' parameter.  Use perror_with_name for
+       error reporting.  Call fill_gregset instead of convert_to_gregset.
+       (FPREG_ADDR): Remove.
+       (supply_fpregset): Implement by calling i387_supply_fsave.
+       (convert_to_fpregset): Remove.
+       (fill_fpregset): Implement by calling i387_fill_fsave.
+       (fetch_fpregs): Use perror_with_name fro error reporting.
+       (store_fpregs) Add `regno' parameter.  Use perror_with_name fro
+       error reporting.  Call fill_fpregset instead of
+       convert_to_fpregset.
+       (supply_xfpregset, convert_to_xfpregset): Removed.
+       (supply_fpxregset, fill_fpxregset): New functions.
+       (fetch_fpxregs): Renamed from fetch_xfpregs.  Use perror_with_name
+       for error reporting.  Call supply_fpxregset instead of
+       supply_xfpregset.
+       (store_xfpregs): Removed.
+       (store_fpxregs): New function.
+       (fetch_inferior_registers): Adjust for xfp -> fpx change.  Tweak
+       message in call to internal_error.
+       (store_inferior_registers): Adjust for xfp ->fpx change.  Pass
+       REGNO to store_regs, store_fpregs and store_fpxregs.
+       (fetch_core_registers): Adjust for xfp -> fpx change.
+       * acconfig.h (HAVE_PTRACE_GETFPXREGS): Renamed from
+       HAVE_PTRACE_GETXFPREGS.
+       * config.in: Regenerated.
+       * configure.in: Replace check for PTRACE_GETXFPREGS with check for
+       PTRACE_GETFPXREGS.  Remove comment about Cygnus SSE extensions.
+       * configure: Regenerated.
+       * config/i386/linux.mh (NATDEPFILES): Add i387-nat.o.
+       * config/i386/tm-linux.h: Base definition of HAVE_SSE_REGS on
+       HAVE_PTRACE_GETFPXREGS instead of HAVE_PTRACE_GETXFPREGS.
+
+2000-08-10  Andrew Cagney  <cagney@ops1.cygnus.com>
+
+       * regcache.c (TARGET_WRITE_PC, TARGET_READ_PC, TARGET_READ_FP,
+       TARGET_WRITE_FP, TARGET_READ_SP, TARGET_WRITE_SP): Move
+       initialization from here.
+       * gdbarch.sh: To here.
+       * gdbarch.h, gdbarch.c: Regenerate.
+
+Thu Aug 10 18:58:04 2000  Andrew Cagney  <cagney@makita.cygnus.com>
+
+       * defs.h (TARGET_BFD_VMA_BIT, TARGET_SHORT_BIT, TARGET_INT_BIT,
+       TARGET_LONG_BIT, TARGET_LONG_LONG_BIT, TARGET_FLOAT_BIT,
+       TARGET_DOUBLE_BIT, TARGET_LONG_DOUBLE_BIT, TARGET_PTR_BIT): Move
+       non- multi-arch handling from here.
+       * gdbarch.sh: To here. Update printf gdbarch_update_p.  Make more
+       portable.
+       * gdbarch.h, gdbarch.c: Regenerate.
+       
+2000-08-10  Andrew Cagney  <cagney@ops1.cygnus.com>
+
+       * partial-stab.h (DBX_READ): Eliminate redundant check for null
+       ``pst''.  Also fixes GCC warning.
+
+2000-08-10  Andrew Cagney  <cagney@ops1.cygnus.com>
+
+       * rs6000-nat.c (set_host_arch): Check value returned by
+       gdbarch_update_p.
+       * gdbarch.sh (gdbarch_update_p): Rename gdbarch_update.
+       * gdbarch.h, gdbarch.c: Regenerate
+       * arch-utils.c (set_gdbarch_from_file,
+       initialize_current_architecture, set_endian): Update.
+
+2000-08-10  Jimmy Guo  <guo@cup.hp.com>
+
+       * c-lang.c: Set case sensitivity on for c_language_defn,
+       cplus_language_defn, and asm_language_defn.
+       * ch-lang.c: Set case sensitivity on for chill_language_defn.
+       * f-lang.c: Set case sensivitity off for f_language_defn.
+       * jv-lang.c: Set case sensitivity on for java_language_defn.
+       * language.h: Add enum case_mode, case_sensitivity.
+       * language.c: Define case_mode, case_sensitivity.  Set case
+       sensitivity on for unknown_language_defn, auto_language_defn,
+       and local_language_defn.
+       (show_case_command,set_case_command,set_case_str): New static func.
+       (set_type_range_case): New static func, replaces set_type_range ().
+       (set_language_command,set_type_command,set_range_command,set_language):
+       Call set_type_range_case ().
+       (language_info): Print case sensitivity setting.
+       (_initialize_language): Add set/show commands for 'case-sensitive'.
+       Set default case mode 'auto'.  Set default language 'auto'.
+       * m2-lang.c: Set case sensitivity on for m2_language_defn.
+       * p-lang.c: Set case sensitivity on for pascal_language_defn.
+       * scm-lang.c: Set case sensitivity off for scm_language_defn.
+       * symtab.c (lookup_symbol): Downcase symbol name if case sensivitity
+       is off.
+
+2000-08-10  Jimmy Guo  <guo@cup.hp.com>
+
+       * MAINTAINERS: Change my contact email for hp tests maintainership.
+
+Thu Aug 10 15:28:17 2000  Andrew Cagney  <cagney@ryobi.cygnus.com>
+
+       * sparc-tdep.c (sparc_init_extra_frame_info): Fix number of
+       arguments to fetch_instruction.
+
+2000-08-10  Kazu Hirata  <kazu@hxi.com>
+
+       * hppa_tdep.c: Fix a comment typo.
+       * gdba.el: Likewise.
+
+2000-08-10  Tom Tromey  <tromey@cygnus.com>
+
+       * MAINTAINERS: Added myself with write-after-approval access.
+
+2000-08-10  J.T. Conklin  <jtc@redback.com>
+
+       * monitor.c (monitor_open): If a dcache has already been created,
+       invalidate it rather than creating another.
+       * ocd.c (ocd_open): Likewise.
+       * remote-nindy.c (nindy_open): Likewise.
+       * remote-sds.c (sds_open): Likewise.
+       * remote-utils.c (gr_open): Likewise.
+       * remote.c (remote_open_1, remote_cisco_open): Likewise.
+
+       * dcache.c (dcache_alloc): Changed to take address of line as an
+       argument, and to invalidate cache line before returning.
+       (dcache_peek_byte): Updated.
+       (dcache_poke_byte): Updated.
+
+2000-08-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       From Greg McGary <greg@mcgary.org>:
+       * partial-stab.h: Don't crash if pst is null. 
+
+2000-08-10  Mark Kettenis  <kettenis@gnu.org>
+
+       * i387-nat.h (i387_supply_fsave, i387_fill_fsave): Make extern.
+       (i387_supply_fxsave, i387_fill_fxsave): New prototypes.
+       * i387-nat.c (i387_supply_fsave): Declare `val' as `unsigned int'.
+       (fxsave_offset): New variable.
+       (FXSAVE_ADDR): New macro.
+       (i387_supply_fxsave, i387_fill_fxsave, i387_tag): New functions.
+
+2000-08-08  Tom Tromey  <tromey@cygnus.com>
+
+       * jv-valprint.c (java_value_print): Only print non-null Strings.
+
+2000-08-09  Kevin Buettner  <kevinb@redhat.com>
+
+       * core-sol2.c (fetch_core_registers): Protoize; add prefatory
+       comment.
+       * corefile.c (specify_exec_file_hook, generic_search): Protoize.
+
+2000-08-09  Michael Snyder  <msnyder@cleaver.cygnus.com>
+
+       * blockframe.c (sigtramp_saved_pc): Use dynamic allocation, 
+       since TARGET_PTR_BIT is no longer a constant (MULTI_ARCH).
+       * irix4-nat.c (get_longjmp_target): Ditto.
+       * irix5-nat.c (get_longjmp_target): Ditto.
+       * jv-valprint.c (java_value_print): Ditto.
+       * m3-nat.c (get_cprocs):            Ditto.
+       * m68k-tdep.c (get_longjmp_target): Ditto.
+       * mips-nat.c  (get_longjmp_target): Ditto.
+       * mipsv4-nat.c(get_longjmp_target): Ditto.
+       * pa64solib.c (read_dynamic_info):  Ditto.
+       * solib.c (elf_locate_base):        Ditto.
+
+Mon Aug  7 23:21:22 2000  David Taylor  <taylor@texas.cygnus.com>
+
+       * TODO: remove build_parse entry.
+
+2000-08-07  Kevin Buettner  <kevinb@redhat.com>
+
+       * command.c (add_cmd, add_abbrev_cmd, add_prefix_cmd, 
+       add_abbrev_prefix_cmd): Protoize.
+
+2000-08-07  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * objfiles.h (SECT_OFF_BSS): Don't detect invalid sect_index_bss
+       here, let the users of the macro do it.
+       * symtab.h (ANOFFSET): Detect here if the section index is not
+       initialized.
+       * xcoffread.c (find_targ_sec): Don't treat .bss as special,
+       because some objfiles may not have that section at all.
+       * coffread.c (cs_to_section): Ditto.
+       * elfread.c (elf_symtab_read): Detect an uninitialized index
+       value.
+       (elfstab_offset_sections): The macro ANOFFSET cannot be used as an
+       lvalue anymore.
+       * remote.c (get_offsets, remote_cisco_objfile_relocate): Don't use
+       ANOFFSET as an lvalue.
+       * objfiles.c (objfile_relocate, objfile_relocate): Don't use
+       ANOFFSET as an lvalue.
+       * symfile.c (default_symfile_offsets): Don't use ANOFFSET as an
+       lvalue.
+
+Mon Aug  7 10:24:30 2000  David Taylor  <taylor@texas.cygnus.com>
+
+       * parse.c (build_parse): don't write off the end of the std_regs
+       array.
+
 2000-05-21  Mark Kettenis  <kettenis@gnu.org>
 
        * solib.c (bfd_lookup_symbol): Fall back on the dynamic symbol