+2004-10-31 Orjan Friberg <organ.friberg@axis.com>
+ Andrew Cagney <cagney@gnu.org>
+
+ * gdbarch.sh (single_step_through_delay): Add.
+ * gdbarch.h, gdbarch.c: Re-generate.
+ * config/mips/tm-mips.h (STEP_SKIPS_DELAY_P, STEP_SKIPS_DELAY)
+ (mips_step_skips_delay): Delete.
+ * mips-tdep.c (mips_single_step_through_delay): Replace
+ mips_step_skips_delay.
+ (mips_gdbarch_init): Set single_step_through_delay.
+ (mips_dump_tdep): Do not print STEP_SKIPS_DELAY.
+
+2004-10-31 Mark Kettenis <kettenis@gnu.org>
+
+ * tramp-frame.c (tramp_frame_prepend_unwinder): Set unwinder type
+ from TRAMP_FRAME frame type.
+
+2004-10-31 Andrew Cagney <cagney@gnu.org>
+
+ * mdebugread.c (parse_procedure): Wrap use of RA_REGNUM in #ifdef.
+
+ * mips-tdep.c (mips_ignore_helper): Delete.
+ * config/mips/tm-mips.h (DEPRECATED_IGNORE_HELPER_CALL): Delete.
+ * infrun.c (handle_inferior_event): Delete #ifdef
+ DEPRECATED_IGNORE_HELPER_CALL code.
+
+ * config/mips/tm-mips.h (RA_REGNUM): Delete.
+
+2004-10-31 Mark Kettenis <kettenis@gnu.org>
+
+ * i386v4-nat.c (supply_gregset, supply_fpregset, fill_gregset)
+ (fill_fpregset): Do not compile for 64-bit systems.
+ * i386-sol2-nat.c: Don't include "i386v4-nat.c".
+ * Makefile.in (i386-sol2-nat.o): Update dependencies.
+ * config/i386/i386sol2.mh (NATDEPFILES): Add back i386v4-nat.c.
+
+2004-10-30 Andrew Cagney <cagney@gnu.org>
+
+ * mdebugread.h: Include "coff/sym.h" and "coff/symconst.h".
+ (struct mdebug_extra_func_info): Define.
+ * config/alpha/tm-alpha.h: Delete same.
+ * config/mips/tm-mips.h: Delete same.
+ * mdebugread.c: Delete same.
+ * Makefile.in: Update dependencies.
+ * mips-mdebug-tdep.c: Include "mdebugread.h".
+
+ * objfiles.c: Include "mdebugread.h".
+ * mdebugread.c: Include "mdebugread.h".
+ (ecoff_relocate_cfi): Delete.
+ * config/alpha/tm-alpha.h (ecoff_relcate_cfi): Delete.
+ * config/mips/tm-mips.h (ecoff_relcate_cfi): Delete.
+ * mdebugread.h (ecoff_relocate_efi): New file.
+ * Makefile.in: Update dependencies.
+
+ * mips-tdep.c (struct frame_extra_info): Delete.
+ (temp_proc_desc): Delete.
+
+ * config/alpha/tm-alpha.h (MDEBUG_EFI_SYMBOL_NAME): Rename
+ MIPS_EFI_SYMBOL_NAME.
+ (mips_extra_func_info_t, mips_extra_func_info): Delete.
+ (struct mdebug_extra_func_info): Replace struct
+ alpha_extra_func_info and alpha_extra_func_info_t.
+ * config/mips/tm-mips.h (MDEBUG_EFI_SYMBOL_NAME): Rename
+ MIPS_EFI_SYMBOL_NAME.
+ (struct mdebug_extra_func_info): Replace struct
+ alpha_extra_func_info and alpha_extra_func_info_t.
+ * objfiles.c, mips-tdep.c, mips-mdebug-tdep.c: Update.
+ * mdebugread.c, alpha-mdebug-tdep.c:
+
+ Suggested by Mark Kettenis.
+ * config/mips/tm-mips.h (struct mips_extra_func_info): Delete
+ fields frame_adjust and high_addr.
+ * mips-mdebug-tdep.c (PROC_HIGH_ADDR, PROC_FRAME_ADJUST): Delete.
+ (non_heuristic_proc_desc): Delete references.
+
+ * mips-tdep.h (MIPS_PRID_REGNUM): Add.
+ * config/mips/tm-mips.h (PRID_REGNUM): Delete.
+ * mips-tdep.c: Update.
+
+ * mips-tdep.h (MIPS_FIRST_EMBED_REGNUM)
+ (MIPS_LAST_EMBED_REGNUM): Add.
+ * config/mips/tm-mips.h (FIRST_EMBED_REGNUM)
+ (LAST_EMBED_REGNUM): Delete.
+ * mipsv4-nat.c, mips-tdep.c, mips-linux-tdep.c: Update.
+
+ * config/mips/tm-mips.h (PS_REGNUM): Delete.
+ * mips-tdep.h (MIPS_PS_REGNUM): Add.
+ * remote-vxmips.c, mipsv4-nat.c, mips-tdep.c: Update.
+ * mips-linux-nat.c: Update.
+
+ * mips-tdep.h: Add comments on registers.
+ (MIPS_UNUSED_REGNUM): Define.
+ * config/mips/tm-mips.h (ZERO_REGNUM, UNUSED_REGNUM)
+ (T9_REGNUM, V0_REGNUM, A0_REGNUM): Delete.
+ * irix5-nat.c, mipsv4-nat.c, mips-linux-tdep.c: Update.
+ * mips-linux-nat.c, remote-mips.c: Update.
+
+ * config/mips/tm-mips.h (t_insn): Delete.
+ * mips-tdep.c (mips_fetch_instruction, mips_skip_trampoline_code):
+ Replace t_insn with ULONGEST.
+
+2004-10-30 Mark Kettenis <kettenis@gnu.org>
+
+ * mipsnbsd-tdep.c: Include "regset.h" and "gdb_assert.h".
+ (MIPS_PC_REGNUM, MIPS_FP0_REGNUM, MIPS_FSR_REGNUM)
+ (MIPSNBSD_NUM_GREGS, MIPSNBSD_NUM_FPREGS): New defines.
+ (fetch_core_registers, fetch_elfcore_registers): Remove functions.
+ (mipsnbsd_core_fns, mipsnbsd_elfcore_fns): Remove variables.
+ (mipsnbsd_core_osabi_sniffer): New function.
+ (mipsnbsd_init_abi): Set regset_from_core_section.
+ (_initialize_mipsnbsd_tdep): Remove calls to
+ deprecated_add_core_fns.
+ (mipsnbsd_supply_fpregset, mipsnbsd_supply_gregset)
+ (mipsnbsd_regset_from_core_section): New functions.
+ (mipsnbsd_gregset, mipsnbsd_fpregset): New variables.
+ * Makefile.in (mipsnbsd-tdep.o): Update dependencies.
+
+ * procfs.c (procfs_fetch_registers, procfs_store_registers): Like
+ Remove optimization for DEPRECATED_FP_REGNUM.
+
+2004-10-30 Andrew Cagney <cagney@gnu.org>
+
+ * alpha-tdep.c (alpha_setup_arbitrary_frame): Delete.
+ * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Delete.
+ (alpha_setup_arbitrary_frame): Delete.
+ * mips-tdep.c (setup_arbitrary_frame): Delete.
+ * config/mips/tm-mips.h (SETUP_ARBITRARY_FRAME): Delete.
+ (setup_arbitrary_frame): Delete.
+ * stack.c (parse_frame_specification_1): When specified, call
+ create_new_frame with two parameters. Delete #ifdef
+ SETUP_ARBITRARY_FRAME.
+
+ * config/mips/tm-mips.h (MIPS16_INSTLEN, MIPS_NUMREGS)
+ (MIPS_INSTLEN): Delete.
+ * mips-tdep.h (enum mips_insn_size): Rename MIPS32_INSN_SIZE and
+ MIPS16_INSN_SIZE to MIPS_INSN32_SIZE and MIPS_INSN16_SIZE.
+ * remote-mips.c, mips-tdep.c: Update.
+
+ * config/mips/embed.mt (TDEPFILES): Add mips-mdebug-tdep.o.
+ * mips-mdebug-tdep.h, mips-mdebug-tdep.c: New files.
+ * mips-tdep.c (mips_mdebug_frame_cache)
+ (mips_mdebug_frame_this_id, mips_mdebug_frame_prev_register)
+ (mips_mdebug_frame_unwind, mips_mdebug_frame_sniffer)
+ (mips_mdebug_frame_base_address, mips_mdebug_frame_sniffer)
+ (mips_mdebug_frame_base_sniffer, non_heuristic_proc_desc)
+ (compare_pdr_entries, the_bfd, mips16_fetch_instruction): Delete.
+ (mips_gdbarch_init): Do not append mdebug sniffers.
+ (PROC_LOW_ADDR, PROC_HIGH_ADDR, PROC_FRAME_OFFSET)
+ (PROC_FRAME_REG, PROC_FRAME_ADJUST, PROC_REG_MASK)
+ (PROC_FREG_MASK, PROC_REG_OFFSET, PROC_FREG_OFFSET, PROC_PC_REG)
+ (PROC_SYMBOL, _PROC_MAGIC_): Delete.
+ * Makefile.in: Update dependencies.
+
+ * mips-tdep.h (mips_abi_regsize): Declare.
+ * mips-tdep.c (mips_abi_regsize): Make non-static.
+
+ * mips-tdep.c (gdb_print_insn_mips): Simplify.
+ (make_mips16_addr): Delete.
+
+2004-10-30 Mark Kettenis <kettenis@gnu.org>
+
+ * i386-sol2-nat.c: New file.
+ * Makefile.in (ALLDEPFILES): Add i386-sol2-nat.c and
+ i386-sol2-tdep.c.
+ (i386-sol2-nat.o): Update dependencies.
+ * config/i386/i386sol2.mh (NATDEPFILES): Remove i386v4.o, add
+ i386-sol2-nat.o.
+
+2004-10-30 Andrew Cagney <cagney@gnu.org>
+
+ Total breakage identified by Joel Brobecker.
+ * mips-tdep.c (after_prologue): Delete.
+ (mips_skip_prologue): Use skip_prologue_using_sal.
+ (heuristic_proc_desc): Delete, unused.
+
+2004-10-30 Mark Kettenis <kettenis@gnu.org>
+
+ * procfs.c (proc_get_gregs, proc_get_fpregs, proc_set_gregs)
+ (proc_set_fpregs, procfs_fetch_registers, procfs_store_registers):
+ Cleanup coding style.
+
+2004-10-30 Andrew Cagney <cagney@gnu.org>
+
+ * mips-tdep.h (mips_pc_is_mips16): Declare.
+ * mips-tdep.c (mips_pc_is_mips16): Rename pc_is_mips16, make
+ non-static. Update calls.
+
+ * cli/cli-decode.c (add_setshow_enum_cmd): New function.
+ * command.h (add_setshow_enum_cmd): Declare.
+ * mips-tdep.c (_initialize_mips_tdep): Use add_setshow_enum_cmd.
+
+ * mips-tdep.c (_initialize_mips_tdep): Use
+ add_setshow_zinteger_cmd.
+
+ * mips-tdep.c (mips_eabi_extract_return_value)
+ (mips_o64_extract_return_value, mips_o64_store_return_value)
+ (return_value_location, mips_eabi_reg_struct_has_addr)
+ (mips_eabi_use_struct_convention)
+ (mips_eabi_store_return_value): Delete.
+ (mips_eabi_store_return_value): New function.
+ (mips_eabi_return_value): New function.
+ (mips_gdbarch_init): For O64 and EABI, delete
+ extract_return_value, store_return_value, use_struct_convention
+ and reg_struct_has_addr, add return_value.
+
+ * mips-tdep.c (read_signed_register): Use
+ regcache_cooked_read_signed.
+
+2004-10-30 Mark Kettenis <kettenis@gnu.org>
+
+ * mipsread.c: Cleanup coding style.
+ (mipscoff_new_init, mipscoff_symfile_init, mipscoff_symfile_read)
+ (mipscoff_symfile_finish): Remove prototypes.
+
+2004-10-29 Mark Kettenis <kettenis@gnu.org>
+
+ * mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction)
+ (mips_mdebug_frame_cache, mips16_scan_prologue)
+ (mips32_scan_prologue, mips_stub_frame_cache)
+ (heuristic_proc_start, heuristic_proc_desc)
+ (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
+ (mips_n32n64_return_value, mips_o32_push_dummy_call)
+ (mips_o32_return_value, mips_o64_push_dummy_call)
+ (mips_step_skips_delay, mips_skip_trampoline_code)
+ (mips_gdbarch_init): Use MIPS_A0_REGNUM instead of A0_REGNUM,
+ MIPS_RA_REGNUM instead of RA_REGNUM, MIPS_T9_REGNUM instead of
+ T9_REGNUM, MIPS_V0_REGNUM instead of V0_REGNUM, MIPS_ZERO_REGNUM
+ instead of ZERO_REGNUM, MIPS32_SIZE_INSN instead of MIPS_INSTLEN
+ and MIPS16_INSN_SIZE instead of MIPS16_INSTLEN.
+ (mips_dump_tdep): Don't print A0_REGNUM, RA_REGNUM,
+ T9_REGNUM, V0_REGNUM, ZERO_REGNUM, MIPS_INSTLEN and
+ MIPS16_INSTLEN. Use MIPS_A0_REGNUM instead of A0_REGNUM.
+ * mips-linux-tdep.c (mips_linux_o32_sigframe_init)
+ (mips_linux_n32n64_sigframe_init): Use MIPS_ZERO_REGNUM instead of
+ ZERO_REGNUM.
+ * mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register)
+ (mipsnbsd_cannot_store_register): Use MIPS_ZERO_REGNUM instead of
+ ZERO_REGNUM.
+ (mipsnbsd_get_longjmp_target): Use MIPS_A0_REGNUM instead of
+ A0_REGNUM.
+ * mipsnbsd-nat.c: Include "mips-tdep.h".
+ (getregs_supplies): Use MIPS_ZERO_REGNUM instead of ZERO_REGNUM.
+ * Makefile.in (mipsnbsd-nat.o): Update dependencies.
+
+2004-10-29 Andrew Cagney <cagney@gnu.org>
+
+ * stack.c (parse_frame_specification_1): New function based on
+ parse_frame_specification. Add message and selected_frame_p
+ paramters. Truely always return non-NULL.
+ (parse_frame_specification): Call parse_frame_specification_1.
+ (frame_info): Update. Eliminate target_has_stack check.
+ (select_frame_command): Update.
+
+2004-10-29 Andrew Cagney <cagney@gnu.org>
+
+ * frame.h (get_selected_frame): Add message parameter.
+ * frame.c (get_selected_frame): Add and use message parameter.
+ * stack.c (current_frame_command, return_command, locals_info)
+ (catch_info, args_info, up_silently_base, down_silently_base): Use
+ get_selected_frame with an explicit message.
+ * thread.c, stack.c, sh-tdep.c, sh64-tdep.c: Update.
+ * remote-rdp.c, remote-mips.c, remote-e7000.c: Update.
+ * ocd.c, mi/mi-main.c, mi/mi-cmd-stack.c: Update.
+ * infrun.c, inflow.c, infcmd.c, frame.c: Update.
+ * findvar.c, eval.c, corelow.c, bsd-kvm.c: Update.
+ * breakpoint.c: Update.
+
+2004-10-29 Andrew Cagney <cagney@gnu.org>
+
+ * trad-frame.c (trad_frame_get_prev_register): Use
+ frame_unwind_register instead of frame_register_unwind, do not
+ recurse the register's location.
+ * xstormy16-tdep.c (xstormy16_frame_prev_register):
+ * sparc-tdep.c (sparc32_frame_prev_register): Ditto.
+ * sparc64-tdep.c (sparc64_frame_prev_register): Ditto.
+ * sh-tdep.c (sh_frame_prev_register): Ditto.
+ * m68k-tdep.c (m68k_frame_prev_register): Ditto.
+ * i386-tdep.c (i386_frame_prev_register): Ditto.
+ * dwarf2-frame.c (dwarf2_frame_prev_register): Ditto.
+ * amd64-tdep.c (amd64_frame_prev_register): Ditto.
+
+2004-10-28 Mark Kettenis <kettenis@jive.nl>
+
+ * proc-events.c: Fix several coding-style issues. Consistently
+ use #ifdef instead of #if defined().
+ (proc_prettyfprint_fault, proc_prettyfprint_faultset): Use
+ ARRAY_SIZE.
+ (_initialize_proc_events): New prototype.
+
+ * proc-why.c: Fix several coding-style issues.
+ (proc_prettyfprint_why): Use ARRAY_SIZE.
+
+2004-10-27 Jim Blandy <jimb@redhat.com>
+
+ * remote.c (fetch_register_using_p): Construct 'p' packet in a
+ manner independent of the host byte order.
+
+2004-10-27 Mark Kettenis <kettenis@gnu.org>
+
+ * mips-tdep.c (id_delayed): Remove prototype.
+
+2004-10-26 Mark Kettenis <kettenis@gnu.org>
+
+ * mips-tdep.h: Add MIPS_ZERO_REGNUM, MIPS_AT_REGNUM,
+ MIPS_V0_REGNUM. MIPS_A0_REGNUM, MIPS_T9_REGNUM and MIPS_RA_REGNUM
+ to enum with register numbers.
+ (enum mips_insn_size): New enum.
+
+2004-10-26 Andrew Cagney <cagney@gnu.org>
+
+ * config/mips/tm-linux.h: Delete #undef SKIP_TRAMPOLINE_CODE.
+ * mips-tdep.c (mips_skip_trampoline_code): Rename mips_skip_stub.
+ (mips_gdbarch_init): Update.
+ (mips_dump_tdep): Do not print SKIP_TRAMPOLINE_CODE.
+
+ * config/arm/tm-linux.h (IN_SOLIB_RETURN_TRAMPOLINE): Delete.
+ * config/mips/tm-nbsd.h, config/mips/tm-linux.h: Delete #undef
+ IN_SOLIB_RETURN_TRAMPOLINE.
+ * mips-tdep.c (mips_dump_tdep): Do not print
+ IN_SOLIB_RETURN_TRAMPOLINE.
+ (mips_in_solib_return_trampoline): Rename mips_in_return_stub.
+ (mips_gdbarch_init): Update.
+
+ * mips-tdep.h (mips_software_single_step): Move to here ...
+ * config/mips/tm-mips.h: ... from here.
+ * config/mips/tm-linux.h (SOFTWARE_SINGLE_STEP_P)
+ (SOFTWARE_SINGLE_STEP): Delete.
+ * mips-linux-tdep.c (mips_linux_init_abi): Set software_single_step.
+
+2004-10-25 Andrew Cagney <cagney@gnu.org>
+
+ * NEWS: Add Changes since GDB 6.3 section.
+
+2004-10-23 Andreas Schwab <schwab@suse.de>
+
+ * ada-lang.c (grow_vect): Return the new array instead of
+ expecting pointer to pointer to avoid violation of aliasing rules.
+ * ada-lang.h (GROW_VECT): Adapt call to grow_vect.
+
+2004-10-23 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * s390-tdep.c (enum pv_boolean): Remove.
+ (pv_is_array_ref): Remove.
+ (s390_on_stack): Remove.
+ (S390_NUM_SPILL_SLOTS): Remove.
+ (struct s390_prologue_data): Remove members 'spill' and 'back_chain',
+ add members 'gpr_slot', 'fpr_slot', and 'back_chain_saved_p'.
+ (s390_store): Track all stores of orginal incoming registers to the
+ stack constant offsets relative to the CFA, instead of only tracking
+ stores into specific spill slots.
+ (s390_load): Likewise.
+ (s390_analyze_prologue): Adapt to struct s390_prologue_data changes.
+ (s390_prologue_frame_unwind_cache): Likewise. Only track registers
+ defined as call-saved by the ABI.
+ (s390_push_dummy_call): Use bottom of dummy call argument save area
+ as return value, not the top. Do not store to the called function's
+ register save area.
+ (s390_unwind_dummy_id): Adapt accordingly.
+
+2004-10-23 Andrew Cagney <cagney@gnu.org>
+
+ * objfiles.h (struct objfile): Rename obj_private to
+ deprecated_obj_private, sym_private to deprecated_sym_private, and
+ sym_stab_info to deprecated_sym_stab_info.
+ * gdb-stabs.h: Update.
+ * elfread.c: Update.
+ * dbxread.c: Update.
+ * coffread.c: Update.
+ * xcoffread.c: Update.
+ * symfile.c: Update.
+ * somread.c: Update.
+ * nlmread.c: Update.
+ * mdebugread.c: Update.
+ * hpread.c: Update.
+ * coffread.c: Update.
+
+2004-10-23 Mark Kettenis <kettenis@gnu.org>
+
+ * mips64obsd-nat.c, mips64obsd-tdep.c: New files.
+ * configure.host: Add mips64*-*-openbsd*.
+ * configure.tgt: Add mips64*-*-openbsd*.
+ * Makefile.in (ALLDEPFILES): Add mips64obsd-nat.o,
+ mips64obsd-tdep.c.
+ (mips64obsd-nat.o, mips64obsd-tdep.o): New dependecies.
+ * config/mips/obsd64.mh, config/mips/obsd64.mt: New files.
+
+2004-10-21 Joel Brobecker <brobecker@gnat.com>
+
+ * symtab.c (symbol_search_name): Minor reformatting.
+
+2004-10-20 Joel Brobecker <brobecker@gnat.com>
+
+ * symtab.h: Fix typo in comment.
+
+2004-10-19 Mark Kettenis <kettenis@gnu.org>
+
+ * dwarf2read.c (struct comp_unit_head): Fix coding style.
+ (dwarf_decode_line_header): Likewise.
+
+2004-10-19 Michael Chastain <mec.gnu@mindspring.com>
+
+ * NEWS: GDB works with GCC -feliminate-dwarf2-dups.
+
+2004-10-19 Andrew Cagney <cagney@gnu.org>
+
+ GDB 6.3 branch created.
+ * version.in: Bump to version 6.3.50_2004-10-19-cvs.
+
+2004-10-15 Joel Brobecker <brobecker@gnat.com>
+
+ * dwarf2read.c (set_cu_language): Set language to Ada for
+ DW_LANG_Ada83 and DW_LANG_Ada95.
+
+2004-10-15 Michael Chastain <mec.gnu@mindspring.com>
+
+ From Andreas Schwab <schwab@suse.de>:
+ * Makefile.in (.y.c, .l.c.): Fix the substitutions for
+ for xmalloc and xrealloc.
+
+2004-10-15 Andrew Cagney <cagney@gnu.org>
+
+ * ada-exp.y, ada-lex.l: Use xmalloc and xrealloc through out.
+ * inf-ptrace.c: Include "gdb_wait.h" instead of <wait.h>.
+ * Makefile.in (.y.c, .l.c): Don't replace xmalloc with xxmalloc.
+ Update dependencies.
+
+2004-10-15 Paul Hilfinger <Hilfinger@gnat.com>
+
+ * ada-lang.c (ada_lookup_symbol): Correct comment.
+ (ada_evaluate_subexp): Change error message for
+ OP_FUNCALL case so as not to indicate an internal error.
+
+2004-10-15 Joel Brobecker <brobecker@gnat.com>
+
+ Committed by Paul Hilfinger.
+ * ada-lang.c (ada_template_to_fixed_record_type_1): Detect bogus
+ type sizes in XVE/XVU types, and emit a warning when that happens,
+ instead of rounding up the size of the resulting type.
+ Some minor reformatting.
+ (ada_is_aligner_type): Do not consider a type as an aligner type
+ if there is a corresponding XVS type as well.
+ (ada_evaluate_subexp): For TERNOP_SLICE, handle cases where we
+ have several levels of pointer indirection to the array.
+
+2004-10-15 Jerome Guitton <guitton@gnat.com>
+
+ Committed by Paul Hilfinger.
+ * ada-lang.c (check_size): New function.
+ (coerce_unspec_val_to_type): call check_size to make sure
+ that the object size is reasonable.
+ (ada_evaluate_subexp): in UNOP_IND: Ditto. In TERNOP_SLICE:
+ Implements the case when we get a reference when we evaluate
+ the expression of one of the bounds of the slice.
+ (ada_value_struct_elt): when a packed array field is
+ a reference, use ada_coerce_ref to dereference it; use
+ ada_value_ind only if it is a pointer.
+
+2004-10-15 Joel Brobecker <brobecker@gnat.com>
+
+ * mips-tdep.c (mips32_scan_prologue): Move the implementation up
+ a bit to avoid the necessity of an advance declaration. Remove
+ declaration.
+ (set_reg_offset): Move implemenation up.
+ (mips16_get_imm): Likewise.
+ (mips16_scan_prologue): Likewise.
+ (reset_saved_regs): Likewise.
+ (mips32_scan_prologue): Likewise.
+
+2004-10-14 Joel Brobecker <brobecker@gnat.com>
+
+ * mips-tdep.c (mips32_scan_prologue): Add advance declaration.
+ Remove sp as a parameter, compute it internally instead. Move
+ prologue scanning limit from heuristic_proc_desc to here.
+ (mips16_scan_prologue): Likewise.
+ (mips_insn16_frame_cache): Replace call to heuristic_proc_desc
+ by call to mips16_scan_prologue.
+ (mips_insn32_frame_cache): Replace call to heuristic_proc_desc
+ by call to mips32_scan_prologue.
+ (heuristic_proc_desc): Remove code that's no longer necessary.
+ Update calls to mips16_scan_prologue and mips32_scan_prologue.
+ (mips_skip_prologue): Update calls to mips16_scan_prologue
+ and mips32_scan_prologue.
+
+2004-10-14 Joel Brobecker <brobecker@gnat.com>
+
+ * mips-tdep.c (mips16_scan_prologue): Merge code from
+ mips16_skip_prologue. Now return the address of the first
+ instruction past the function prologue.
+ (mips16_skip_prologue): Remove, no longer necessary.
+ (mips_skip_prologue): Replace call to mips16_skip_prologue
+ by call to mips16_scan_prologue.
+
+2004-10-14 Joel Brobecker <brobecker@gnat.com>
+
+ * mips-tdep.c (mips32_scan_prologue): Merge code from
+ mips32_skip_prologue. Now return the address of the first
+ instruction past the function prologue.
+ (mips32_skip_prologue): Remove. No longer necessary.
+ (mips16_skip_prologue): Add parameter end_pc instead of
+ computing it.
+ (mips_skip_prologue): Compute the upper limit for the
+ prologue scanning. Update call to mips16_skip_prologue.
+ Replace call to mips32_skip_prologue by call to
+ mips32_scan_prologue.
+
+2004-10-14 Mark Kettenis <kettenis@gnu.org>
+
+ * hppa-tdep.c (hppa_frame_cache): Add support for OpenBSD and
+ NetBSD system call stubs that store %rp in the ERP slot of the
+ stack frame.
+
+ * source.c: Always define O_BINARY to 0 if not defined already.
+ (openp): Unconditionally use O_BINARY.
+
+ * top.c (gdb_readline): Always accept "\r\n" as a line-ending.
+ * event-top.c (gdb_readline2): Likewise.
+
+2004-10-14 Orjan Friberg <orjanf@axis.com>
+
+ * cris-tdep.c (_initialize_cris_tdep): Re-add call to
+ deprecated_add_core_fns which was removed by mistake.
+
+2004-10-13 Kevin Buettner <kevinb@redhat.com>
+
+ * ia64-linux-nat.c (fill_gregset, fill_fpregset): Replace
+ references to deprecated_registers[] with equivalent code.
+
+2004-10-13 Kevin Buettner <kevinb@redhat.com>
+
+ * rs6000-tdep.c (rs6000_push_dummy_call): Replace references to
+ ``deprecated_registers'' with equivalent code. Use gdb_assert()
+ instead of explicit test and print statement.
+
+2004-10-12 Mark Kettenis <kettenis@gnu.org>
+
+ * sparc-nat.c: Include "inf-ptrace.h".
+ (sparc_target): New function.
+ * sparc-nat.h: Update copyright year.
+ (sparc_target): New prototype.
+ * sparcnbsd-nat.c: Don't include "gdbcore.h", include "target.h".
+ (_initialize_sparcnbsd_nat): Construct and add target vector.
+ * sparc64nbsd-nat.c: Include "target.h".
+ (_initialize_sparc64nbsd_nat): Construct and add target vector.
+ * Makefile.in (sparc-nat.o, sparcnbsd-nat.o, sparc64nbsd-nat.o):
+ Update dependencies.
+ * config/sparc/nbsd64.mh (NATDEPFILES): Remove infptrace.o and
+ inftarg.o, add inf-ptrace.o.
+ * config/sparc/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and
+ inftarg.o, add inf-ptrace.o and bsd-kvm.o.
+ (NAT_FILE): Set to nm-bsd.h.
+ (LOADLIBES): New variable.
+ * config/sparc/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and
+ infarg.o, add inf-ptrace.o.
+ * config/sparc/nm-nbsdaout.h: Remove file.
+ * config/sparc/fbsd.mh (NATDEPFILES): Add inf-ptrace.o.
+ * config/sparc/linux.mh (NATDEPFILES): Add inf-ptrace.o.
+ * config/sparc/linux64.mh (NATDEPFILES): Add inf-ptrace.o.
+
+ * defs.h [!FOPEN_RB]: Include "fopen-bin.h" instead of
+ "fopen-same.h". Update comment.
+
+2004-10-11 Mark Kettenis <kettenis@gnu.org>
+
+ * i386gnu-nat.c: Include "gdb_string.h".
+ (fetch_fpregs): Use i387_supply_fxsave to fill the floating-point
+ registers when the floating-point state isn't initialized.
+ * Makefile.in (i386gnu-nat.o): Update dependencies.
+
+2004-10-11 David Anderson <davea@sgi.com>
+
+ * regcache.c (regcache_raw_read): Comment was missing "to".
+ Extraneous ' removed.
+ * gdb_thread_db.h (struct td_thrinfo): ti_lid field
+ comment now describes use.
+
+2004-10-11 Orjan Friberg <orjanf@axis.com>
+
+ * cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start)
+ (cris_sigcontext_addr, cris_sigtramp_frame_unwind_cache)
+ (cris_sigtramp_frame_this_id, cris_sigtramp_frame_prev_register)
+ (cris_sigtramp_frame_sniffer): New functions.
+ (cris_gdbarch_init): Hook in signal trampoline unwinder.
+ (cris_dwarf2_reg_to_regnum, cris_dwarf2_frame_init_reg): New functions.
+ (cris_gdbarch_init): Hook in Dwarf-2 unwinder.
+ (struct gdbarch_tdep, set_cris_dwarf2_cfi, cris_dump_tdep)
+ (cris_gdbarch_init, _initialize_cris_tdep): Add CRIS Dwarf-2 CFI usage
+ command.
+ (cris_version_update): Remove, replace with ...
+ (set_cris_version): New function.
+ (struct gdbarch_tdep, cris_mode, cris_mode_update)
+ (cris_cannot_store_register, cris_dump_tdep, cris_gdbarch_init)
+ (_initialize_cris_tdep): Remove CRIS mode command.
+ (cris_fpless_backtrace, _initialize_cris_tdep): Remove
+ cris-fpless-backtrace command.
+ (cris_scan_prologue): Fix prologue scanning limit.
+ (cris_register_type): Update to reflect actual registers.
+ (cris_register_bytes_ok) Remove.
+ (cris_gdbarch_init): Remove support for CRIS v8 and v9.
+ Remove set_gdbarch_deprecated_register_size,
+ set_gdbarch_deprecated_register_byte, set_gdbarch_register_bytes_ok.
+
+2004-10-10 Andrew Cagney <cagney@gnu.org>
+
+ * ada-lang.c (lim_warning): Add ATTR_FORMAT prototype and FIXME
+ comment.
+
+2004-10-10 Joel Brobecker <brobecker@gnat.com>
+
+ * mips-tdep.c (mips16_scan_prologue): Remove redundant code.
+
+2004-10-10 Joel Brobecker <brobecker@gnat.com>
+
+ * mips-tdep.c (mips16_scan_prologue): Renames
+ mips16_heuristic_proc_desc. Update comment.
+ (mips32_scan_prologue): Renames mips32_heuristic_proc_desc.
+ (heuristic_proc_desc): Update calls to the 2 functions above.
+
+2004-10-10 Joel Brobecker <brobecker@gnat.com>
+
+ * mips-tdep.c (mips_insn16_frame_cache): Remove unused variables.
+ Update comments. Also immediately return empty cache when the start
+ address of our function could not be found.
+ (mips_insn32_frame_cache): Likewise.
+
+2004-10-10 Joel Brobecker <brobecker@gnat.com>
+
+ * mips-tdep.c (mips16_decode_reg_save): Delete, no longer used.
+ (mips_insn16_frame_cache): Pass frame cache in call to
+ heuristic_proc_desc. Move some code to mips16_heuristic_proc_desc.
+ Remove code that became redundant as a consequence.
+ (mips32_heuristic_proc_desc): No longer compute a fake
+ procedure descriptor. Compute the full frame cache instead.
+ Some minor comment reformatting.
+
+2004-10-10 Jim Blandy <jimb@redhat.com>
+
+ * MAINTAINERS (generic symtabs, dwarf readers, elf reader, stabs
+ reader, tracing bytecode stuff): Remove self.
+
+2004-10-10 Mark Kettenis <kettenis@gnu.org>
+
+ * sparc64-linux-tdep.c: Update copyright year. Don't include
+ "solib-svr4.h".
+ (sparc64_linux_svr4_fetch_link_map_offsets): Remove function.
+ (sparc64_linux_init_abi): Don't set solib_svr4_link_map_offsets.
+ * Makefile.in (sparc64-linux-tdep.o): Update dependencies.
+
+ * sparc-linux-tdep.c: Update copyright year.
+ (sparc_linux_sigtramp_start): Change first argument from CORE_ADDR
+ to struct frame_info *. Use safe_frame_unwind_memory instead of
+ deprecated_read_memory_nobpt.
+ (sparc32_linux_sigtramp_start, sparc32_linux_rt_sigtramp_start):
+ Change argumen from CORE_ADDR to struct frame_info *. Adjust for
+ changed signature of sparc_linux_sigtramp_start.
+ (sparc32_linux_pc_in_sigtramp): Remove function.
+ (sparc32_linux_sigtramp_p): New function.
+ (sparc32_linux_sigtramp_frame_sniffer): Use
+ sparc32_linux_sigtramp_p instead of sparc32_linux_pc_in_sigtramp.
+
+ * sparc-linux-tdep.c (sparc32_linux_svr4_fetch_link_map_offsets):
+ Remove function.
+ (sparc32_linux_init_abi): Don't set solib_svr4_link_map_offsets.
+
+ * ada-lang.c (lim_warning): Re-implement as a varargs function.
+ (decode_packed_array_type, value_subscript_packed)
+ (ada_evaluate_subexp, to_fixed_range_type): Remove redundant
+ argument in call to lim_warning.
+
+ * configure.in: Really disable the TUI if an enhanced curses
+ library isn't found.
+ * configure: Regenerate.
+
+2004-10-09 Mark Kettenis <kettenis@gnu.org>
+
+ * config/i386/nbsdaout.mh (NAT_FILE): Set to solib.h.
+ * config/i386/nbsdelf.mh (NAT_FILE): Set to solib.h.
+ * config/i386/nm-nbsdaout.h: Remove file.
+ * config/i386/nm-fbsd.h (link_object, lo_name, lo_library)
+ (lo_unused, lo_major, lo_minor, lo_next, link_map, lm_addr)
+ (lm_name, lm_next, lm_lop, lm_lob, lm_rwt, lm_ld, lm_lpd)
+ (link_dynamic_2, ld_loaded, ld_need, ld_rules, ld_got, ld_plt)
+ (ld_rel, ld_hash, ld_stab, ld_stab_hash, ld_buckets, ld_symbols)
+ (ld_symb_size, ld_text, ld_plt_sz, rtc_symb, rtc_sp, rtc_next)
+ (ld_debug, ldd_version, ldd_in_debugger, ldd_sym_loaded)
+ (ldd_bp_addr, ldd_bp_inst, ldd_cp, link_dynamic, ld_version)
+ (ldd, ld_un, ld_2): Remove defines.
+ * config/i386/nm-obsd.h: Likewise.
+
+2004-10-09 Paul Hilfinger <hilfingr@nile.gnat.com>
+
+ * ada-lex.l: Remove useless rule whose right-context clause
+ causes unreferenced static function warning for yyrealloc.
+ (ada_flex_use): Remove the artificial reference to yyrealloc.
+
+2004-10-08 Andrew Cagney <cagney@gnu.org>
+
+ * target.h (struct target_ops): Rename to_xfer_memory to
+ deprecated_xfer_memory.
+ * target.c: Update.
+ (deprecated_debug_xfer_memory): Rename debug_to_xfer_memory.
+ * wince.c: Update.
+ * win32-nat.c: Update.
+ * v850ice.c: Update.
+ * uw-thread.c: Update.
+ * thread-db.c: Update.
+ * sol-thread.c: Update.
+ * remote.c: Update.
+ * remote-vx.c: Update.
+ * remote-st.c: Update.
+ * remote-sim.c: Update.
+ * remote-sds.c: Update.
+ * remote-rdp.c: Update.
+ * remote-rdi.c: Update.
+ * remote-mips.c: Update.
+ * remote-m32r-sdi.c: Update.
+ * remote-e7000.c: Update.
+ * procfs.c: Update.
+ * ppc-bdm.c: Update.
+ * nto-procfs.c: Update.
+ * monitor.c: Update.
+ * linux-nat.c: Update.
+ * inftarg.c: Update.
+ * hpux-thread.c: Update.
+ * go32-nat.c: Update.
+ * gnu-nat.c: Update.
+ * exec.c: Update.
+ * corelow.c: Update.
+ * bsd-kvm.c: Update.
+ * aix-thread.c: Update.
+
+2004-10-08 Andrew Cagney <cagney@gnu.org>
+
+ * target.c (debug_target): Move to near start of file.
+ (target_stopped_data_address_p): Re-org logic, add casts.
+
+2004-10-02 Mark Kettenis <kettenis@gnu.org>
+
+ * solib-sunos.c [HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS] (link_map)
+ (lm_addr, lm_name, lm_next, link_dynamic_2, ld_loaded, rtc_symb)
+ (rtc_sp, rtc_next, ld_debug, ldd_in_debugger, ldd_bp_addr)
+ (ldd_bp_inst, ldd_cp, link_dynamic, ld_version, ldd, ld_un, ld_2):
+ New defines.
+
+2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
+
+ * target.h (to_stopped_data_address): Change prototype to
+ take a CORE_ADDR pointer and return an int.
+ * target.c (update_current_target): Change to_stopped_data_address
+ to match new prototype.
+ (debug_to_stopped_data_address): Change appropriately.
+ * breakpoint.c (bpstat_stop_status): Change call to
+ target_stopped_data_address to use new prototype.
+ * frv-tdep.c (frv_have_stopped_data_address): New function.
+ (frv_stopped_data_address): Change to new prototype and
+ functionality.
+ * ia64-linux-nat.c (ia64_stopped_data_address): Change to new
+ prototype and functionality.
+ (ia64_stopped_by_watchpoint): New function.
+ * i386-nat.c (i386_stopped_data_address): Change to new
+ prototype and functionality.
+ (i386_stopped_by_watchpoint): New function.
+ * remote.c (remote_stopped_data_address): Change to new prototype
+ and functionality.
+ * remote-m32r-sdi.c (m32r_stopped_data_address): Ditto.
+ * config/frv/tm-frv.h (frv_stopped_data_address): Change prototype.
+ (STOPPED_BY_WATCHPOINT): Change to use frv_have_stopped_data_address.
+ * config/i386/nm-i386.h (STOPPED_BY_WATCHPOINT): Change to use
+ new i386_stopped_by_watchpoint function.
+ (i386_stopped_by_watchpoint): New prototype.
+ (i386_stoppped_data_address): Change to new prototype.
+ * config/ia64/nm-linux.h (STOPPED_BY_WATCHPOINT): Change to use
+ new ia64_stopped_by_watchpoint function.
+ (ia64_stopped_by_watchpoint): New prototype.
+ (ia64_stopped_data_address): Ditto.
+
+2004-10-08 Paul Hilfinger <Hilfinger@gnat.com>
+
+ * ada-typeprint.c (ada_print_type): Use int_string for printing
+ modulus of modular type.
+ * ada-lang.h (ada_modulus): Change return type to unsigned.
+ * ada-lang.c (ada_language_arch_info): Correct type of
+ string_char_type.
+ (ada_modulus): Return unsigned result.
+ (ada_lookup_symbol): Remove user disambiguation and modify comment
+ accordingly.
+
+2004-10-08 Eric Botcazou <ebotcazou@act-europe.fr>
+
+ Committed by Paul Hilfinger.
+ * ada-lang.c (decode_packed_array): On big-endian targets,
+ left-justify the value if it comes with a modular type.
+
+2004-10-08 Joel Brobecker <brobecker@gnat.com>
+
+ Committed by Paul Hilfinger.
+ * ada-lang.c (template_to_static_fixed_type): Fix a small typo.
+ (is_name_suffix): Add support for "___JM" suffixes.
+ (ada_check_typedef): Renames ada_completed_type.
+ Update all users of CHECK_TYPEDEF, check_typedef, and
+ ada_complete_type to call ada_check_typedef.
+ * ada-typeprint.c: Likewise.
+ * ada-valprint.c: Likewise.
+
+2004-10-08 Corinna Vinschen <vinschen@redhat.com>
+
+ * infcall.c (call_function_by_hand): Use correct VALUE_TYPE macro.
+
2004-10-08 Nick Roberts <nickrob@snap.net.nz>
* MAINTAINERS: Update e-mail address.