+
+ * rs6000-tdep.c (rs6000_push_dummy_call): Fix typos.
+ * dcache.c: Update copyrights and descriptions.
+ * scm-exp.c, ia64-aix-nat.c, hppam3-nat.c: environ.c: Ditto.
+
+
+ * config/djgpp/fnchange.lst: Rename "amd64fbsd-tdep.c" and
+ "amd64fbsd-nat.c" to "a64fb-tdep.c" and "a64fb-nat.c".
+
+
+ * alpha-nat.c: Remove some occurances of "register".
+ * alpha-tdep.c, arm-tdep.c, blockframe.c, breakpoint.c: Ditto.
+ * buildsym.c, c-typeprint.c, c-valprint.c, coffread.c: Ditto.
+ * corefile.c, cp-support.c, cp-valprint.c, cris-tdep.c: Ditto.
+ * dbxread.c, dcache.c, dwarf2read.c, elfread.c: Ditto.
+ * environ.c, eval.c, event-top.c, f-typeprint.c: Ditto.
+ * f-valprint.c, findvar.c, frame.c, gdbtypes.c: Ditto.
+ * h8300-tdep.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c: Ditto.
+ * hppam3-nat.c, hpread.c, ia64-aix-nat.c, ia64-linux-nat.c: Ditto.
+ * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Ditto.
+ * infttrace.c, irix5-nat.c, jv-typeprint.c: Ditto.
+ * jv-valprint.c, m68k-tdep.c, m68klinux-nat.c, main.c: Ditto.
+ * mdebugread.c, minsyms.c, mips-linux-tdep.c: Ditto.
+ * mips-nat.c, mips-tdep.c, mipsread.c, mipsv4-nat.c: Ditto.
+ * ns32k-tdep.c, objfiles.c, p-typeprint.c: Ditto.
+ * p-valprint.c, ppc-linux-nat.c, printcmd.c: Ditto.
+ * remote-mips.c, remote-vx.c, rs6000-nat.c: Ditto.
+ * rs6000-tdep.c, scm-exp.c, sh-tdep.c, sh64-tdep.c: Ditto.
+ * solib.c, somread.c, source.c, sparc-tdep.c: Ditto.
+ * stabsread.c, stack.c, standalone.c, symfile.c: Ditto.
+ * symmisc.c, symtab.c, top.c, tracepoint.c: Ditto.
+ * typeprint.c, utils.c, valarith.c, valops.c: Ditto.
+ * values.c, vax-tdep.c, xcoffread.c: Ditto.
+
+
+ * config/pa/tm-hppa64.h (struct frame_info): Declare opaque.
+ * ppc-tdep.h (struct regcache): Declare opaque.
+ * objfiles.h (struct objfile_data): Declare opaque.
+ * cp-support.h (struct objfile): Declare opaque.
+ * linux-nat.h (target_waitstatus): Declare opaque.
+
+
+ * cris-tdep.c (cris_gdbarch_init): Set
+ deprecated_reg_struct_has_addr instead of reg_struct_has_addr.
+ * hppa-tdep.c (hppa_gdbarch_init): Likewise.
+ * mcore-tdep.c (mcore_gdbarch_init): Likewise.
+ * mips-tdep.c (mips_gdbarch_init): Likewise.
+ * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
+ * sparc-tdep.c (sparc_gdbarch_init): Likewise.
+
+
+ * values.c (using_struct_return): Delete "function" and "funcaddr"
+ parameters.
+ * value.h (using_struct_return): Update declaration.
+ * infcmd.c (finish_command_continuation): Update.
+ (finish_command): Update.
+ * infcall.c (call_function_by_hand): Update.
+ * eval.c (evaluate_subexp_standard): Update.
+
+
+ * win32-nat.c: Just rely on CONTEXT_EXTENDED_REGISTER being defined for
+ SSE registers since gdb will not operate correctly without this.
+ Restore include file ordering munged in previous change.
+ * config/i386/tm-cygwin.h: Remove HAVE_SSE_REGS define.
+
+
+ * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Renamed from
+ REG_STRUCT_HAS_ADDR.
+ * gdbarch.c, gdbarch.h: Updated.
+ * infcall.c (call_function_by_hand): Update.
+ * stabsread.c (define_symbol): Updated.
+
+ * Makefile.in (xm-i386-sv32.h, tm-i386gas.h): Remove.
+
+
+ * win32-nat.c: Reorganize so that defines used by target headers are
+ actually defined by the system headers.
+ * config/i386/tm-cygwin.h: Check for CONTEXT_EXTENDED_REGISTERS rather
+ than HAVE_CONTEXT_EXTENDED_REGISTERS, since the latter actually exists.
+
+
+ * dbxread.c (read_dbx_symtab): Don't report an internal error if
+ the file has no .data, .bss, or .rodata sections. Instead wait
+ until we see a variable alleged to live in one of those sections.
+
+ * dbxread.c (read_dbx_symtab): If we have no .data section and no
+ .bss section, presume that any variables we find live in the
+ .rodata section.
+
+ * dbxread.c (read_dbx_symtab): Add FIXME about finding section
+ offsets for global and static variables.
+
+ * dbxread.c (read_dbx_symtab): The N_DATA and N_DATA | N_EXT
+ symbol types are, by definition, in the .data section, so it is
+ correct to use SECT_OFF_DATA (objfile) here, not data_sect_index.
+ If there is no .data section, there should be no N_DATA or N_DATA
+ | N_EXT symbols.
+
+
+ * amd64fbsd-tdep.c: Fix sigtramp recognition.
+ (amd64fbsd_sigcontext_addr): Rewrite.
+ (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end): Initialize
+ with correct values.
+ (amd64fbsd_sc_reg_offset): Initialize with correct values.
+ (amd64fbsd_init_abi): Fix typo.
+
+
+ * ppc-sysv-tdep.c (align_up, align_down): Replace "round2" macro.
+ (ppc_sysv_abi_push_dummy_call): Rewrite, use a two pass loop.
+
+
+ * objfiles.h (struct entry_info): Deprecate "entry_file_lowpc" and
+ "entry_file_highpc". Update comments.
+ * defs.h (deprecated_inside_entry_file): Rename
+ "inside_entry_file".
+ * blockframe.c (deprecated_inside_entry_file): Rename
+ "inside_entry_file".
+ * frame.c (get_prev_frame): Update. Use if 0 instead of #if 0.
+ * vax-tdep.c (vax_frame_chain): Update.
+ * sh64-tdep.c (sh64_frame_chain): Update.
+ * sh-tdep.c (sh_frame_chain): Update.
+ * rs6000-tdep.c (rs6000_frame_chain): Update.
+ * ns32k-tdep.c (ns32k_frame_chain): Update.
+ * mips-tdep.c (mips_frame_chain): Update.
+ * m68hc11-tdep.c (m68hc11_frame_this_id): Update.
+ * m32r-tdep.c (m32r_frame_this_id): Update.
+ * i386-interix-tdep.c (i386_interix_frame_chain_valid): Update.
+ * frv-tdep.c (frv_frame_this_id): Update.
+ * d10v-tdep.c (d10v_frame_this_id): Update.
+ * cris-tdep.c (cris_frame_chain): Update.
+ * blockframe.c (legacy_frame_chain_valid): Update.
+ * avr-tdep.c (avr_frame_this_id): Update.
+ * arm-tdep.c (arm_prologue_this_id): Update.
+ * alpha-tdep.c (alpha_heuristic_frame_this_id): Update.
+ * objfiles.c (objfile_relocate): Update.
+ * mipsread.c (mipscoff_symfile_read): Update.
+ (mipscoff_symfile_read): Update.
+ * mdebugread.c (parse_partial_symbols): Update.
+ * dwarfread.c (read_file_scope): Update.
+ * dwarf2read.c (read_file_scope): Update.
+ * dbxread.c (read_dbx_symtab): Update.
+ (read_dbx_symtab): Update.
+ * coffread.c (complete_symtab): Update.
+
+
+ * top.c (quit_target): New static helper function.
+ (quit_force): Moved code to quit_target(). Call quit_target()
+ via catch_errors() to catch errors during quit.
+
+
+ * buildsym.c (finish_block): Use allocate_block to allocate the
+ block.
+ * mdebugread.c (new_block): Add FIXME.
+
+
+ * gdbtypes.h: Add TYPE_CODE_NAMESPACE.
+ * gdbtypes.c (init_type): Handle TYPE_CODE_NAMESPACE.
+ (recursive_dump_type): Ditto.
+ * printcmd.c (print_formatted): Ditto.
+ * typeprint.c (print_type_scalar): Ditto.
+ * c-typeprint.c (c_type_print_varspec_prefix): Ditto.
+ (c_type_print_varspec_suffix, c_type_print_base): Ditto.
+ * cp-support.h: Declare cp_check_possible_namespace_symbols,
+ maint_cplus_cmd_list.
+ * cp-support.c: Make maint_cplus_cmd_list extern.
+ * cp-namespace.c: Include objfiles.h, gdbtypes.h, dictionary.h,
+ command.h.
+ (lookup_symbol_file): Look in possible namespace blocks when
+ appropriate.
+ (initialize_namespace_symtab): New.
+ (get_possible_namespace_block, free_namespace_block)
+ (check_possible_namespace_symbols)
+ (check_possible_namespace_symbols_loop)
+ (check_one_possible_namespace_symbol)
+ (lookup_possible_namespace_symbol, maintenance_cplus_namespace)
+ (_initialize_cp_namespace): Ditto.
+ * block.h: Declare allocate_block.
+ * block.c (allocate_block): New.
+ * jv-lang.c (get_java_class_symtab): Allocate blocks via
+ allocate_block.
+ * symfile.h: Update declaration of add_psymbol_to_list.
+ * symfile.c (add_psymbol_to_list): Return the partial symbol in
+ question.
+ * dwarf2read.c (dwarf2_build_psymtabs_hard): Add argument to
+ scan_partial_symbols_call.
+ (scan_partial_symbols): Add NAMESPACE argument; update calls to
+ helper functions.
+ (add_partial_symbol): If necessary, scan mangled names for names
+ of namespaces.
+ (add_partial_namespace): Add NAMESPACE argument; generate partial
+ symbols associated to namespaces.
+ (add_partial_enumeration): Add NAMESPACE argument.
+ (new_symbol): Allow namespace syms.
+ (read_namespace): Generate namespace syms.
+ * objfiles.h: Add opaque declaration of struct symtab.
+ (struct objfile): Add cp_namespace_symtab member.
+ * objfiles.c (allocate_objfile): Set
+ objfile->cp_namespace_symtab.
+ * Makefile.in (cp-namespace.o): Depend on objfiles_h, gdbtypes_h,
+ dictionary_h, command_h.
+
+
+ * rs6000-tdep.c (rs6000_push_dummy_call): Use
+ regcache_raw_write_signed to set SP_REGNUM, move the operation to
+ near the function's end.
+ (rs6000_gdbarch_init): Do not set "deprecated_dummy_write_sp".
+ * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use
+ regcache_raw_write_signed to set SP_REGNUM.
+
+
+ * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure
+ orig_addrs is set up properly.
+
+
+ * gdbarch.sh (DEPRECATED_STACK_ALIGN): Rename STACK_ALIGN.
+ * gdbarch.h, gdbarch.c: Re-generate.
+ * infcall.c (call_function_by_hand): Update.
+ * hppa-tdep.c (hppa_push_arguments): Update.
+ * ada-lang.c (place_on_stack): Update.
+ * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
+ * sparc-tdep.c (sparc_gdbarch_init): Update.
+ * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
+ * hppa-tdep.c (hppa_gdbarch_init): Update.
+ * h8300-tdep.c (h8300_gdbarch_init): Delete comment refering to
+ stack_align.
+
+
+ * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Variables in a
+ register do need a frame.
+
+
+ Since the IRIX 4 configuration was forcing K&R mode it hasn't been
+ buildable since GDB 5.0.
+ * NEWS: Mention that IRIX 3 and IRIX 4 support were removed.
+ * configure.host: Delete "mips-sgi-irix3*" and "mips-sgi-irix4*".
+ * configure.tgt: Delete "mips*-sgi-*" a.k.a. irix3.
+ * irix4-nat.c: Delete file.
+ * config/mips/irix4.mh: Delete file.
+ * config/mips/irix3.mh: Delete file.
+ * config/mips/irix3.mt: Delete file.
+ * config/mips/tm-irix3.h: Delete file.
+ * config/mips/nm-irix3.h: Delete file.
+ * config/mips/xm-irix3.h: Delete file.
+ * config/mips/nm-irix4.h: Delete file.
+ * config/mips/xm-irix4.h: Delete file.
+ * config/mips/tm-irix5.h: Inline contents of "tm-irix3.h".
+
+
+ * hppa-tdep.c: Include "dis-asm.h". Fixes a build failure.
+ * Makefile.in (hppa-tdep.o): Update dependencies.
+
+
+ * MAINTAINERS: Change my e-mail address. Move to paper trail
+ section.
+
+
+ * MAINTAINERS (frv): New ISA entry.
+
+
+ * frv-tdep.c (dis-asm.h): Include.
+ * Makefile.in (frv-tdep.o): Update dependencies.
+
+
+ * ia64-tdep.c (ia64_sigtramp_frame_init_saved_regs):
+ Fix typo for high range of floating registers.
+
+
+ * dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and
+ highpc initialization here out of scan_partial_symbols.
+ (scan_partial_symbols): Restructure into a recursive version,
+ calling add_partial_namespace and add_partial_enumeration when
+ appropriate.
+ (add_partial_namespace): New.
+ (add_partial_enumeration, locate_pdi_sibling): Ditto.
+
+
+ * rs6000-tdep.c (ppc_push_return_address): Delete function.
+ (rs6000_push_dummy_call): Set LR to BP_ADDR.
+ (rs6000_gdbarch_init): Do not set deprecated_push_return_address.
+ * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto.
+
+ * rs6000-tdep.c (rs6000_fix_call_dummy): Delete function.
+ (rs6000_push_dummy_call): Set the "TOC" register.
+
+ * rs6000-tdep.c (rs6000_gdbarch_init): Do not set the deprecated
+ methods "max_register_raw_size", "max_register_virtual_size" or
+ "register_virtual_size".
+
+
+ * MAINTAINERS: Update my e-mail address.
+
+
+ * rs6000-tdep.c (rs6000_store_struct_return): Delete function.
+ (rs6000_push_dummy_call): Store the struct return address.
+ * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto.
+
+
+ * ppc-tdep.h (ppc_sysv_abi_push_dummy_call): Replace
+ "ppc_sysv_abi_push_arguments".
+ * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Replace
+ "ppc_sysv_abi_push_arguments".
+ * rs6000-tdep.c (rs6000_gdbarch_init): Set "push_dummy_call"
+ instead of "push_arguments".
+ (rs6000_push_dummy_call): Replace "rs6000_push_arguments".
+
+
+ * sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS
+ instead of CALL_DUMMY_ADDRESS.
+
+
+ * p-lang.c: Eliminate "register".
+ * c-lang.c: Ditto.
+ * expprint.c: Ditto.
+ * f-lang.c: Ditto.
+ * jv-lang.c: Ditto.
+ * language.c: Ditto.
+ * m2-lang.c: Ditto.
+ * parse.c: Ditto.
+ * scm-lang.c: Ditto.
+ * objc-lang.c: Ditto.
+
+
+ * v850-tdep.c (v850_processor_type_table): Add bfd_mach_v850e1.
+
+
+ * avr-tdep.c: Include "dis-asm.h".
+ * cris-tdep.c: Include "dis-asm.h".
+ (cris_delayed_get_disassembler): Use "struct disassemble_info"
+ instead of corresponding typedef.
+ * h8300-tdep.c: Include "dis-asm.h".
+ * ia64-tdep.c: Include "dis-asm.h".
+ * i386-tdep.c: Include "dis-asm.h".
+ (i386_print_insn): Use "struct disassemble_info" instead of
+ corresponding typedef.
+ * m68k-tdep.c: Include "dis-asm.h".
+ * mcore-tdep.c: Include "dis-asm.h".
+ * mips-tdep.c: Include "dis-asm.h".
+ (gdb_print_insn_mips): Make static, use "struct disassemble_info"
+ instead of corresponding typedef.
+ * ns32k-tdep.c: Include "dis-asm.h".
+ * s390-tdep.c: Include "dis-asm.h".
+ * sparc-tdep.c: Include "dis-asm.h".
+ * vax-tdep.c: Include "dis-asm.h".
+ * v850-tdep.c: Include "dis-asm.h".
+ * mn10300-tdep.c: Include "dis-asm.h".
+ * rs6000-tdep.c: Include "dis-asm.h".
+ * xstormy16-tdep.c: Include "dis-asm.h".
+ (_initialize_xstormy16_tdep): Delete "extern" declaration of
+ print_insn_xstormy16.
+ * Makefile.in (v850-tdep.o): Update dependencies.
+ (vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto.
+ (ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto.
+ (m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto.
+ (h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto.
+ (mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto.
+ (gdbarch_h): Remove $(dis_asm_h).
+ * disasm.c: Include "dis-asm.h".
+ (dis_asm_read_memory): Use "struct disassemble_info" instead of
+ corresponding typedef.
+ (dis_asm_memory_error, dump_insns, do_assembly_only): Ditto.
+ (gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto.
+ * gdbarch.sh: Do not include "dis-asm.h".
+ (struct disassemble_info): Declare opaque.
+ (TARGET_PRINT_INSN): Update declaration.
+ * gdbarch.h, gdbarch.c: Re-generate.
+
+
+ * gdbarch.sh (DEPRECATED_CALL_DUMMY_ADDRESS): Rename
+ CALL_DUMMY_ADDRESS, change to a predicate.
+ * gdbarch.h, gdbarch.c: Re-generate.
+ * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
+ Use either DEPRECATED_CALL_DUMMY_ADDRESS or entry_point_address.
+ * infcall.c (call_function_by_hand): Ditto.
+ * sparc-tdep.c (sparc_push_return_address): Ditto.
+ (sparc_gdbarch_init): Set deprecated_call_dummy_address.
+ * xstormy16-tdep.c (xstormy16_push_return_address): Replace
+ CALL_DUMMY_ADDRESS with entry_point_address.
+ * v850-tdep.c (v850_push_return_address): Ditto.
+ * s390-tdep.c (s390_push_return_address): Ditto.
+ * rs6000-tdep.c (ppc_push_return_address): Ditto.
+ * mn10300-tdep.c (mn10300_push_return_address): Ditto.
+ * mcore-tdep.c (mcore_push_return_address): Ditto.
+ * cris-tdep.c (cris_push_return_address): Ditto.
+ * arm-tdep.c (arm_push_return_address): Ditto.
+
+
+ * dwarf2-frame.c (enum dwarf2_reg_rule): New, replace anonymous
+ enum. Add REG_UNSPECIFIED, rename REG_UNSAVED to REG_UNDEFINED
+ and REG_UNMODIFIED to REG_SAME_VALUE.
+ (execute_cfa_program): Update.
+ (dwarf2_frame_cache): Update. Initialize table to
+ REG_UNSPECIFIED, complain if CFI fails to specify a register's
+ location.
+ (dwarf2_frame_prev_register): Update. Handle REG_UNSPECIFIED.
+
+
+ * gnu-nat.c: Remove "inline" function attribute.
+ * alpha-tdep.c, ppc-linux-tdep.c, macroexp.c: Ditto.
+
+
+ * config/frv/frv.mt (SIM_OBS, SIM): Enable simulator for FR-V
+ target.
+
+
+ * frv-tdep.c (frame-unwind.h, frame-base.h): Include.
+ (frame_extra_info): Rename this struct to frv_unwind_cache.
+ Delete fields ``fp_to_callers_sp_offset'' and ``lr_saved_on_stack''.
+ Add fields ``prev_sp'' and ``base''.
+ (frv_frame_chain, frv_frame_saved_pc, frv_frame_init_saved_regs)
+ (frv_saved_pc_after_call, frv_init_extra_frame_info)
+ (frv_push_return_address, frv_pop_frame, frv_pop_frame_regular):
+ Delete.
+ (frv_analyze_prologue): Add ``struct frv_unwind_cache *'' argument.
+ Revise all callers. Fill in the unwind cache argument and make
+ other adjustments to account for new frame mechanisms.
+ (frv_frame_unwind_cache, frv_frame_align, frv_unwind_pc)
+ (frv_frame_this_id, frv_frame_prev_register, frv_frame_sniffer)
+ (frv_frame_base_address, frv_unwind_dummy_id): New functions.
+ (frv_frame_unwind, frv_frame_base): New structs.
+ (frv_push_arguments): Change name to frv_push_dummy_call(). Add
+ additional arguments expected by this method and adjust function
+ body accordingly.
+ (frv_gdbarch_init): Remove calls to the following functions:
+ set_gdbarch_deprecated_init_frame_pc(),
+ set_gdbarch_deprecated_saved_pc_after_call(),
+ set_gdbarch_deprecated_frame_chain(),
+ set_gdbarch_deprecated_frame_saved_pc(),
+ set_gdbarch_deprecated_frame_init_saved_regs(),
+ set_gdbarch_deprecated_push_arguments(),
+ set_gdbarch_deprecated_push_return_address(),
+ set_gdbarch_deprecated_pop_frame(),
+ set_gdbarch_deprecated_call_dummy_words(),
+ set_gdbarch_deprecated_sizeof_call_dummy_words(),
+ set_gdbarch_deprecated_init_extra_frame_info(),
+ set_gdbarch_deprecated_dummy_write_sp(), and
+ set_gdbarch_deprecated_pc_in_call_dummy().
+ Add calls to the following functions:
+ set_gdbarch_unwind_pc(), set_gdbarch_unwind_sp(),
+ set_gdbarch_frame_align(), frame_unwind_append_sniffer(), and
+ frame_base_set_default().
+ * Makefile.in (frv-tdep.o): Update dependencies.
+
+
+ * dwarf2-frame.c (read_encoded_value): Add support for
+ DW_EH_PE_aligned encoding.
+
+
+ * infrun.c (normal_stop): Don't print a message if the inferior
+ has exited.
+
+
+ * Makefile.in (dbxread.o): Note new dependency on $(gdb_assert_h).
+ * dbxread.c: #include "gdb_assert.h".
+ (read_dbx_symtab): If the objfile has no .data section, use the
+ section index for the .bss section instead.
+
+
+ * frame.c (deprecated_safe_get_selected_frame): New function.
+ * frame.h (deprecated_safe_get_selected_frame): Add prototype.
+ * findvar.c (read_var_value): Call it.
+
+
+ * Makefile.in (ALLDEPFILES): Add sh64-tdep.c.
+ (sh64-tdep.o): Add dependencies.
+ * configure.tgt: Add FIXME to sh-*-linux*.
+ * sh-tdep.c: Move sh64 support to sh64-tdep.c.
+ (sh_gdbarch_init): Always set correct sh_show_regs function
+ pointer. Call sh64_gdbarch_init() if machine type is sh5.
+ * sh-tdep.h: Move sh64 support to sh64-tdep.c.
+ * sh64-tdep.c: New file, containing all sh64 related code from
+ sh-tdep.c.
+ * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o.
+ * config/sh/linux.mt (TDEPFILES): Ditto.
+ * config/sh/nbsd.mt (TDEPFILES): Ditto.
+ * config/sh/tm-sh.h: Drop REGISTER_TYPE definition.
+ * config/sh/wince.mt (TDEPFILES): Ditto.
+
+
+ * lin-lwp.c (detach_callback): Don't call stop_wait_callback.
+ (stop_wait_callback): Handle !lp->signalled also.
+ (lin_lwp_has_pending, flush_callback): New functions.
+ (lin_lwp_wait): Call flush_callback.
+ * linux-proc.c (linux_proc_add_line_to_sigset): New function.
+ (linux_proc_pending_signals): New function.
+ * linux-nat.h (linux_proc_pending_signals): Add prototype.
+
+
+ * infrun.c (handle_inferior_event): Check IN_SOLIB_RETURN_TRAMPOLINE
+ when the stop PC is at the beginning of a function also.
+
+
+ * arm-linux-tdep.c (arm_linux_arm_be_breakpoint): New.
+ (arm_linux_init_abi): Use arm_linux_arm_be_breakpoint.
+
+
+ * sol-thread.c: Include "gdb_string.h".
+
+
+ * gcore.c: Reorder include files in alphabetical order. Include
+ "gdb_assert.h". Various coding style fixes.
+ (derive_stack_segment, derive_heap_segment): Replace check for
+ non-null BOTTOM and TOP with gdb_assert.
+ (derive_heap_segment): Replace check for successful creation of
+ ZERO with gdb_assert.
+ (make_mem_sec): Use bfd_section_lma to set OSEC->lma.
+
+
+ * thread-db.c (verbose_dlsym): New function.
+ (thread_db_load): Use verbose_dlsym
+ (thread_db_new_objfile): Print that libthread_db was loaded, and
+ that thread debugging was enabled.
+
+
+ * configure.tgt: Add "mips64*-*-*" target. Delete
+ mips64*el-*-ecoff*, mips64*el-*-elf*, mips*el-*-ecoff*,
+ mips*el-*-elf*, mips*-*-lnews*, mips*-*-sysv*, mips*-*-riscos*,
+ mips*-*-ecoff*, mips*-*-elf*, mips*-little-*, mips*-big-*,
+ mips*-dec-*, mips64*-big-*, mips64*vr*-*-elf*, mips64*-*-ecoff*,
+ mips*-sony-*, and mips64*-*-elf* targets.
+ * config/mips/embedl.mt: Delete file.
+ * config/mips/embedl64.mt: Delete file.
+ * config/mips/mips.mt: Delete file.
+ * config/mips/mips64.mt: Delete file.
+ * config/mips/tm-embed.h: Delete file.
+ * config/mips/embed.mt (TM_FILE): Set to "tm-mips.h".
+ * config/mips/embed64.mt: Delete out-of-date comment.
+
+
+ * hppa-tdep.c (hppa_gdbarch_init): Set
+ "have_nonsteppable_watchpoint".
+ * config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
+ * mips-tdep.c (mips_dump_tdep): Do not print
+ HAVE_NONSTEPPABLE_WATCHPOINT.
+ (mips_gdbarch_init): Set "have_nonsteppable_watchpoint".
+ * config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
+ * config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
+ * config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
+
+
+ * breakpoint.c (watchpoint_check): Remove accidentally checked in
+ unused code. Add comment.
+
+
+ * breakpoint.c (watchpoint_check): Check for pc being in an
+ epilogue if watchpoint frame couldn't be found.
+
+
+ * Makefile.in: Re-generate all dependencies.
+
+
+ * arch-utils.h (legacy_print_insn): Delete declaration.
+ * arch-utils.c (legacy_print_insn): Delete function.
+ * disasm.c (deprecated_tm_print_insn_info): Delete.
+ (_initialize_disasm): Delete function, contained code initializing
+ deprecated_tm_print_insn_info.
+ * gdbarch.sh (deprecated_tm_print_insn): Delete.
+ (deprecated_tm_print_insn_info): Delete.
+ (TARGET_PRINT_INSN): Do not provide a default.
+ * gdbarch.h, gdbarch.c: Re-generate.
+
+
+ * disasm.c (fprintf_disasm): New function.
+ (gdb_disassemble_info): Call "init_disassemble_info", instead of
+ INIT_DISASSEMBLE_INFO_NO_ARCH. Do not initialize "insn_sets",
+ reverts 2003-08-14 change.
+ (_initialize_disasm): Call "init_disassemble_info", instead of
+ INIT_DISASSEMBLE_INFO_NO_ARCH.
+
+
+ * config/djgpp/fnchange.lst: Fix up sim/frv/profile-fr*.[ch].
+
+
+ * config/rs6000/tm-rs6000.h (IBM6000_TARGET): Delete definition.
+ * config/rs6000/nm-rs6000.h (DEPRECATED_IBM6000_TARGET): Define.
+ * symfile.c (syms_from_objfile): Update.
+ (reread_symbols): `Update
+ * exec.c (exec_file_attach): Update.
+ (exec_file_attach): Update.
+ * config/powerpc/tm-nbsd.h: Delete #undef IBM6000_TARGET, revert
+ 2003-08-29 change.
+ * config/powerpc/tm-linux.h: Delete #undef IBM6000_TARGET.
+
+
+ * arm-tdep.c: Include frame-unwind.h, frame-base.h, and
+ trad-frame.h.
+ (arm_get_cache): Delete macro.
+ (struct arm_prologue_cache): Update comments. Make saved_regs into
+ a trad_frame_saved_reg pointer. Remove unwound_pc; rename unwound_sp
+ to prev_sp.
+ (thumb_scan_prologue): Update for cache changes. Don't call
+ DEPRECATED_PC_IN_CALL_DUMMY.
+ (arm_scan_prologue): Update for cache changes. Take NEXT_FRAME
+ argument and use it in desperation search for our prologue. Do not
+ search past the specified PC.
+ (arm_make_prologue_cache): Simplify.
+
+ (arm_prologue_this_id, arm_prologue_prev_register)
+ (arm_prologue_unwind, arm_prologue_unwind_sniffer)
+ (arm_normal_frame_base, arm_normal_base, arm_make_sigtramp_cache)
+ (arm_sigtramp_this_id, arm_sigtramp_prev_register)
+ (arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer)
+ (arm_unwind_dummy_id, arm_unwind_pc, arm_unwind_sp): New.
+
+ (arm_frame_chain_valid, arm_find_callers_reg)
+ (arm_frame_saved_pc, arm_read_fp, arm_frame_init_saved_regs)
+ (arm_pop_frame): Delete obsolete methods.
+ (arm_minimal_frame_chain, arm_minimal_frame_info): Delete.
+
+ (arm_gdbarch_init): Update for new frame methods. Register prologue
+ and sigtramp unwinders. Set the default frame base method.
+
+ * Makefile.in (arm-tdep.o): Update dependencies.
+ * varobj.c (find_frame_addr_in_frame_chain): Call
+ get_frame_base_address.
+ * std-regs.c (value_of_builtin_frame_fp_reg): Likewise.
+
+
+ * arm-tdep.c (arm_minimal_frame_chain): Renamed from
+ arm_frame_chain. Take NEXT_FRAME and CACHE arguments.
+ Use the cache instead of DEPRECATED_FRAME_SAVED_PC.
+ (arm_minimal_frame_info): Renamed from arm_init_extra_frame_info.
+ Take NEXT_FRAME and CACHE arguments. Call
+ FRAMELESS_FUNCTION_INVOCATION instead of checking FROMLEAF argument.
+ Set unwound_pc in CACHE instead of modifying the frame argument.
+ Don't bother checking the frame type when looking for sigtramp
+ frames.
+ (arm_make_prologue_cache, arm_frame_chain)
+ (arm_init_extra_frame_info): New functions.
+
+
+ * arm-tdep.c (arm_get_cache): Define.
+ (struct arm_prologue_cache): Renamed from frame_extra_info. Add
+ unwound_sp, unwound_pc, and saved_regs.
+ (thumb_scan_prologue): Take a cache instead of the frame.
+ (arm_scan_prologue): Likewise.
+ (arm_frame_chain): Create a temporary cache for arm_scan_prologue
+ instead of a temporary frame.
+ (arm_init_extra_frame_info): Allocate and use a cache.
+ (arm_frame_saved_pc, arm_pop_frame): Use the cache.
+
+
+ * config/arm/wince.mt (TM_CLIBS): Replace WIN32LIBS.
+ * config/mips/wince.mt (TM_CLIBS): Ditto.
+ * config/sh/wince.mt (TM_CLIBS): Ditto.
+ * config/pa/hppa64.mt (TM_CLIBS): Delete.
+ * config/sparc/sp64.mt (CC): Delete.
+
+
+ * defs.h: Do not include "arch-utils.h".
+ (GDB_MULTI_ARCH): If not defined, set to GDB_MULTI_ARCH_PARTIAL or
+ GDB_MULTI_ARCH_PURE.
+ * configure.in (GDB_MULTI_ARCH): Do not define.
+ * configure, config.in: Regenerate.
+ * configure.tgt: Do not set variable "gdb_multi_arch".
+ * config/s390/s390x.mt (GDB_MULTI_ARCH): Delete.
+ * config/s390/s390.mt (GDB_MULTI_ARCH): Delete.
+ * config/i386/x86-64linux.mt (GDB_MULTI_ARCH): Delete.
+ * config/v850/v850.mt (TM_FILE): Delete disabled definition.
+ * config/m68hc11/m68hc11.mt (TM_FILE): Delete definition.
+ * config/vax/tm-vax.h (GDB_MULTI_ARCH): Delete definition.
+ * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Delete definition.
+ * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Delete definition.
+ * config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete definition.
+ * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete definition.
+ * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Delete definition.
+ * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Delete definition.
+ * config/ns32k/tm-ns32k.h (GDB_MULTI_ARCH): Delete definition.
+ * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Delete definition.
+ * config/i386/tm-i386.h (GDB_MULTI_ARCH): Delete definition.
+ * config/h8300/tm-h8300.h (GDB_MULTI_ARCH): Delete definition.
+ * config/frv/tm-frv.h (GDB_MULTI_ARCH): Delete definition.
+ * config/alpha/tm-alpha.h (GDB_MULTI_ARCH): Delete definition.
+
+
+ * Makefile.in: Remove tm-hp300bsd.h, tm-hp300hpux.h.
+ * config/m68k/nm-hp300hpux.h: Delete.
+ * config/m68k/tm-hp300hpux.h: Delete.
+ * config/m68k/xm-hp300hpux.h: Delete.
+ * config/m68k/xm-hp300bsd.h: Delete.
+ * config/djgpp/fnchange.lst: Remove nm-hp300hpux.h,
+ tm-hp300hpux.h, xm-hp300hpux.h.
+ * somsolib.c: Remove comment about hp300 shared libraries.
+
+
+ * i386-linux-nat.c (ps_get_thread_area): Don't define as extern.
+ Only define PTRACE_GET_THREAD_AREA is not already defined.
+ Various style fixes in code and comments and some additional
+ spelling fixes in comments. Move after functions dealing with
+ debug registers.
+ * x86-64-linux-nat.c (ps_get_thread_area): Don't define as extern.
+ Fix coding-style.
+
+ * alphafbsd-tdep.c (alphafbsd_sigcontext_addr): Use
+ frame_unwind_register_unsigned instead of
+ frame_unwind_unsigned_register.
+
+
+ * configure.in: Search for gethostbyname in libnsl.
+ * configure: Regenerated.
+
+
+ * configure.in: Remove redundant AC_MSG_RESULT in check for
+ uintptr_t in stdint.h.
+ * configure: Regenerated.
+
+ * amd64-nat.h (struct regcache): Add opaque declaration.
+
+ * i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define.
+ * x86-64-linux-nat.c: Include "i386-linux-tdep.h" and "amd64.h".
+ Change "register array" to "register cache" in comments.
+ (x86_64_linux_gregset64_reg_offset): New variable.
+ (GETREGS_SUPPLIES): Remove macro.
+ (supply_gregset): Call amd64_supply_native_gregset instead of
+ x86_64_linux_supply_gregset.
+ (fill_gregset): Rename `regno' to `regnum'. Call
+ amd64_collect_native_gregset instead of x86_64_linux_fill_gregset.
+ (store_regs): Rename `regno' to `regnum'.
+ (store_fpregs): Rename `regno' to `regnum'.
+ (fetch_inferior_registers): Rename `regno' to `regnum'. Use
+ amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES.
+ Reorganize function a bit.
+ (store_inferior_registers): Rename `regno' to `regnum'. Use
+ amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES.
+ Reorganize function a bit.
+ (_initialize_x86_64_linux_nat): New function.
+ * config/i386/x86-64linux.mh.
+
+
+ * config/mips/tm-embed.h (STOPPED_BY_WATCHPOINT): Delete macro.
+ (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Delete macro.
+ (target_remove_watchpoint): Delete macro.
+ (target_insert_watchpoint): Delete macro.
+ (remote_mips_can_use_hardware_watchpoint): Delete declaration.
+ (remote_mips_stopped_by_watchpoint): Delete declaration.
+ (remote_mips_remove_watchpoint): Delete declaration.
+ (remote_mips_set_watchpoint): Delete declaration.
+ (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete macro.
+ * remote-mips.c (_initialize_remote_mips): Set
+ "to_insert_watchpoint", "to_stopped_by_watchpoint",
+ "to_can_use_hardware_watchpoint", and "to_remove_watchpoint".
+ (mips_insert_watchpoint): Rename remote_mips_set_watchpoint.
+ (mips_remove_watchpoint): Rename remote_mips_remove_watchpoint.
+ (mips_stopped_by_watchpoint): Rename
+ remote_mips_stopped_by_watchpoint.
+ (mips_can_hardware_watchpoint): Rename
+ remote_mips_can_use_hardware_watchpoint, update function
+ signature.
+
+
+ * x86-64-linux-tdep.c (user_to_gdb_regmap): Remove USER_CS and
+ USER_DS. We haven't given them a register number yet.
+
+ * amd64-nat.h: New file.
+ * amd64-nat.c: New file.
+ * amd64fbsd-nat.c: Include "amd64-nat.h".
+ (REG_ADDR, GETREGS_SUPPLIES): Remove macros.
+ (amd64fbsd32_r_reg_offset): New variable.
+ (supply_gregset): Simply call amd64_supply_native_gregset.
+ (fill_gregset): Rename `regno' to `regnum'. Simply call
+ amd64_collect_native_gregset.
+ (fill_fpregset): Rename `regno' to `regnum'.
+ (fetch_inferior_registers): Rename `regno' to `regnum'. Replace
+ usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p.
+ Use `struct reg' and `struct fpreg' instead of `gregset_t' and
+ `fpregset_t'. Call amd64_supply_native_gregset instead of
+ supply_gregset. Call x86_64_supply_fxsave instead of
+ supply_fpregset.
+ (store_inferior_registers): Rename `regno' to `regnum'. Replace
+ usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p.
+ Use `struct reg' and `struct fpreg' instead of `gregset_t' and
+ `fpregset_t'. Call amd64_collect_native_gregset instead of
+ fill_gregset. Call x86_64_collect_fxsave instead of
+ fill_fpregset.
+ (_initialize_am64fbsd_nat): Initialize
+ amd64_native_gregset32_reg_offset and
+ amd64_native_gregset64_reg_offset.
+ * config/i386/fbsd64.mh (NATDEPFILES): Add amd64-nat.o.
+
+ * regcache.c (regcache_raw_supply): Don't assert that BUF isn't a
+ null pointer. Fix typo in comment.
+
+ * regcache.c (supply_register): Reimplement to call
+ regcache_raw_supply.
+ (regcache_collect): Reimplement by calling regcache_raw_collect.
+
+
+ * regcache.c (register_buffer): Consitify first argument.
+ (regcache_raw_supply, regcache_raw_collect): New
+ functions.
+
+
+ * config/powerpc/tm-nbsd.h: Undefine IBM6000_TARGET. Suggested
+ by Nathan J. Williams.
+
+
+ * lin-lwp.c (wait_lwp): New function, copied from
+ stop_wait_callback. Clean up.
+ (stop_wait_callback): Use wait_lwp.
+
+
+ * mips-tdep.c (gdb_print_insn_mips): Set the disassembler's
+ flavour and disassembler options.
+ (_initialize_mips_tdep): Do not set deprecated_tm_print_insn.
+ (mips_gdbarch_init): Set "print_insn". Delete initialization of
+ deprecated_tm_print_insn_info.
+
+
+ * s390-tdep.c (s390_readinstruction): Delete "info" parameter.
+ Use target_read_memory.
+ (s390_get_frame_info): Update. Do not reference
+ deprecated_tm_print_insn_info.
+ (s390_check_function_end, s390_is_sigreturn): Ditto.
+
* Makefile.in (cris-tdep.o): Update dependencies.