+Fri Aug 25 16:57:05 2000 David Taylor <taylor@texas.cygnus.com>
+
+ * regcache.c (register_changed): New function.
+ * value.h: Declare it.
+
+Fri Aug 25 12:11:21 2000 David Taylor <taylor@texas.cygnus.com>
+
+ * symtab.c (search_symbols): Fix off by one error in index for
+ initializing variables ourtype, ourtype2, ourtype3, and ourtype4.
+ (symtab_symbol_info): fix similar off by one error.
+
+Fri Aug 25 12:03:15 2000 David Taylor <taylor@texas.cygnus.com>
+
+ * gdbarch.sh (TARGET_ADDR_BIT): New macro for the number
+ of bits in gdb's representation of a target address.
+ * gdbarch.c, gdbarch.h: Regenerated.
+ * gdbtypes.c (build_gdbtypes): Use TARGET_ADDR_BIT instead of
+ TARGET_PTR_BIT when initializing builtin_type_CORE_ADDR.
+ * printcmd.c (print_address_numeric): Use TARGET_ADDR_BIT instead
+ of TARGET_PTR_BIT, because we're printing an address, not a pointer.
+
+2000-08-25 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * Makefile.in: add rules to compile and link pascal specific files.
+ * config/djgpp/fnchange.lst: add substitution for p-exp.tab.c.
+
+2000-08-20 Michael Chastain <chastain@redhat.com>
+
+ * remote.c (read_frame): Handle SERIAL_TIMEOUT while reading
+ checksum.
+
+2000-08-23 Kevin Buettner <kevinb@redhat.com>
+
+ * dstread.c (dst_symfile_offsets): Protoize.
+ * fork-child.c (fork_inferior): Protoize.
+
+2000-08-21 Kevin Buettner <kevinb@redhat.com>
+
+ * dbxread (dbx_symfile_read, process_later): Protoize.
+ * dsrec.c (load_srec): Protoize.
+
+2000-08-18 Andrew Cagney <cagney@ops1.cygnus.com>
+
+ * mips-tdep.c (mips_gdbarch_init): Check arches->gdbarch and not
+ current_gdbarch for a match.
+
+2000-08-18 J.T. Conklin <jtc@redback.com>
+
+ * MAINTAINERS: Add myself as dcache.c maintainer.
+
+ * remote-nindy.c (nindy_load): Invalidate dcache.
+
+ * dcache.c (dcache_invd): Renamed from dcache_flush. The term
+ flush with respect to caches usually implies that data will be
+ written to memory.
+ (dcache_init, dcache_xfer_memory): Updated.
+ * monitor.c (flush_monitor_dcache, monitor_resume, monitor_load):
+ Updated.
+ * ocd.c (ocd_open, ocd_resume, bdm_reset_command): Updated.
+ * remote-bug.c (bug_load, bug_resume): Updated.
+ * remote-nindy.c (nindy_open, nindy_resume): Updated.
+ * remote-sds.c (sds_open, sds_resume): Updated.
+ * remote-utils.c (gr_open): Updated.
+ * remote.c (remote_open_1, remote_resume, remote_async_resume,
+ remote_cisco_open): Updated.
+ * wince.c (child_create_inferior, child_resume): Updated.
+
+ * monitor.c (monitor_open): Free dcache before creating a new one.
+ * dcache.c (dcache_free): New function.
+ * dcache.h (dcache_free): New prototype.
+
+2000-08-18 Andrew Cagney <cagney@ops1.cygnus.com>
+
+ * remote-array.c (array_fetch_register): Pass dummy parameter to
+ array_fetch_registers.
+ (array_store_register): Ditto.
+
+2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * value.h (struct value) <lazy>: Add a comment about its use for
+ watchpoints.
+
+2000-08-12 Kevin Buettner <kevinb@redhat.com>
+
+ * cxux-nat.c (fetch_inferior_registers): Protoize.
+ * d10v-tdep.c (d10v_frame_chain_valid, d10v_extract_return_value):
+ Protoize.
+ * d30v-tdep.c (d30v_frame_chain_valid, d30v_extract_return_value):
+ Protoize.
+
+Fri Aug 11 19:00:51 2000 Andrew Cagney <cagney@makita.cygnus.com>
+
+ * config/mn10300/tm-mn10300.h (REGISTER_SIZE,
+ MAX_REGISTER_RAW_SIZE, REGISTER_VIRTUAL_TYPE, REGISTER_BYTE,
+ REGISTER_VIRTUAL_SIZE, REGISTER_RAW_SIZE): Disable.
+ * mn10300-tdep.c (mn10300_do_registers_info,
+ mn10300_print_register): New functions. Pretty print registers.
+ (mn10300_register_virtual_type, mn10300_register_byte,
+ mn10300_register_virtual_size, mn10300_register_raw_size): New
+ functions.
+ (mn10300_gdbarch_init): Update.
+
+ * mn10300-tdep.c (mn10300_gdbarch_init): Check for mn10300 variant
+ and not mips variant in the info struct.
+
+2000-08-11 Mark Kettenis <kettenis@gnu.org>
+
+ * i386-linux-nat.c [! HAVE_PTRACE_GETFPXREGS] (fetch_fpxregs,
+ store_fpxregs): Return 0.
+
+2000-08-11 Andrew Cagney <cagney@lulu.cygnus.com>
+
+ * regcache.c (GET_SAVED_REGISTER): Restore definition. Was lost
+ as part of 2000-08-10 Andrew Cagney <cagney@ops1.cygnus.com>.
+
+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
+ table if the symbol couldn't be found in the normal symbol table
+ (i.e. if the shared object in question was stripped).
+
+2000-08-06 Kevin Buettner <kevinb@redhat.com>
+
+ * ch-exp.c (parse_opt_name_string): Protoize. [Thanks to Eli
+ Zaretskii for the prefatory comment.]
+ * core-regset.c (fetch_core_registers): Protoize; revise
+ comment.
+
+2000-08-06 Christopher Faylor <cgf@cygnus.com>
+
+ * win32-nat.c: Perform various gcc warning cleanups.
+ (safe_symbol_file_add_cleanup): Reset stdout to saved stdout, not
+ stderr.
+ (dll_symbol_command): Pass OBJF_USERLOADED to safe_symbol_file_add.
+ (get_child_debug_event): Always reset last_sig. Always reset inferior
+ pid appropriately.
+ (do_initial_child_stuff): New function. Called when attaching or
+ starting a new inferior process.
+ (child_attach): Use do_initial_child_stuff.
+ (child_create_inferior): Ditto.
+ * config/i386/cygwin.mh (NAT_FILE): Set to modern location.
+ * config/i386/tm-cygwin.h: Define ATTACH_NO_WAIT.
+
+2000-08-05 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * go32-nat.c: (go32_wait): If child_cwd[] is empty, initialize
+ it to GDB's current directory.
+ (go32_create_inferior, init_go32_ops): Initialize child_cwd[] to
+ an empty string, to signal an uninitialized value.
+ From Robert Hoehne <robert.hoehne@gmx.net>.
+
+2000-08-04 Kevin Buettner <kevinb@redhat.com>
+
+ * symtab.h (fixup_psymbol_section): Declare.
+ * symtab.c (fixup_psymbol_section): Make extern.
+ (fixup_section): Fix up section as well as bfd_section.
+ * objfiles.c (objfile_relocate): Call fixup_symbol_section
+ or fixup_psymbol_section before attempting to access
+ the SYMBOL_SECTION component of a symbol or partial symbol.
+
+2000-08-04 Kevin Buettner <kevinb@redhat.com>
+
+ * minsyms.c (build_minimal_symbol_hash_tables): New function.
+ (compact_minimal_symbols): Don't construct hash tables here.
+ (install_minimal_symbols): Instead, construct them here.
+ (msymbols_sort): And rebuild them here too.
+
+ * dwarf2read.c (struct comp_unit_head): Add fields offset_size
+ and initial_length_size. Change type of ``length'' field to long.
+ (read_initial_length, read_offset): New functions.
+ (dwarf2_build_psymtabs_easy): Call read_initial_length() instead
+ of just reading 4 bytes.
+ (read_comp_unit_head): Likewise; also, call read_offset() to
+ fetch the offset instead of just reading 4 bytes.
+ (dwarf_decode_lines): Likewise.
+ (read_comp_unit_head): Fix internal error message so it
+ accurately reflects the function in which the error occurred.
+ (dwarf2_build_psymtabs_hard): Properly account for size of the
+ initial length field in the section.
+ (read_attribute, dwarf2_get_ref_die_offset): Add a case for
+ DW_ORM_ref8.
+ (dwarf2_build_psymtabs_hard, psymtabs_to_symtab_1): Don't
+ assume that the .text section will have index 0 in the
+ section_offsets table.
+
+Fri Aug 4 18:00:41 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * remote.c (enum Z_packet_type): Define.
+ (remote_protocol_Z): Change to an array of size NR_Z_PACKET_TYPES.
+ (remote_insert_watchpoint): Check watchpoint type.
+ (watchpoint_to_Z_packet): New function.
+ (enum packet_result): Define.
+ (packet_ok): New function. Return enum packet_result.
+ (init_all_packet_configs): New function.
+ (remote_open_1, remote_async_open_1, remote_cisco_open): Use
+ init_all_packet_configs instead of initializing remote_protocol_P,
+ remote_protocol_Z, remote_protocol_binary_download separatly.
+ (remote_remove_hw_breakpoint, remote_insert_hw_breakpoint,
+ remote_remove_watchpoint, remote_insert_watchpoint): Use
+ watchpoint_to_Z_packet and packet_ok. Remove #ifdef
+ TARGET_HAS_HARDWARE_WATCHPOINTS.
+ (set_remote_protocol_Z_software_bp_packet_cmd,
+ show_remote_protocol_Z_software_bp_packet_cmd,
+ set_remote_protocol_Z_hardware_bp_packet_cmd,
+ show_remote_protocol_Z_hardware_bp_packet_cmd,
+ set_remote_protocol_Z_write_wp_packet_cmd,
+ show_remote_protocol_Z_write_wp_packet_cmd,
+ set_remote_protocol_Z_read_wp_packet_cmd,
+ show_remote_protocol_Z_read_wp_packet_cmd,
+ set_remote_protocol_Z_access_wp_packet_cmd,
+ show_remote_protocol_Z_access_wp_packet_cmd): New functions.
+ (remote_Z_packet_packet_detect): New variable.
+ (show_remote_protocol_Z_packet_cmd,
+ set_remote_protocol_Z_packet_cmd): Iterate over all ``Z'' packet
+ variants.
+ (add_packet_config_cmd): Add argument legacy. Change syntax to
+ ``set/show remote FULL_NAME-packet ...'' command. Add ``set/show
+ remote XXX-packet ...'' command using add_alias_cmd when legacy.
+ (set_packet_config_cmd): Delete.
+ (show_remote_cmd): New function.
+
+ * TODO: Update.
+
+Fri Aug 4 14:05:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * Makefile.in (infodir, SER_HARDWIRE): Fix merge problems from
+ 2000-07-07 Michael Snyder <msnyder@cleaver.cygnus.com>.
+
Wed Aug 2 21:15:26 2000 Andrew Cagney <cagney@b1.cygnus.com>
* gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Add.