+
+ Partial fix for PR cli/1056.
+ * valarith.c: Check for zero in division and remainder
+ evaluation.
+
+
+ * i387-tdep.c: Remove excessive whitespace.
+
+
+ * gdb-events.sh (deprecated_set_gdb_event_hooks): Deprecated.
+ * gdb-events.h, gdb-events.c: Re-generate.
+ * tui/tui-hooks.c (tui_install_hooks): Update.
+ (tui_remove_hooks): Update.
+ * mi/mi-cmd-break.c (mi_cmd_break_insert): Update.
+
+
+ * amd64fbsd-nat.c: Don't include <sys/procfs.h> and "gregset.h".
+ (gregset_t, fpregset_t): Remove typedefs.
+ (REG_OFFSET): Rename argument.
+ (amd64bsd_r_reg_offset): Rename from reg_offset.
+ (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset):
+ Remove functions.
+ (_initialize_amd64fbsd_nat): Use amd64fbsd64_r_reg_offset instead
+ of reg_offset.
+ * Makefile.in (amd64fbsd-nat.o): Update dependencies.
+
+ * amd64-nat.c (amd64_supply_native_gregset): Fix comment.
+
+ * vax-tdep.c: Tweak comment.
+
+ Add OpenBSD/hppa support.
+ * NEWS (New native configurations): Mention OpenBSD/hppa.
+ * hppabsd-nat.c, hppabsd-tdep.c, config/pa/obsd.mh,
+ config/pa/obsd.mt, config/pa/nm-obsd.h, config/pa/tm-bsd.h: New
+ files.
+ * Makefile.in (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
+ (hppabsd-nat.o, hppabsd-tdep.c): New dependencies.
+ * configure.host: Add hppa*-*-openbsd*.
+ * configure.tgt: Add hppa*-*-openbsd*.
+
+
+ * defs.h (deprecated_ui_loop_hook): Deprecated.
+ * wince.c (child_wait): Update.
+ * win32-nat.c (child_wait): Update.
+ * v850ice.c (v850ice_wait): Update.
+ * top.c (deprecated_ui_loop_hook): Update.
+ * serial.h: Update.
+ * ser-unix.c (do_hardwire_readchar, do_hardwire_readchar)
+ (do_unix_readchar): Update.
+ * ser-tcp.c (net_open): Update.
+ * remote-sim.c (gdb_os_poll_quit): Update.
+ * rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Update.
+
+
+ * defs.h (deprecated_pre_add_symbol_hook)
+ (deprecated_post_add_symbol_hook): Deprecated.
+ * symfile.c (symbol_file_add_with_addrs_or_offsets)
+ (symbol_file_add_with_addrs_or_offsets): Update references.
+
+
+ * defs.h (post_add_symbol_hook, pre_add_symbol_hook)
+ (ui_loop_hook, selected_frame_level_changed_hook): Declare.
+ * wince.c (ui_loop_hook): Delete extern declaration.
+ * win32-nat.c (ui_loop_hook): Delete extern declaration..
+ * v850ice.c (ui_loop_hook): Delete extern declaration..
+ * ser-unix.c (ui_loop_hook): Delete extern declaration..
+ * ser-tcp.c (ui_loop_hook): Delete extern declaration..
+ * remote-sim.c (ui_loop_hook): Delete extern declaration..
+ * rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Delete extern.
+ ui_loop_hook declaration.
+
+
+ * objfiles.h (struct entry_info): Delete entry_func_lowpc and
+ entry_func_highpc fields.
+ * objfiles.c (init_entry_point_info): Do not clear
+ entry_func_lowpc and entry_func_highpc.
+ (objfile_relocate): Do not relocate entry_func_lowpc and
+ entry_func_highpc.
+ * dwarfread.c (read_func_scope): Do not set entry_func_lowpc and
+ entry_func_highpc.
+ * dwarf2read.c (read_func_scope): Do not set entry_func_lowpc and
+ entry_func_highpc.
+ * blockframe.c (legacy_frame_chain_valid): Replace tests against
+ entry_func_lowpc and entry_func_highpc with call to
+ inside_entry_func.
+
+
+ * sparc64-tdep.c (sparc64_store_arguments): Fix passing
+ quad-precision floating point arguments in registers.
+
+
+ * sparc64-tdep.c (sparc64_frame_base_address): Take BIAS into
+ account.
+
+
+ * infrun.c (handle_inferior_event): Initialize stopped_by_watchpoint
+ to -1.
+ * breakpoint.c (bpstat_stop_status): Move check for ignoring
+ untriggered watchpoints to a separate if clause. Update function
+ comment regarding STOPPED_BY_WATCHPOINT argument.
+
+
+ * gdbarch.sh: Doc fix.
+
+
+ * config/mips/tm-mips.h (SP_REGNUM): Delete define.
+ * mips-tdep.h (MIPS_SP_REGNUM): Define.
+ * mips-tdep.c (mips_gdbarch_init): Set SP_REGNUM via call
+ to set_gdbarch_sp_regnum(). Use cooked register number.
+ (SP_REGNUM): Replace all occurrences with MIPS_SP_REGNUM.
+
+
+ * gdbarch.sh: When the macro field is empty, do not generate a
+ macro definition. When the macro field is "=", generate the macro
+ name from the upper-case function name.
+ (NUM_REGS, NUM_PSEUDO_REGS, SP_REGNUM, PC_REGNUM, PS_REGNUM)
+ (FP0_REGNUM, STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM)
+ (DWARF_REG_TO_REGNUM, SDB_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM)
+ (REGISTER_NAME, DEPRECATED_REGISTER_VIRTUAL_TYPE)
+ (DEPRECATED_REGISTER_BYTES, DEPRECATED_REGISTER_BYTE)
+ (DEPRECATED_REGISTER_RAW_SIZE, DEPRECATED_REGISTER_VIRTUAL_SIZE)
+ (DEPRECATED_SAVE_DUMMY_FRAME_TOS, DEPRECATED_FP_REGNUM)
+ (DEPRECATED_TARGET_READ_FP, DEPRECATED_PUSH_ARGUMENTS)
+ (DEPRECATED_PUSH_RETURN_ADDRESS, DEPRECATED_DUMMY_WRITE_SP)
+ (DEPRECATED_REGISTER_SIZE, CALL_DUMMY_LOCATION)
+ (DEPRECATED_DO_REGISTERS_INFO, REGISTER_SIM_REGNO)
+ (REGISTER_BYTES_OK, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER)
+ (GET_LONGJMP_TARGET, DEPRECATED_INIT_FRAME_PC)
+ (BELIEVE_PCC_PROMOTION, DEPRECATED_GET_SAVED_REGISTER)
+ (CONVERT_REGISTER_P, REGISTER_TO_VALUE, VALUE_TO_REGISTER)
+ (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER, INTEGER_TO_ADDRESS)
+ (DEPRECATED_POP_FRAME, DEPRECATED_STORE_STRUCT_RETURN)
+ (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE)
+ (DEPRECATED_EXTRACT_RETURN_VALUE, DEPRECATED_STORE_RETURN_VALUE)
+ (DEPRECATED_USE_STRUCT_CONVENTION)
+ (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS)
+ (DEPRECATED_FRAME_INIT_SAVED_REGS)
+ (DEPRECATED_INIT_EXTRA_FRAME_INFO, SKIP_PROLOGUE, INNER_THAN)
+ (BREAKPOINT_FROM_PC, MEMORY_INSERT_BREAKPOINT)
+ (MEMORY_REMOVE_BREAKPOINT, DECR_PC_AFTER_BREAK)
+ (DEPRECATED_FUNCTION_START_OFFSET, FRAME_ARGS_SKIP)
+ (DEPRECATED_FRAMELESS_FUNCTION_INVOCATION, DEPRECATED_FRAME_CHAIN)
+ (DEPRECATED_FRAME_CHAIN_VALID, DEPRECATED_FRAME_SAVED_PC)
+ (DEPRECATED_FRAME_ARGS_ADDRESS, DEPRECATED_FRAME_LOCALS_ADDRESS)
+ (DEPRECATED_SAVED_PC_AFTER_CALL, FRAME_NUM_ARGS)
+ (DEPRECATED_STACK_ALIGN, DEPRECATED_REG_STRUCT_HAS_ADDR)
+ (FRAME_RED_ZONE_SIZE, ADDR_BITS_REMOVE, SMASH_TEXT_ADDRESS)
+ (SOFTWARE_SINGLE_STEP, SKIP_TRAMPOLINE_CODE)
+ (IN_SOLIB_CALL_TRAMPOLINE, IN_SOLIB_RETURN_TRAMPOLINE)
+ (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL)
+ (NAME_OF_MALLOC, CANNOT_STEP_BREAKPOINT)
+ (HAVE_NONSTEPPABLE_WATCHPOINT, ADDRESS_CLASS_TYPE_FLAGS)
+ (FETCH_POINTER_ARGUMENT): Replace the macro name with "=".
+
+
+ * gdbarch.sh: For gdbarch_dump, print the "function" rather than
+ macro name, and the function rather than macro value. Only wrap
+ macro print statements in #ifdef. Move format logic to where it
+ is needed.
+ * gdbarch.c: Re-generate.
+
+ * gdbarch.sh (read): Delete "print_p" and "description", add
+ "garbage_at_eol". Check for non-empty garbage at end-of-line.
+ Delete references to print_p.
+ (TARGET_ARCHITECTURE): Delete print predicate.
+ * gdbarch.c: Re-generate.
+
+ * gdbarch.sh: Check that multi-arch methods do not provide a
+ macro.
+ (register_type, unwind_dummy_id, push_dummy_call, push_dummy_code)
+ (print_registers_info, print_float_info, print_vector_info)
+ (adjust_breakpoint_address, remote_translate_xfer_address)
+ (construct_inferior_arguments, skip_solib_resolver, unwind_pc)
+ (address_class_type_flags_to_name, unwind_sp): Remove the macro
+ name from the multi-arch definition.
+
+
+ * gdbarch.sh: Sort by the function, instead of macro name.
+ * gdbarch.c: Re-generate.
+
+
+ * gdbarch.sh: Use the function, instead of macro name in
+ errors and the log file.
+ (return_value): Remove stray ":" in spec.
+
+ * gdbarch.sh (RETURN_VALUE): Default to legacy_return_value.
+ * gdbarch.h, gdbarch.c: Re-generate.
+ * Makefile.in (arch-utils.o): Update dependencies.
+ * values.c (using_struct_return): Move code calling
+ USE_STRUCT_CONVENTION to legacy_return_value, simplify.
+ * stack.c (return_command): Move code calling STORE_RETURN_VALUE
+ to legacy_return_value, simplify.
+ * infcmd.c (print_return_value): Move code calling
+ DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS and EXTRACT_RETURN_VALUE
+ to legacy_return_value, simplify.
+ * infcall.c (call_function_by_hand): Move code calling
+ EXTRACT_RETURN_VALUE to legacy_return_value, simplify.
+ * arch-utils.c: Update copyright. Include "gdbcore.h".
+ (legacy_return_value): New function.
+ * arch-utils.h: Update copyright.
+ (legacy_return_value): Declare.
+
+
+ * gdbarch.sh (DEPRECATED_USE_STRUCT_CONVENTION): Deprecated.
+ * gdbarch.h, gdbarch.c: Re-generate.
+ * values.c (using_struct_return): Update call.
+ * mcore-tdep.c: Update comment.
+ * infcall.c (call_function_by_hand): Update comment.
+ * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
+ * arch-utils.h (always_use_struct_convention): Update.
+ * v850-tdep.c (v850_gdbarch_init): Update.
+ * sh64-tdep.c (sh64_gdbarch_init): Update.
+ * sh-tdep.c (sh_gdbarch_init): Update.
+ * rs6000-tdep.c (rs6000_gdbarch_init): Update.
+ * mips-tdep.c (mips_gdbarch_init): Update.
+ * mcore-tdep.c (mcore_gdbarch_init): Update.
+ * m32r-tdep.c (m32r_gdbarch_init): Update.
+ * ia64-tdep.c (ia64_gdbarch_init): Update.
+ * h8300-tdep.c (h8300_gdbarch_init): Update.
+ * frv-tdep.c (frv_gdbarch_init): Update.
+ * cris-tdep.c (cris_gdbarch_init): Update.
+ * arm-tdep.c (arm_gdbarch_init): Update.
+ * alpha-tdep.c (alpha_gdbarch_init): Update.
+
+
+ * PROBLEMS: Add more specific information, and a work-around,
+ for PR gdb/1458.
+
+
+ * gdbarch.sh (DEPRECATED_FUNCTION_START_OFFSET): Deprecated.
+ * gdbarch.h, gdbarch.c: Re-generate.
+ * ada-lang.c (ada_finish_decode_line_1): Update.
+ * infrun.c (handle_inferior_event): Update.
+ * infcall.c (find_function_addr): Update.
+ * linespec.c (minsym_found): Update.
+ * symtab.c (find_function_start_sal, skip_prologue_using_sal):
+ Update.
+ * blockframe.c (legacy_frameless_look_for_prologue): Update.
+ * cli/cli-cmds.c (disassemble_command): Update.
+ * vax-tdep.c (vax_gdbarch_init): Update.
+
+
+ * i386-tdep.c (i386_collect_fpregset): Fix comment.
+
+
+ GDB 6.1.1 released from the GDB 6.1 branch.
+ * NEWS: Merge in 6.1.1 NEWS from 6.1 branch.
+ * PROBLEMS: Ditto.
+
+
+ PR gdb/1658
+ * dwarf2read.c (dwarf_decode_lines): Read the length of the extended
+ operation as a uleb128. Found by Michael Coulter.
+
+
+ * ada-tasks.c: Rename build_task_list to ada_build_task_list, and
+ make it non-static.
+ * ada-lang.h (task_control_block): declaration moved from ada-task.c
+ to ada-lang.h; this is needed to be able to implement the kill command
+ in multi-task mode.
+ (task_ptid): Ditto.
+ (task_entry): Ditto.
+ (task_list): Ditto.
+ (ada_build_task_list): Ditto.
+
+ * ada-lang.c: Conditionalize routines and data structures related
+ to breakpoints, exceptions, completion, and symbol caching on
+ GNAT_GDB, since these are not yet used in the submitted public sources.
+ (ada_main_name): Editorial: Move definition out of exception-related
+ code.
+
+
+ * mips-tdep.c (non_heuristic_proc_desc): Delete call to
+ deprecated_pc_in_call_dummy.
+
+
+ * dsrec.c (load_srec, make_srec): Use bfd_get_section_size instead of
+ bfd_get_section_size_before_reloc or _raw_size.
+ * dwarf2-frame.c (dwarf2_build_frame_info): Likewise.
+ * dwarf2read.c (dwarf2_locate_sections): Likewise.
+ (dwarf2_read_section): Likewise.
+ * elfread.c (elf_locate_sections): Likewise.
+ * gcore.c (derive_heap_segment): Likewise.
+ * mipsread.c (read_alphacoff_dynamic_symtab): Likewise.
+ * remote-e7000.c (e7000_load): Likewise.
+ * remote-m32r-sdi.c (m32r_load): Likewise.
+ * remote-mips.c (mips_load_srec): Likewise.
+ (pmon_load_fast): Likewise.
+ * remote.c (compare_sections_command): Likewise.
+ * symfile.c (add_section_size_callback): Likewise.
+ (load_section_callback): Likewise.
+ (pc_in_unmapped_range): Likewise.
+ (pc_in_mapped_range): Likewise.
+ (sections_overlap): Likewise.
+ (list_overlays_command): Likewise.
+ (simple_overlay_update_1): Likewise.
+ (simple_overlay_update): Likewise.
+ * tracepoint.c (remote_set_transparent_ranges): Likewise.
+ * win32-nat.c (core_section_load_dll_symbols): Likewise.
+
+
+ * Makefile.in (hppa-hpux-tdep.o): Update dependency.
+ * hppa-hpux-tdep.c (hp_cxx_exception_support_initialized): Make
+ static.
+ (hppa_hpux_inferior_created): New function.
+ (hppa_hpux_init_abi): Register observer.
+ * symfile.c (hp_cxx_exception_support_initialized)
+ (RESET_HP_UX_GLOBALS): Remove HPUXHPPA specific hacks.
+ (symbol_file_add_main_1, symbol_file_clear): Likewise.
+
+
+ * MAINTAINERS (Write After Approval): Alphabetize my entry
+ correctly.
+
+
+ * MAINTAINERS (testsuite): List Michael Chastain as the lead
+ testsuite maintainer.
+
+
+ * infcmd.c (print_return_value): Fix logic, allow
+ DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS when struct_return.
+
+ * gdbarch.sh: For predicates, do not check GDB_MULTI_ARCH when
+ defining any macros.
+ * gdbarch.h: Re-generate.
+
+ * gdbarch.sh: Delete "level" attribute. Only check for a macro
+ redefinition when multi-arch greater than GDB_MULTI_ARCH_PARTIAL.
+ * gdbarch.h: Re-generate.
+
+ * values.c (generic_use_struct_convention): Don't check gcc_p.
+
+ * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE)
+ (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Delete.
+ * gdbarch.h, gdbarch.c: Regenerate.
+ * ns32k-tdep.h (NS32K_MAX_REGISTER_RAW_SIZE)
+ (NS32K_MAX_REGISTER_VIRTUAL_SIZE): Delete macros.
+ * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
+ deprecated_max_register_raw_size and
+ deprecated_max_register_virtual_size.
+ * v850-tdep.c (v850_gdbarch_init): Ditto.
+ * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
+ * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
+ * mcore-tdep.c (mcore_gdbarch_init): Ditto.
+ * cris-tdep.c (cris_gdbarch_init): Ditto.
+
+ * gdbarch.sh (RETURN_VALUE_ON_STACK): Delete method.
+ * gdbarch.h, gdbarch.c: Re-generate.
+ * m68hc11-tdep.c (m68hc11_return_value_on_stack): Delete function.
+ (m68hc11_use_struct_convention): Delete function.
+ (m68hc11_extract_struct_value_address): Delete function.
+ (m68hc11_return_value): New function.
+ (m68hc11_gdbarch_init): Instead of store_return_value,
+ extract_return_value, return_value_on_stack,
+ deprecated_extract_struct_value_address and use_struct_convention,
+ set return_value.
+ * values.c (using_struct_return): Do not call
+ RETURN_VALUE_ON_STACK.
+ * arch-utils.h (generic_return_value_on_stack_not): Delete
+ declaration.
+ * arch-utils.c (generic_return_value_on_stack_not): Delete
+ function.
+
+
+ * values.c (register_value_being_returned): Delete function.
+ * infcmd.c (legacy_return_value): Delete function.
+ * infcall.c (call_function_by_hand): Inline
+ "register_value_being_returned", simplify.
+ * values.c (using_struct_return): Update comment, refer to
+ print_return_value instead of register_value_being_returned.
+ * infcmd.c (print_return_value): Inline calls to
+ register_value_being_returned and legacy_return_value. Simplify.
+
+
+ * somread.c (som_symtab_read): Exclude gcc local symbols.
+
+
+ * infrun.c (handle_inferior_event): Handle the case when a
+ trampoline ends up in the runtime resolver, and if the trampoline
+ has no name. Rearrange the code so that all the trampoline
+ processing happens before other step-out-of-range handling.
+
+
+ * mips-tdep.c (mips_gdbarch_init): Recognize vr4120
+ has no fpu.
+
+
+ * blockframe.c (legacy_inside_entry_func): Delete.
+ (legacy_frame_chain_valid): Inline call to
+ legacy_inside_entry_func, simplify.
+
+
+ * dbxread.c (read_dbx_symtab): Set pst->dirname when known.
+ * dwarf2read.c (partial_die_info): Add dirname field.
+ (dwarf2_build_psymtabs_hard): Set pst->dirname when known.
+ (read_partial_die): Save away DW_AT_comp_dir.
+ * defs.h (symtab_to_filename): Removed.
+ * source.c (find_and_open_source): Added.
+ (open_source_file): Just calls find_and_open_source.
+ (symtab_to_filename): Removed.
+ (symtab_to_fullname, psymtab_to_fullname): Added.
+ * source.h (psymtab_to_fullname,symtab_to_fullname): Added.
+ * symtab.c (lookup_symtab): Call symtab_to_fullname instead of
+ symtab_to_filename.
+ * symtab.h (partial_symtab): Add dirname field.
+ * mi/mi-cmd-file.c (FILENAME,FULLNAME): Added.
+ (mi_cmd_file_list_exec_source_file): Call new function
+ symtab_to_fullname to find fullname.
+ (mi_cmd_file_list_exec_source_files): Added.
+ * mi/mi-cmds.c (mi_cmd_mi_cmds): Add -file-list-exec-source-files.
+ * mi/mi-cmds.h (mi_cmd_file_list_exec_source_files): Added.
+
+
+ * avr-tdep.c (avr_gdbarch_init): Do not set use_struct_convention
+ to generic_use_struct_convention, the default value.
+
+ * mn10300-tdep.c (mn10300_type_align): Call internal_error instead
+ of abort.
+
+ * ns32k-tdep.c (ns32k_push_arguments): New function.
+ (ns32k_gdbarch_init): Set deprecated_push_arguments.
+ * infcall.c (call_function_by_hand): Call error instead of
+ legacy_push_arguments.
+ * value.h (legacy_push_arguments): Delete declaration.
+ * valops.c (legacy_push_arguments): Delete function.
+ (value_push): Delete function.
+
+
+ * coffread.c (coff_symfile_read): Prevent mixed debugging formats
+ from corrupting/reinitializing the psymtab. Support DWARF 2 frame
+ info.
+ * dbxread.c (elfstab_build_psymtabs): Remove bogus comment.
+
+
+ * gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Delete.
+ * gdbarch.h, gdbarch.c: Re-generate.
+ * frame.h (deprecated_pc_in_call_dummy): Delete "sp" and "fp"
+ parameters.
+ * dummy-frame.c (deprecated_pc_in_call_dummy): Update.
+ * arm-tdep.c (arm_pc_is_thumb_dummy): Call
+ deprecated_pc_in_call_dummy instead of
+ DEPRECATED_PC_IN_CALL_DUMMY.
+ (arm_skip_prologue): Ditto.
+ * xstormy16-tdep.c (xstormy16_pop_frame, xstormy16_scan_prologue)
+ (xstormy16_frame_saved_pc, xstormy16_frame_chain): Ditto.
+ * v850-tdep.c (v850_find_callers_reg, v850_frame_chain)
+ (v850_pop_frame, v850_frame_saved_pc, v850_frame_init_saved_regs):
+ Ditto.
+ * sh64-tdep.c (sh64_frame_chain, sh64_get_saved_pr)
+ (sh64_init_extra_frame_info, sh64_get_saved_register)
+ (sh64_pop_frame): Ditto.
+ * mips-tdep.c (non_heuristic_proc_desc): Ditto.
+ * mcore-tdep.c (mcore_find_callers_reg, mcore_frame_saved_pc)
+ (mcore_pop_frame, mcore_init_extra_frame_info): Ditto.
+ * h8300-tdep.c (h8300_frame_chain, h8300_frame_saved_pc)
+ (h8300_pop_frame): Ditto.
+ * blockframe.c (legacy_inside_entry_func)
+ (legacy_frame_chain_valid): Ditto.
+ * frame.c (frame_type_from_pc, legacy_get_prev_frame): Update call
+ to deprecated_pc_in_call_dummy.
+
+
+ * gdbarch.sh (REGISTER_TO_VALUE, VALUE_TO_REGISTER): Do not
+ provide a default value.
+ (CONVERT_REGISTER_P): Default to generic_convert_register_p.
+ * gdbarch.h, gdbarch.c: Re-generate.
+ * arch-utils.c (generic_convert_register_p): Rename
+ legacy_convert_register_p
+ (legacy_register_to_value, legacy_value_to_register): Delete
+ functions.
+ * arch-utils.h (generic_convert_register_p): Rename
+ legacy_convert_register_p.
+ (legacy_register_to_value, legacy_value_to_register): Delete
+ declarations.
+
+ * gdbarch.sh (DEPRECATED_REGISTER_CONVERT_TO_RAW)
+ (DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL)
+ (DEPRECATED_REGISTER_CONVERTIBLE): Delete.
+ * gdbarch.h, gdbarch.c: Re-generate.
+ * infcmd.c (default_print_registers_info): Simplify.
+ * findvar.c (value_of_register): Simplify.
+ * mi/mi-main.c (get_register): Simplify.
+ * arch-utils.c (legacy_convert_register_p): Always return 0.
+ (legacy_register_to_value, legacy_value_to_register): Always call
+ internal_error.
+
+ * infptrace.c (child_xfer_memory) [CLEAR_INSN_CACHE]: Delete
+ #ifdef CLEAR_INSN_CACHE code.
+ * target.c (generic_mourn_inferior) [CLEAR_DEFERRED_STORES]:
+ Delete #ifdef CLEAR_DEFERRED_STORES code.
+
+ * solib-svr4.c [HANDLE_SVR4_EXEC_EMULATORS]: Delete #ifdef code.
+
+ * config/ia64/tm-linux.h (TARGET_ELF64): Delete macro, Update
+ copyright.
+ * config/ia64/tm-aix.h (TARGET_ELF64): Ditto.
+
+ * config/mips/mipsv4.mh: Delete file.
+
+ * config/pa/tm-hppa64.h (HPREAD_ADJUST_STACK_ADDRESS): Delete
+ unreferenced macro.
+ (hpread_adjust_stack_address): Delete declaration.
+
+
+ * infptrace.c [ATTACH_DETACH]: Remove #ifdef wrappers.
+ (attach, detach): When neither PT_ATTACH / PT_DETACH nor
+ PTRACE_ATTACH / PTRACE_DETACH available call error.
+ (PT_ATTACH, PT_DETACH): Move definition to attach / detach.
+ * infttrace.c (update_thread_state_after_attach, attach, detach):
+ Remove #ifdef wrappers.
+ * inftarg.c (child_attach, child_detach): Remove #ifdef wrappers.
+ * gnu-nat.c [ATTACH_DETACH]: Remove #ifdef wrappers.
+ * config/nm-bsd.h (ATTACH_DETACH): Delete.
+ * config/nm-sysv4.h (ATTACH_DETACH): Delete.
+ * config/nm-nbsd.h (ATTACH_DETACH): Delete.
+ * config/nm-linux.h (ATTACH_DETACH): Delete.
+ * config/rs6000/nm-rs6000.h (ATTACH_DETACH): Delete.
+ * config/pa/nm-hppah.h (ATTACH_DETACH): Delete.
+ * config/i386/nm-i386sco5.h (ATTACH_DETACH): Delete.
+ * config/i386/nm-i386sco4.h (ATTACH_DETACH): Delete.
+ * config/i386/nm-i386gnu.h (ATTACH_DETACH): Delete.
+
+
+ * configure.in: Set $configdir to the right OS specific value.
+ Use value when setting $tcldir and $tkdir.
+ * configure: Regenerate.
+
+
+ * gdb/dwarf2-frame.c (decode_frame_entry_1): Decode version 3 CIE
+ records.
+
+
+ * ada-lang.c (lookup_symbol_in_language): New function to allow
+ re-use of another language's symbol lookup code. (Placed here
+ temporarily while Ada support is being integrated into the public
+ tree).
+ (restore_language): New auxiliary function for
+ lookup_symbol_in_language.
+ * ada-lang.h (lookup_symbol_in_language): Declare (Placed here
+ temporarily while Ada support is being integrated into the public
+ tree).
+
+
+ * Makefile.in (check//%): New.
+
+ * mn10300-tdep.c (mn10300_extract_return_value): Rewrite.
+ (mn10300_store_return_value): Rewrite.
+ (mn10300_type_align): New.
+ (mn10300_use_struct_convention): Rewrite.
+ (mn10300_return_value): New, using all of the above.
+ (mn10300_pop_frame_regular): Add saved_regs_size.
+ (mn10300_gdbarch_init): Remove deprecated rewritten entry points.
+
+ * mn10300-tdep.c (mn10300_analyze_prologue): Don't compute saved
+ regs if PC is on movm.
+
+
+ Add native Linux support for the PowerPC E500.
+ * ppc-tdep.h (struct gdbarch_tdep): New member: 'ppc_gprs_pseudo_p'.
+ * rs6000-tdep.c (rs6000_gdbarch_init): Initialize it to false on
+ all architectures except the E500.
+ * ppc-linux-nat.c: (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): New
+ #definitions.
+ (struct gdb_evrregset_t): New type.
+ (have_ptrace_getsetevrregs): New variable.
+ (get_spe_registers, read_spliced_spe_reg, fetch_spe_register,
+ fetch_spe_registers): New functions.
+ (fetch_register): Call fetch_spe_register as appropriate.
+ Assert that we're only passed raw register numbers.
+ (fetch_ppc_registers): Call fetch_spe_registers as appropriate.
+ Don't fetch gprs if they're pseudoregisters.
+ (set_spe_registers, write_spliced_spe_reg, store_spe_register,
+ store_spe_registers): New functions.
+ (store_register): Call store_spe_register as appropriate.
+ Assert that we're only passed raw register numbers.
+ (store_ppc_registers): Call store_spe_registers as appropriate.
+ Don't store gprs if they're pseudoregisters.
+
+
+ * thread-db.c (thread_get_info_callback): Fill in the thread_info
+ struct if one exists, even if we are dealing with a zombie thread.
+
+
+ * target.h (PC_REQUIRES_RUN_BEFORE_USE): Delete definition.
+ * config/pa/tm-hppa.h (DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE):
+ Rename PC_REQUIRES_RUN_BEFORE_USE.
+ * breakpoint.c (breakpoint_sals_to_pc): Update. Wrap reference in
+ #ifdef.
+
* hppa-tdep.c (hppa_frame_cache): Handle the cases when we start
* infrun.c (handle_inferior_event): Don't treat an invalid ptid
as a new thread event.
- * thread_db.c (thread_get_info_callback): If the thread is a
+ * thread-db.c (thread_get_info_callback): If the thread is a
zombie, return TD_THR_ZOMBIE.
- * (thread_from_lwp): If thread_get_info_callback returns
+ (thread_from_lwp): If thread_get_info_callback returns
TD_THR_ZOMBIE, check if the thread is still on the thread list
and return a -1 ptid if not found.
(thread_db_wait): If thread_from_lwp returns a -1 ptid, then