+
+ * dwarf2read.c (skip_leb128, peek_die_abbrev, skip_one_die)
+ (skip_children): New functions.
+ (locate_pdi_sibling): Call skip_children.
+
+
+ * arm-tdep.c (arm_use_struct_convention): Look through typedefs.
+ * gdbtypes.c (check_typedef): Update comments.
+
+
+ * dwarf2read.c (struct comp_unit_head): Remove dwarf2_abbrevs array.
+ (struct dwarf2_cu): Add abbrev_obstack and dwarf2_abbrevs
+ pointer. Update comment about comp_unit_head.
+ (struct abbrev_info): Shorten two int flags.
+ (dwarf_alloc_abbrev): Take a CU argument.
+ (dwarf2_build_psymtabs_hard): Call dwarf2_free_abbrev_table
+ each time through the loop. Update cleanup argument.
+ (psymtab_to_symtab_1): Update cleanup call.
+ (dwarf2_read_abbrevs, dwarf2_alloc_abbrev): Allocate on the
+ abbrev_obstack.
+ (dwarf2_free_abbrev_table): Renamed from dwarf2_empty_abbrev_table.
+ Just call obstack_free and clear the pointer.
+
+
+ * infrun.c (handle_inferior_event): Remove short-circuit code for
+ events in a different thread.
+
+
+ * target.c (debug_to_xfer_memory): If targetdebug is 1, don't
+ print the whole transfer.
+ (initialize_targets): Update description of "set debug target".
+
+
+ * arm-tdep.c (thumb_get_next_pc): Handle Thumb BLX.
+
+
+ * MAINTAINERS (write after approval): Add myself.
+
+
+ * sh-tdep.c (sh_print_registers_info): Use for loop.
+ Don't skip multiple registers when a float register is encountered.
+
+
+ Fix PR tdep/1291.
+ * sh-tdep.c (sh_analyze_prologue): Align PC relative addressing
+ to official SH documentation.
+
+
+ * ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): Delete
+ unused function.
+
+
+ * arm-tdep.c (thumb_get_next_pc): Handle BX.
+ (arm_get_next_pc): Handle BX and BLX.
+
+
+ * hppa-tdep.c: Replace DEPRECATED_FP_REGNUM with HPPA_FP_REGNUM,
+ FP0_REGNUM with HPPA_FP0_REGNUM, and SP_REGNUM with
+ HPPA_SP_REGNUM.
+ (hppa_register_raw_size, hppa_register_byte, hppa_read_fp)
+ (hppa_target_read_fp): Delete.
+ (hppa_gdbarch_init): Do not set deprecated register_raw_size,
+ register_virtual_size, max_register_raw_size,
+ max_register_virtual_size, register_byte, register_size,
+ target_read_fp, fp_regnum, and register_bytes. Set register_type
+ instead of register_virtual_type.
+ (hppa32_register_type, hppa64_register_type): Replace
+ hppa32_register_virtual_type and hppa64_register_virtual_type.
+ * config/pa/tm-hppa.h (HPPA_FP0_REGNUM, HPPA_SP_REGNUM)
+ (HPPA_FP_REGNUM): Define.
+
+ * hppa-tdep.c (hppa_gdbarch_init): Add missing "break".
+
+ * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO)
+ (pa_do_registers_info): Delete.
+ * hppa-tdep.c (pa_do_registers_info, pa_do_strcat_registers_info)
+ (pa_print_registers, pa_print_fp_reg, pa_strcat_registers)
+ (pa_strcat_fp_reg, pa_register_look_aside): Delete.
+
+ * infcall.c (legacy_push_dummy_code): Delete #ifdef
+ GDB_TARGET_IS_HPPA code.
+ * config/pa/tm-hppa.h (DEPRECATED_FIX_CALL_DUMMY)
+ (hppa_fix_call_dummy, DEPRECATED_CALL_DUMMY_HAS_COMPLETED)
+ (DEPRECATED_DUMMY_WRITE_SP, CALL_DUMMY): Delete.
+ * config/pa/tm-hppa64.h (CALL_DUMMY): Delete.
+ * hppa-tdep.c (hppa_frame_chain, hppa_frame_chain_valid)
+ (hppa_push_dummy_frame, hppa_pop_frame, hppa_push_arguments)
+ (hppa_fix_call_dummy, hppa64_stack_align, hppa_frame_saved_pc)
+ (hppa_init_extra_frame_info, hppa_saved_pc_after_call)
+ (hppa64_call_dummy_breakpoint_offset, hppa_frame_init_saved_regs)
+ (hppa_frameless_function_invocation, hppa64_store_return_value)
+ (hppa_store_struct_return, hppa64_extract_return_value)
+ (hppa64_use_struct_convention, hppa_frame_find_saved_regs)
+ (hppa32_call_dummy_length, hppa64_call_dummy_length)
+ (find_dummy_frame_regs, FUNC_LDIL_OFFSET, FUNC_LDO_OFFSET)
+ (find_proc_framesize, deposit_21, restore_pc_queue)
+ (find_return_regnum, pc_in_interrupt_handler, deposit_14)
+ (rp_saved, pc_in_linker_stub): Delete.
+
+ Unconditionally enable 64-bit frame and ABI code.
+ * hppa-tdep.c (hppa_gdbarch_init): Do not set deprecated
+ call_dummy_breakpoint_offset, call_dummy_length, stack_align,
+ push_dummy_frame, fix_call_dummy, push_arguments,
+ call_dummy_location, extract_return_value, use_struct_convention,
+ store_return_value, store_struct_return, saved_pc_after_call,
+ init_frame_pc, frame_init_saved_regs, init_extra_frame_info,
+ frame_chain, frame_chain_valid, frameless_function_invocation,
+ frame_saved_pc, and pop_frame.
+
+ * hppa-tdep.c: Replace PC_REGNUM with PCOQ_HEAD_REGNUM.
+ (hppa64_return_value, hppa64_push_dummy_call): Rewrite.
+ (hppa_gdbarch_init): Do not set PC_REGNUM.
+
+
+ * config/alpha/tm-fbsd.h: Remove file.
+ * config/alpha/fbsd.mt: Tweak comment.
+ (TM_FILE): Set to tm-alpha.h.
+
+
+ * infrun.c (step_over_function): When non-legacy code, and no
+ step_frame_id, use the unwinder to get the caller's frame ID.
+
+
+ * i386bsd-tdep.c (_initialize_i386bsd_tdep): Register
+ i386bsd_core_osabi_sniffer for bfd_arch_i386 instead of
+ bfd_arch_unknown. Adjust comment.
+
+ * i386-nat.c: Fix typo in comment. Re-introduce paranoiac.
+ * i386obsd-tdep.c: Correct spelling in comment.
+ * i386nbsd-tdep.c: Correct spelling in comment.
+ * sparc-tdep.c: Correct spelling in comments.
+
+
+ * cp-namespace.c (cp_lookup_transparent_type_loop): Fix recursion
+ bug.
+
+
+ * sparc-tdep.c: Fix typo in comment.
+
+
+ * hppa-tdep.c (hppa_frame_cache): Avoid undefined return value.
+
+
+ * dwarf2read.c: Add comment describing memory lifetimes.
+ (struct dwarf2_pinfo): Update comment.
+ (dwarf2_add_field, dwarf2_add_member_fn, read_structure_scope)
+ (read_enumeration, new_symbol): Don't use obsavestring.
+
+
+ * amd64-linux-nat.c (fill_fpregset): Call amd64_colletc_fxsave
+ instead of amd64_fill_fxsave.
+ * amd64bsd-nat.c (store_inferior_registers): Likewise.
+ * amd64fbsd-nat.c (fill_fpregset): Likewise.
+
+ * sparc-tdep.c (sparc_frame_cache): Don't bail out if %fp is zero.
+ Reorganize code a bit.
+
+
+ * cris-tdep.c (cris_scan_prologue): Save the frame pointer's offset
+ when the frame pointer is pushed. Don't set the frame pointer's
+ address on the stack unless it's actually located there.
+ Set the SRP's address on the stack correctly when the PC is still in
+ the prologue.
+ (cris_return_value): New function.
+ (cris_gdbarch_init): Clear deprecated store_return_value,
+ extract_return_value.
+
+
+ * stabsread.c (reg_value_complaint): The maximum register number
+ is one less than the number of registers.
+
+
+ * i386-tdep.h (enum i386_regnum): Add I386_DS_REGNUM,
+ I386_ES_REGNUM, I386_FS_REGNUM, and I386_GS_REGNUM. Remove
+ trailing comma and redundant assignment of I386_ST0_REGNUM.
+ * amd64-nat.c (amd64_collect_native_gregset): Zero-extend the
+ 32-bit segment registers.
+
+
+ * rs6000-tdep.c (rs6000_init_frame_pc_first): Fix compiler error,
+ use frame_relative_level and get_next_frame.
+
+
+ * rs6000-tdep.c (rs6000_init_frame_pc_first): New function.
+ (rs6000_gdbarch_init): Set deprecated_init_frame_pc_first.
+ * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST):
+ Delete macro.
+
+
+ * inflow.c (terminal_inferior): Don't give up the terminal if we
+ previously couldn't get the inferior's terminal state.
+
+
+ * regcache.c (read_pc_pid): Restore inferior_ptid after reading
+ PC_REGNUM.
+
+
+ * NEWS: Refer to GDB 6.1.
+ * README: Refer to GDB 6.1.
+ * PROBLEMS: Refer to GDB 6.1.
+
+
+ * thread-db.c (disable_thread_signals): Remove unused function.
+
+
+ * amd64-nat.c: Include "gdb_string.h".
+ (amd64_collect_native_gregset): Zero-extend the 32-bit
+ general-purpose registers and %eip.
+
+ * amd64-tdep.h: (amd64_collect_fxsave): New prototype.
+ * amd64-tdep.c (amd64_collect_fxsave): New function.
+ (amd64_fill_fxsave): Simply call amd64_collect_fxsave.
+
+ * i387-tdep.h: Update copyright year.
+ (i387_collect_fxsave): New prototype.
+ * i387-tdep.c: Update copyright year.
+ (i387_collect_fxsave): New function containing most of the code
+ from i387_fill_fxsave.
+ (i387_fill_fxsave): Call i387_collect_fxsave.
+
+
+ * amd64-linux-nat.c (ps_get_thread_area): When architecture is
+ i386 use PTRACE_GET_THREAD_AREA. Suggested by Roland McGrath.
+
+
+ * amd64-tdep.c (amd64_frame_cache): Fix comment.
+
+
+ * utils.c: Use "", instead of <>, to include readline.
+ tui/tui-win.c, tui/tui.c, tui/tui-hooks.c: Ditto.
+ * tracepoint.c, top.c, symmisc.c, symfile.c: Ditto.
+ * source.c, solib.c, exec.c, event-top.c: Ditto.
+ * corelow.c, completer.c, cli/cli-setshow.c: Ditto.
+ * cli/cli-dump.c, cli/cli-cmds.c: Ditto.
+ * Makefile.in: Update all dependencies.
+ (readline_tilde_h, readline_history_h): Define.
+ (readline_headers): Delete.
+
+
+ * config/djgpp/fnchange.lst: Rename "config/i386/nm-linux64.h" to
+ "config/i386/nm-lx64.h" and "config/i386/tm-linux64.h" to
+ "config/i386/tm-lx64.h".
+
+ * config/djgpp/fnchange.lst: Rename "amd64-linux-tdep.c" to
+ "amd64-ltdep.c" and "amd64-linux-nat.c" to "amd64-lnat.c". Remove
+ rules for "x86-64-linux-tdep.c" and "x86-64-linux-nat.c".
+
+
+ * dwarf2-frame.h (struct gdbarch): Add opaque declaration.
+
+ * breakpoint.c (_initialize_breakpoint): Use
+ "add_setshow_auto_boolean_cmd. Better word-wrap help messages.
+ Add help to show command.
+
+
+ * i386-nat.c: Reformat to be closer to coding standards.
+ (i386_handle_nonaligned_watchpoint): Rename local variable `rv' to
+ `retval'. Make variables `align' and `size' local to while-loop.
+ (i386_stopped_data_address): Rename local variable `ret' to `addr'.
+ (_initialize_i386_nat): New prototype.
+
+ * tui/tui.c: Include <readline/readline.h> instead of
+ "readline/readline.h". Include it after <term.h> and
+ "gdb_curses.h".
+
+
+ * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always use
+ the new frame unwind code.
+ (hppa_frame_cache): Use PCOQ_HEAD_REGNUM instead of PC_REGNUM.
+ (hppa_frame_prev_register): Compute PCOQ_TAIL_REGNUM from
+ PCOQ_HEAD_REGNUM.
+
+ * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always
+ "return_value" and "push_dummy_call".
+ (hppa32_use_struct_convention): Delete unused function.
+ (hppa32_store_return_value): Delete unused function.
+ (hppa32_extract_return_value): Delete unused function.
+ (hppa32_stack_align): Delete function.
+
+
+ * coffread.c (enter_linenos): Don't let rawptr reference memory
+ outside linetab[]'s limits.
+
+
+ * hppa-tdep.c (hppa32_push_dummy_call): Fix code reserving
+ inferior stack space - the stack needs to grow upwards.
+ (hppa32_frame_align): New function.
+ (hppa64_frame_align): Replace hppa_frame_align.
+ (hppa_gdbarch_init): Update.
+
+
+ * cris-tdep.c (frame_unwind.h, frame-base.h, trad-frame.h)
+ (dwarf2-frame.h): Include.
+ (enum cris_regnums): New enum CRIS_FP_REGNUM.
+ Remove static variables related to ABI setting.
+ (struct gdbarch_tdep): Remove cris_abi member.
+ (struct frame_extra_info): Remove.
+ (cris_unwind_cache, stack_item): New structs.
+ (cris_frame_unwind, cris_frame_base): New variables.
+ (push_stack_item, pop_stack_item)
+ (cris_frame_unwind_cache, cris_frame_this_id)
+ (cris_frame_prev_register, cris_unwind_dummy_id, cris_frame_align)
+ (cris_push_dummy_code, cris_push_dummy_call, cris_frame_sniffer)
+ (cris_frame_base_address, cris_scan_prologue, cris_unwind_pc)
+ (cris_unwind_sp, cris_store_return_value, cris_extract_return_value)
+ (cris_reg_struct_has_addr): New functions.
+ (cris_examine, cris_frame_init_saved_regs, cris_frame_chain)
+ (cris_frame_saved_pc, cris_saved_pc_after_call,
+ (cris_store_struct_return, cris_frameless_function_invocation)
+ (cris_pop_frame, cris_skip_prologue_main)
+ (cris_abi_original_store_return_value)
+ (cris_abi_v2_store_return_value)
+ (cris_abi_original_extract_return_value)
+ (cris_abi_v2_extract_return_value)
+ (cris_abi_original_reg_struct_has_addr)
+ (cris_abi_v2_reg_struct_has_addr)
+ (cris_abi_original_push_arguments, cris_abi_v2_push_arguments)
+ (cris_push_return_address, cris_abi_update): Remove.
+ (_initialize_cris_tdep): Remove ABI command.
+ (cris_dump_tdep): Ditto.
+ (cris_gdbarch_init): Remove ABI command.
+ Set store_return_value, extract_return_value, push_dummy_code,
+ push_dummy_call, frame_align, unwind_pc, unwind_sp, unwind_dummy_id,
+ frame_unwind_append_sniffer, frame_base_set_default.
+ Clear deprecated init_frame_pc, push_arguments, store_return_value,
+ extract_return_value, fp_regnum, pc_in_call_dummy, call_dummy_words,
+ sizeof_call_dummy_words, get_saved_register, push_return_address,
+ pop_frame, store_struct_return, frame_init_saved_regs,
+ init_extra_frame_info, frameless_function_invocation, frame_chain,
+ frame_saved_pc, saved_pc_after_call, save_dummy_frame_tos,
+ dummy_write_sp.
+
+
+ * valprint.h (print_hex_chars, print_char_chars): New prototypes.
+ * valprint.c (print_hex_chars): Change from static to external.
+ (print_char_chars): New function.
+ * printcmd.c (print_scalar_formatted): For integer and enum types
+ that are longer than LONGEST, perform processing via appropriate
+ print_*_chars routines.
+
+
+ * Makefile.in: Update dependencies.
+ Changes from Ulrich Weigand,
+ * s390-tdep.c: Include "dwarf2-frame.h".
+ (s390_dwarf2_frame_init_reg): New function.
+ (s390_gdbarch_init): Install dwarf2_frame_sniffer and
+ dwarf2_frame_base_sniffer. Call dwarf2_frame_set_init_reg.
+
+
+ * breakpoint.c (pending_break_support): New setting variable.
+ (break_command_1): Account for pending_break_support setting
+ when creating pending breakpoints.
+ (set_breakpoint_cmd, show_breakpoint_cmd): New functions.
+ (_initialize_breakpoint): Add "set breakpoint pending" and
+ "show breakpoint pending" commands.
+
+
+ Fix PR i18n/1570.
+ * charset.c (backslashable, backslashed, represented): Remove 'e'
+ from list of escaped characters, not part of ISO-C.
+
+
+ * tui/tui.c: Move system header includes after local includes.
+ Fixes a build failure on solaris systems.
+
+
+ * configure.in: Refine the previous change.
+ * configure: Regenerate.
+
+
+ * amd64-tdep.h: Renamed from x86-64-tdep.h.
+ * amd64-tdep.c: Renamed from x86-64-tdep.c. Include
+ "amd64-tdep.h" instead of "x86-64-tdep.h".
+ * amd64-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h".
+ * amd64-linux-tdep.h: Renamed from x86-64-linux.h.
+ * amd64-linux-tdep.c: Renamed from x86-64-linux-tdep.c. Include
+ "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h"
+ and "x86-64-tdep.c".
+ * amd64-linux-nat.c: Renamed from x86-64-linux-nat.c. Include
+ "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h"
+ and "x86-64-tdep.c".
+ * amd64bsd-nat.c: Update copyright year.
+ Include "amd64-tdep.h" instead of "x86-64-tdep.h".
+ * amd64fbsd-tdep.c: Include "amd64-tdep.h" instead of
+ "x86-64-tdep.h".
+ * amd64fbsd-nat.c: Include "amd64-tdep.h" instead of
+ "x86-64-tdep.h".
+ * amd64nbsd-tdep.c: Include "amd64-tdep.h" instead of
+ "x86-64-tdep.h".
+ * amd64nbsd-nat.c: Include "amd64-tdep.h" instead of
+ "x86-64-tdep.h".
+ * amd64obsd-tdep.c: Include "amd64-tdep.h" instead of
+ "x86-64-tdep.h".
+ * amd64obsd-nat.c: Include "amd64-tdep.h" instead of
+ "x86-64-tdep.h".
+ * configure.host: (x86_64-*-linux*): Set gdb_target to linux64.
+ * configure.tgt (x86_64-*-linux*): Set gdb_target to linux64.
+ * Makefile.in (amd64_linux_tdep_h): Renamed from
+ x86_64_linux_tdep_h.
+ (amd64_tdep_h): Renamed from x86_64_tdep_h.
+ (amd64bsd-nat.o, amd64fbsd-nat.o, amd64fbsd-tdep.o, amd64-nat.o)
+ (amd64nbsd-nat.o, amd64nbsd-tdep.o, amd64obsd-nat.o)
+ (amd64obsd-tdep.o): Update dependencies.
+ (amd64-tdep.o, amd64-linux-nat.o, amd64-linux-tdep.o): New
+ dependencies.
+ (x86-64-linux-nat.o, x86-64-linux-tdep.o, x86-64-tdep.o): Remove
+ dependencies.
+ (ALLDEPFILES): Add amd64-tdep.c, amd64obsd-nat.c, amd64obsd-nat.c,
+ amd64-linux-nat.c amd64-linux-tdep.c.
+ * config/i386/tm-linux64.h: Renamed from tm-x86-64linux.h
+ * config/i386/nm-linux64.h: Renamed from nm-x86-64linux.h.
+ * config/i386/linux64.mt: Renamed from x86-64linux.mt.
+ (TDEPFILES): Replace x86-64-tdep.o and x86-64-linux-tdep.o with
+ amd64-tdep.o and amd64-linux-tdep.o.
+ (TM_FILE): Set to tm-linux64.h.
+ * config/i386/linux64.mh: Renamed from x86-64linux.mh.
+ (NAT_FILE): Set to nm-linux64.h.
+ (NATDEPFILES): Replace x86-64-linux-nat.o with amd64-linux-nat.o.
+ * config/i386/fbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
+ amd64-tdep.o.
+ * config/i386/nbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
+ amd64-tdep.o.
+ * config/i386/obsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
+ amd64-tdep.o.
+
+
+ * remote.c (remote_protocol_qPart_auxv): New variable.
+ (init_all_packet_configs): Initialize it.
+ (set_remote_protocol_qPart_auxv_packet_cmd): New function.
+ (show_remote_protocol_qPart_auxv_packet_cmd): New function.
+ (show_remote_cmd): Call it.
+ (_initialize_remote): Initialize commands.
+ (remote_xfer_partial): If enabled, use qPart:auxv:read:... query to
+ service TARGET_OBJECT_AUXV requests.
+
+
+ * configure.in: Make sure that the wborder function is available.
+ Otherwise, search for it in the cur_colr library.
+ * configure: Regenerate.
+
+
+ * hppa-tdep.c (hppa32_push_dummy_call): Rewrite.
+
+
+ * config/i386/tm-x86-64linux.h: Tweak comments.
+
+
+ * MAINTAINERS: Add self to write-after-approval list.
+
+
+ PR cli/1566. Problem found, and fix suggested by David Allan.
+ * cli/cli-script.c (execute_control_command): Unconditionally
+ install a cleanup. Default "ret" to "invalid_control". Use
+ "break" instead of "return" to escape from the switch.
+
+
+ * tui/tui-disasm.c: %s/lines/asm_lines/g to avoid a collision
+ with the lines macro defined in term.h on AiX.
+ * tui/tui-regs.c: %s/label_width/tui_label_width/g, to avoid
+ a collision with the label_width macro defined in term.h on AiX.
+
+
+
+ * ia64-tdep.h (ia64_write_pc, ia64_linux_write_pc): Declare.
+ * ia64-tdep.c (ia64_write_pc): Make it a global function.
+ (ia64_gdbarch_init): For Linux targets, use ia64_linux_write_pc()
+ instead of ia64_write_pc().
+ * ia64-linux-tdep.c (regcache.h): Include.
+ (ia64_linux_write_pc): New function.
+
+
+ * auxv.c (info_auxv_command): Fix typos in error messages.
+
+
+ * x86-64-tdep.h: Tweak comment.
+ (enum amd64_regnum): New.
+ (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM)
+ (X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM)
+ (X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM)
+ (X86_64_XMM1_REGNUM): Removed.
+ (AMD64_NUM_GREGS): Renamed from X86_64_NUM_GREGS.
+ (amd64_init_abi, amd64_supply_fxsave, amd64_fill_fxsave): Adjust
+ prototypes for renamed functions.
+ * x86-64-tdep.c: Fix typo.
+ (amd64_dwarf_regmap): Use constants from `enum amd64_regnum' for
+ register numbers.
+ (amd64_return_value, amd64_push_arguments, amd64_push_dummy_call):
+ Use constants from `enum amd64_regnum' for register numbers.
+ (AMD64_NUM_SAVED_REGS): Adjust for renamed macros.
+ (amd64_analyze_prologue, amd64_frame_cache,
+ amd64_sigtramp_frame_cache): Use constants from `enum
+ amd64_regnum' for register numbers.
+ (amd64_supply_fpregset): Adjust for renamed functions.
+ (amd64_init_abi): Rename from x86_64_init_abi. Use constants from
+ `enum amd64_regnum' for register numbers.
+ (I387_ST0_REGNUM): Use constant from `enum amd64_regnum'.
+ (amd64_supply_fxsave): Rename from x86_64_supply_fxsave.
+ (amd64_fill_fxsave): Rename fro x86_64_fill_fxsave.
+ * x86-64-linux-tdep.c (amd64_linux_supply_gregset)
+ (amd64_linux_fill_gregset): Adjust for renamed macros.
+ (fetch_core_registers): Adjust for renamed functions.
+ (amd64_linux_init_abi): Adjust for renamed functions.
+ * x86-64-linux-nat.c (supply_gregset, fill_gregset): Adjust for
+ renamed functions.
+ * amd64-nat.c: Adjust for renamed macros.
+ * amd64bsd-nat.c (fetch_inferior_registers)
+ (store_inferior_registers): Use constants from `enum amd64_regnum'
+ for register numbers. Adjust for renamed variables.
+ * amd64fbsd-nat.c (supply_gregset, fill_gregset): Adjust for
+ renamed variables.
+ (_initialize_amd64fbsd_nat): Use constants from `enum
+ amd64_regnum' for register numbers.
+ * amd64fbsd-tdep.c (amd64fbsd_sigcontext_addr): Use constants from
+ `enum amd64_regnum' for register numbers.
+ (amd64fbsd_init_abi): Adjust for renamed functions.
+ * amd64nbsd-tdep.c (amd64nbsd_sigcontext_addr): Use constants from
+ `enum amd64_regnum' for register numbers.
+ (amd64nbsd_init_abi): Adjust for renamed functions.
+ (_initialize_amd64nbsd_ndep): Adjust for renamed macros.
+ * amd64obsd-tdep.c (amd64obsd_sigcontext_addr): Use constants from
+ `enum amd64_regnum' for register numbers.
+ (amd64obsd_init_abi): Adjust for renamed functions.
+ (_initialize_amd64obsd_ndep): Adjust for renamed macros.
+
+
+ * breakpoint.c (print_one_breakpoint): Do not output spaces
+ after printing <PENDING> for a pending breakpoint.
+
+
+ * printcmd.c (print_scalar_formatted): Initialize val_long
+ to remove compiler warning message.
+
+
+ * defs.h (nquery, yquery): New prototypes.
+ * breakpoint.c (break_command_1): Use new nquery interface.
+ * utils.c (defaulted_query, nquery, yquery): New functions.
+
+
+ * hppa-tdep.c (hppa_frame_align): New function.
+ (hppa32_push_dummy_call): New function.
+ (hppa64_push_dummy_call): New function.
+ (hppa_gdbarch_init): Set frame_align and push_dummy_call; keep
+ disabled.
+
+ * infcall.c (legacy_push_dummy_code): Don't call deprecated
+ FIX_CALL_DUMMY when push_dummy_call is available.
+ (call_function_by_hand, push_dummy_code): Ditto.
+
+
+ * config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Delete macro.
+ (DEPRECATED_PC_IN_CALL_DUMMY): Delete macro.
+ (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete macro.
+ * hppa-tdep.c (hppa_gdbarch_init): Clear deprecated
+ use_generic_dummy_frames, set deprecated pc_in_call_dummy, set
+ call_dummy_location to ON_STACK.
+
* x86-64-linux-tdep.c: Tweak comment.
pc. Update comments.
-
+
* event-top.c (async_request_quit): Remove uses of REQUEST_QUIT
macro, which was part of the now removed Mach 3 port.
* utils.c (request_quit): Ditto.
amd64nbsd-tdep.c.
* i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Make
- static. Remove extraneous whitespace.
+ static. Remove extraneous whitespace.
* i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Make
static.
- * eval.c (evaluate_subexp_standard, case OP_OBJC_MSGCALL): Use
+ * eval.c (evaluate_subexp_standard, case OP_OBJC_MSGCALL): Use
CORE_ADDR as type for selectors. Correct types for GNU run time
message lookup function to use double indirection.
* objc-lang.c (lookup_child_selector): Use CORE_ADDR as return type.
(S390_SIGCONTEXT_SREGS_OFFSET, S390X_SIGCONTEXT_SREGS_OFFSET,
S390_SIGREGS_FP0_OFFSET, S390X_SIGREGS_FP0_OFFSET,
S390_UC_MCONTEXT_OFFSET, S390X_UC_MCONTEXT_OFFSET,
- S390_SIGNAL_FRAMESIZE,
+ S390_SIGNAL_FRAMESIZE,
s390_NR_sigreturn, s390_NR_rt_sigreturn): Remove.
(struct frame_extra_info): Remove.
(s390_memset_extra_info): Remove.
(s390_extract_return_value, s390_store_return_value): Remove.
(s390_return_value_convention, s390_return_value): New functions.
(is_float_singleton): Handle typedefs.
- (is_double_or_float, is_double_arg, is_simple_arg, pass_by_copy_ref):
+ (is_double_or_float, is_double_arg, is_simple_arg, pass_by_copy_ref):
Remove, replace by ...
(s390_function_arg_pass_by_reference, s390_function_arg_float,
s390_function_arg_integer): ... these new functions.
set_gdbarch_push_dummy_call,
set_gdbarch_unwind_dummy_id,
set_gdbarch_return_value.
-
+
* config/s390/nm-linux.h: Update comments.
(target_insert_watchpoint, target_remove_watchpoint): Redefine.
(STOPPED_BY_WATCHPOINT): Redefine.
(watch_area): Remove typedef.
Global replace watch_area by struct watch_area.
(watch_area_cnt, watch_lo_addr, watch_hi_addr): Remove.
- (s390_stopped_by_watchpoint): Remove pid argument,
+ (s390_stopped_by_watchpoint): Remove pid argument,
use s390_inferior_tid. Add short-cut for the no watchpoint case.
(s390_fix_watch_points): Remove pid argument,
use s390_inferior_tid. Recompute area spanned by watchpoints.
* config/s390/nm-linux.h: Update comments. Do not include "solib.h".
(KERNEL_U_ADDR, REGISTER_U_ADDR, U_REGS_OFFSET): Remove.
(FETCH_INFERIOR_REGISTERS): Define.
- * config/s390/s390.mh (NATDEPFILES): Remove core-aout.o and
+ * config/s390/s390.mh (NATDEPFILES): Remove core-aout.o and
core-regset.o.
* config/s390/s390x.mt: Remove.
* config/s390/tm-s390.h: Remove.
* regformats/reg-s390.dat: Remove control registers.
* regformats/reg-s390x.dat: Likewise.
* s390-tdep.h: New file.
- * s390-nat.c: Do not include <asm/processor.h> or <value.h>.
+ * s390-nat.c: Do not include <asm/processor.h> or <value.h>.
Include "inferior.h" and "s390-tdep.h".
Remove private definition of offsetof.
(s390_register_u_addr): Remove.
Replace S390_FP_REGNUM by S390_SP_REGNUM.
Remove calls to:
set_gdbarch_deprecated_max_register_raw_size,
- set_gdbarch_deprecated_max_register_virtual_size,
- set_gdbarch_deprecated_register_byte,
+ set_gdbarch_deprecated_max_register_virtual_size,
+ set_gdbarch_deprecated_register_byte,
set_gdbarch_cannot_fetch_register,
- set_gdbarch_cannot_store_register,
+ set_gdbarch_cannot_store_register,
set_gdbarch_deprecated_register_size,
set_gdbarch_deprecated_register_raw_size,
set_gdbarch_deprecated_register_virtual_size,
END_PROGRESS.
-
+
* objfiles.c (terminate_minimal_symbol_table): Add back
initialization of MSYMBOL_TYPE.
* infrun.c (_initialize_infrun): Ditto.
* mi/mi-main.c (_initialize_mi_main): Ditto.
* gdbtypes.c (_initialize_gdbtypes): Ditto.
-
+
* solib.c (solib_map_sections): Use bfd_set_cacheable instead of
poking .cacheable directly.
* symfile.c (symfile_bfd_open): Ditto.
* gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
(DEPRECATED_CALL_DUMMY_STACK_ADJUST): Delete.
(DEPRECATED_CALL_DUMMY_ADDRESS): Delete.
- * gdbarch.h, gdbarch.c: Re-generate.
+ * gdbarch.h, gdbarch.c: Re-generate.
* frame.c (deprecated_get_next_frame_hack): Delete function.
* frame.h (deprecated_get_next_frame_hack): Delete declaration.
* blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
* symfile.c (init_entry_point_info, entry_point_address): Move
- from here...
+ from here...
* objfiles.c (init_entry_point_info, entry_point_address):..to
here.
* symfile.h (init_entry_point_info, entry_point_address): Remove
prototypes.
* objfiles.h (init_entry_point_info, entry_point_address):Add
- prototypes.
+ prototypes.
* cris-tdep.c: Remove include of symfile.h. Add include of
objfiles.h.
* infcall.c: Ditto.
* dbxread.c: Ditto.
* dwarf2read.c: Ditto.
* dwarfread.c: Ditto.
- * frv-tdep.c: Ditto.
+ * frv-tdep.c: Ditto.
* ia64-tdep.c: Ditto.
* mdebugread.c: Ditto.
* mipsread.c: Ditto.
- * rs6000-tdep.c: Ditto.
+ * rs6000-tdep.c: Ditto.
* s390-tdep.c: Ditto.
* sh-tdep.c: Ditto.
- * xstormy16-tdep.c: Ditto.
+ * xstormy16-tdep.c: Ditto.
* gdbarch.sh: Remove include of symfile.h.
* gdbarch.c: Regenerate.
* solib-irix.c (enable_break): Use entry_point_address().
Add comment about include file.
* xcoffread.c: Add comment about include file.
- * Makefile.in (arm-tdep.o, blockframe.o, coffread.o, cris-tdep.o)
- (dbxread.o, dwarf2read.o, dwarfread.o, frv-tdep.o, gdbarch.o)
- (ia64-tdep.o, infcall.o, mcore-tdep.o, mdebugread.o, mipsread.o)
- (mn10300-tdep.o, rs6000-nat.o, s390-tdep.o, sh64-tdep.o)
+ * Makefile.in (arm-tdep.o, blockframe.o, coffread.o, cris-tdep.o)
+ (dbxread.o, dwarf2read.o, dwarfread.o, frv-tdep.o, gdbarch.o)
+ (ia64-tdep.o, infcall.o, mcore-tdep.o, mdebugread.o, mipsread.o)
+ (mn10300-tdep.o, rs6000-nat.o, s390-tdep.o, sh64-tdep.o)
(sh-tdep.o, v850-tdep.o, xstormy16-tdep.o): Update dependencies.
(SUBDIR_GDBTK_SRCS): Fix path to gdbtk-interp.c.
-
+
* ia64-tdep.c (ia64_frame_this_id): Fix tracing print statement
to use paddr functions to format ia64 addresses and long values.
(ia64_frame_prev_register, ia64_sigtramp_frame_this_id): Ditto.
* bcache.c (bcache_xmalloc): Use obstack_init instead of
obstack_specify_allocation.
* objfiles.c (allocate_objfile): Ditto.
- * solib-sunos.c (solib_add_common_symbols)
+ * solib-sunos.c (solib_add_common_symbols)
(allocate_rt_common_objfile): Ditto.
* symfile.c (reread_symbols): Ditto.
* gdb_obstack.h: Add comment.
* buildsym.c (free_pending_blocks, finish_block)
(record_pending_block, make_blockvector, end_symtab): Replace
symbol_obstack with objfile_obstack.
- * coffread.c (process_coff_symbol, coff_read_struct_type)
+ * coffread.c (process_coff_symbol, coff_read_struct_type)
(coff_read_enum_type): Ditto.
- * cp-namespace.c (initialize_namespace_symtab)
+ * cp-namespace.c (initialize_namespace_symtab)
(check_one_possible_namespace_symbol): Ditto.
- * dwarf2read.c (new_symbol, dwarf2_const_value, macro_start_file)
+ * dwarf2read.c (new_symbol, dwarf2_const_value, macro_start_file)
(dwarf2_symbol_mark_computed): Ditto.
* dwarfread.c (enum_type, new_symbol, synthesize_typedef): Ditto.
* elfread.c (elf_symtab_read): Ditto.
(hpread_read_enum_type, hpread_read_function_type)
(hpread_read_doc_function_type, hpread_process_one_debug_symbol):
Ditto.
- * jv-lang.c (get_java_class_symtab, add_class_symbol)
+ * jv-lang.c (get_java_class_symtab, add_class_symbol)
(java_link_class_type): Ditto.
- * mdebugread.c (parse_symbol, psymtab_to_symtab_1, new_symtab)
+ * mdebugread.c (parse_symbol, psymtab_to_symtab_1, new_symtab)
(new_symbol): Ditto.
* minsyms.c (install_minimal_symbols): Ditto.
* objfiles.c (allocate_objfile): Remove init of symbol_obstack.
(parse_partial_symbols, new_psymtab, elfmdebug_build_psymtabs):
Ditto.
* mips-tdep.c (non_heuristic_proc_desc): Ditto.
- * objfiles.c (add_to_objfile_sections)
+ * objfiles.c (add_to_objfile_sections)
(build_objfile_section_table): Ditto.
(allocate_objfile): Remove init of psymbol_obstack.
(free_objfile): Remove freeing of psymbol_obstack.
read_structure_scope read_enumeration, new_symbol): Replace
type_obstack with objfile_obstack.
* dwarfread.c (struct_type, enum_type): Ditto.
- * gdbtypes.c (alloc_type, alloc_type_instance, init_type)
+ * gdbtypes.c (alloc_type, alloc_type_instance, init_type)
(lookup_fundamental_type): Ditto.
* gdbtypes.h (TYPE_ALLOC): Ditto.
- * hpread.c (hpread_read_enum_type, hpread_read_function_type)
- (hpread_read_doc_function_type, hpread_read_struct_type)
- (fix_static_member_physnames, hpread_read_array_type)
+ * hpread.c (hpread_read_enum_type, hpread_read_function_type)
+ (hpread_read_doc_function_type, hpread_read_struct_type)
+ (fix_static_member_physnames, hpread_read_array_type)
(hpread_read_subrange_type, hpread_type_lookup): Ditto.
- * jv-lang.c (java_lookup_class, type_from_class, type_from_class)
+ * jv-lang.c (java_lookup_class, type_from_class, type_from_class)
(java_link_class_type): Ditto.
* mdebugread.c (parse_type): Ditto.
* objfiles.c (allocate_objfile, free_objfile): Ditto.
read_cpp_abbrev, read_one_struct_field): Ditto.
* symfile.c (reread_symbols): Ditto.
* symmisc.c (print_objfile_statistics): Ditto.
-
+
* tui/tui-data.h (tui_win_element): Rename TuiWinElement.
* tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto.
* tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
* tui/tui-winsource.c, tui/tui.c: Ditto.
-
+
* dwarf2-frame.h: Update copyright.
* tui/tui-wingeneral.h: Update copyright.
(m_allBeVisible): Delete macro.
- (m_allBeInvisible): Delete macro.
+ (m_allBeInvisible): Delete macro.
(struct tui_gen_win_info): Declare.
(struct tui_win_info): Declare.
(tui_unhighlight_win): Rename unhighlightWin.