+
+ * alpha-osf1-tdep.c (alpha_osf1_init_abi): Unfortunately,
+ procfs appears to be broken when debugging on multi-processor
+ machines. So enable software single stepping in order to avoid
+ using the procfs interface to do next/step operations, using
+ internal breakpoints instead.
+
+ * infrun.c (handle_inferior_event): Readjust the stop_pc by
+ DECR_PC_AFTER_BREAK when hitting a single step breakpoint, to
+ make this pc address equal to the value it would have if the
+ system stepping capability was used. Also set a new flag used
+ to ensure that we don't readjust the PC one more time later.
+
+ * breakpoint.c (bpstat_stop_status): Do not adjust the PC
+ address by DECR_PC_AFTER_BREAK when software single step is
+ in use for this architecture, as this has already been taken
+ care of in handle_inferior_event().
+
+
+ * infrun.c (handle_inferior_event): Minor reformatting, to make
+ a rather long condition expression easier to read.
+
+
+ * Makefile.in (gdbtk.o): Move to end of file.
+ (gdbtk-bp.o, gdbtk-cmds.o): Ditto.
+ (gdbtk-hooks.o, gdbtk-register.o): Ditto.
+ (gdbtk-stack.o, gdbtk-varobj.o): Ditto.
+ (gdbtk-wrapper.o, gdbres.o): Ditto.
+
+
+ * Makefile.in (copying.o): Separate out compile rule.
+ (hpux-thread.o, procfs.o, signals.o): Ditto.
+ (v850ice.o, z8k-tdep.o): Ditto.
+ (tui-file.o): Move to TUI section.
+ (xdr_ptrace.o, xdr_rdb.o, xdr_ld.o): Move to separate section.
+ (nindy.o, Onindy.o, ttyflush.o): Move to separate section.
+
+
+ * i386-tdep.c (i386_pe_skip_trampoline_code): renamed from
+ skip_trampoline_code, for better namespace-proofing.
+
+ * i386-tdep.h (i386_pe_skip_trampoline_code): Add declaration.
+
+
+ * config/i386/tm-cygwin.h: Remove some "#if 0"'ed macros.
+
+
+ * infrun.c (handle_inferior_event): When receiving a SIGTRAP
+ signal, check whether we hit a breakpoint before checking for a
+ single step breakpoint. Otherwise, GDB fails to notice that a
+ breakpoint has been hit when stepping onto a breakpoint.
+
+
+ * gdb-events.sh (clear_gdb_event_hooks): New function.
+ * gdb-events.c: Regenerate.
+ * gdb-events.h: Regenerate.
+
+
+ * breakpoint.c (bpstat_stop_status): Rename not_a_breakpoint to
+ not_a_sw_breakpoint.
+ * breakpoint.h (bpstat_stop_status): Add parameter names.
+
+
+ * remote.c (remote_insert_hw_breakpoint)
+ (remote_remove_hw_breakpoint): Fix calculation of length field
+ for Z-packet.
+
+
+ * irix5-nat.c (supply_gregset): Allocate plenty-big buffer
+ (32 bytes) instead of using MAX_REGISTER_RAW_SIZE.
+ (supply_fpregset): Ditto.
+
+ * config/mips/tm-mips.h (REGISTER_CONVERT_TO_VIRTUAL,
+ REGISTER_CONVERT_TO_RAW, REGISTER_CONVERTIBLE,
+ MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE): Delete.
+ (TARGET_READ_SP): Delete.
+ (DO_REGISTERS_INFO): Delete.
+ (FUNCTION_START_OFFSET, IN_SIGTRAMP, REGISTER_VIRTUAL_SIZE):
+ Delete.
+ (REGISTER_CONVERT_FROM_TYPE, REGISTER_CONVERT_TO_TYPE): Convert
+ from macros to functions.
+
+ * mips-tdep.c (mips_gdbarch_init): Set the above in the gdbarch.
+ (mips_register_convertible, mips_register_convert_to_virtual,
+ mips_register_convert_to_raw): Make static.
+ (mips_read_sp): New function.
+ (mips_gdbarch_init): Set gdbarch read_sp to mips_read_sp.
+ (mips_do_registers_info): Make static.
+ (mips_gdbarch_init): Insert mips_do_registers_info into gdbarch.
+ (in_sigtramp): Make static, rename to mips_pc_in_sigtramp.
+ (mips_register_convert_from_type, mips_register_convert_to_type):
+ New functions.
+ (mips_gdbarch_init): Set up function_start_offset,
+ register_virtual_size, pc_in_sigtramp.
+
+
+ * infcmd.c (vector_info): New function.
+ (_initialize_infcmd): Add command "info vector".
+ (print_vector_info): New function.
+
+ * gdbarch.sh (PRINT_VECTOR_INFO): New method
+ * gdbarch.h, gdbarch.c: Regenerate.
+
+
+ * infcmd.c (do_registers_info): Rename parameter ``fpregs'' to
+ ``print_all''. Only print vector registers when ``print_all''.
+
+
+ * i387-tdep.h (i387_print_float_info): Add `args' parameter.
+ * i387-tdep.c (i387_print_float_info): Add `args' parameter.
+
+ * gdbarch.sh (PRINT_FLOAT_INFO): Change to a predicate method.
+ Add `args' parameter.
+ * gdbarch.h, gdbarch.c: Regenerate.
+
+ * arm-tdep.c (arm_print_float_info): Add the parameter `args'.
+
+ * infcmd.c (float_info): Call print_float_info.
+ (print_float_info): New function. By default, print the
+ floating-point registers.
+
+ * arch-utils.h (default_print_float_info): Delete declaration.
+ * arch-utils.c (default_print_float_info): Delete function.
+
+
+ * config/i386/nm-i386v.h (FLOAT_INFO): Remove already commented
+ out define.
+
+ * i387-tdep.c (i387_print_float_info): Add comment about ignoring
+ FRAME.
+
+ * NEWS: Mention that the i[3456]-*-aix target has been made obsolete.
+ * configure.host: Make i[3456]86-*-aix host obsolete.
+ * configure.tgt: Make i[3456]86-*-aix target obsolete.
+ * config/i386/i386aix.mh, config/i386/i386aix.mt,
+ config/i386/nm-i386aix.h, condig/i386/tm-i386aix.h,
+ config/i386/xm-i386aix.h: Make files obsolete.
+ * i386aix-nat.c: Make file obsolete.
+ * Makefile.in (ALLDEPFILES): Remove i386aix-nat.c.
+ (i386aix-nat.o): Make target obsolete.
+
+ * config/i386/nm-gnu.h: Removed.
+ * config/i386/nm-i386gnu.h: New file.
+ (THREAD_STATE_FLAVOR, THREAD_STATE_SIZE,
+ THREAD_STATE_SET_TRACED, THREAD_STATE_CLEAR_STATE, ATTACH_DETACH):
+ Moved here from ...
+ * config/i386/tm-i386gnu.h: ... here. Removed.
+ * config/i386/xm-i386gnu.h: Removed.
+ * config/i386/i386gnu.mh (XM_FILE): Set to xm-i386.h.
+ (NAT_FILE): Set to nm-i386gnu.h.
+ * config/i386/i386gnu.mt (TDEPFILES): Add i386gnu-tdep.o.
+ * i386-tdep.c: New file.
+ * Makefile.in (ALLDEPFILES): Add i386gnu-nat.c and i386gnu-tdep.c.
+ (i386gnu-tdep.o): Specify dependencies.
+
+
+ * config/i386/tm-i386sco5.h: Include "i386/tm-i386v4.h" instead of
+ "i386/tm-i386.h", "i386/tm-i386v.h" and "config/tm-sysv.h".
+ Adjust a few comments to reflect reality a bit closer.
+ (KERNEL_U_SIZE, TARGET_HAS_HARDWARE_WATCHPOINTS,
+ TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUEABLE_WATCHPOINT,
+ HAVE_STEPPABLE_WATCHPOINT, STOPPED_BY_WATCHPOINT,
+ target_insert_watchpoint, target_remove_watchpoint):
+ Move defines to ...
+ * config/i386/nm-i386sco5.h: ... here.
+ (kernel_u_size): Add prototype. Improve a few comments and add
+ protection against multiple inclusion.
+
+ * config/i386/nm-i386sco.h (FLOAT_INFO): Remove already commented
+ out define.
+
+ * uw-thread.c (SP_ARG0): Define if not already defined.
+ * config/i386/tm-i386.h (SO_ARG0): Remove define.
+
+ * config/i386/tm-i386v4.h (HAVE_I387_REGS): Remove define.
+
+ * config/i386/tm-i386.h: Don't include "regcache.h".
+
+ * i387-tdep.h (i387_print_float_info): New prototype.
+ * i387-tdep.c (print_i387_value, print_i387_ext,
+ print_i387_status_word, print_i387_control_word): Add `struct
+ ui_file *' argument and use it for output.
+ (i387_print_float_info): Renamed from i387_float_info. Add
+ `struct gdbarch *' and `struct ui_file *' arguments and use the
+ latter for output.
+ * i386-tdep.c: Include "i387-tdep.h".
+ (i386_gdbarch_init): Set print_float_info.
+ * config/i386/tm-i386.h (i387_float_info): Remove prototype.
+ (FLOAT_INFO): Remove define.
+
+
+ * mips-tdep.c (mips_push_arguments): Rename to
+ mips_eabi_push_arguments, and tune for EABI.
+ (MIPS_REGS_HAVE_HOME_P): Delete.
+ (struct gdbarch_tdep): Remove mips_regs_have_home_p field.
+ (mips_gdbarch_init): Set gdbarch push_arguments for eabi.
+ Delete references to mips_regs_have_home_p.
+
+
+ * Makefile.in (install-gdbtk): Create insight plugin directory.
+ Install plugins.tcl file.
+
+
+ * configure.in: Move SUBDIRS to near top of the file so that
+ --enable options may add things to it.
+ If gdbtk is enabled, add gdbtk directory to SUBDIRS and configdirs.
+ * configure: Regenerate.
+
+
+ * mips-tdep.c (mips_o32o64_push_arguments): New function,
+ cloned from mips_push_arguments, tuned for o32/o64 ABI.
+ (mips_gdbarch_init): Set gdbarch_push_arguments to new func.
+
+
+ * vax-tdep.c (vax_get_saved_register): Delete function.
+ (vax_gdbarch_init): Update.
+ * ns32k-tdep.c (ns32k_get_saved_register): Delete function.
+ (ns32k_gdbarch_init): Update.
+ * alpha-tdep.c (alpha_get_saved_register): Delete function.
+ (alpha_gdbarch_init): Update.
+
+
+ * regcache.c (init_regcache_descr): Overallocate the
+ raw_register_valid_p array including space for NUM_PSEUDO_REGS.
+ (registers_changed): Replace NUM_REGS+NUM_PSEUDO_REGS with
+ nr_raw_registers.
+ (set_register_cached): Add range checking assertions. Use
+ current_regcache.
+
+
+ * i386-tdep.c (i386_stab_reg_to_regnum): Return correct register
+ numbers for MMX registers.
+
+
+ * i386-tdep.c (i386_gdbarch_init): Use
+ generic_unwind_get_saved_register.
+
+
+ * procfs.c (procfs_can_use_hw_breakpoint): New function.
+ (init_procfs_ops): Define ``to_can_use_hw_breakpoint'' for procfs
+ target vector.
+ * config/mips/nm-irix5.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT):
+ Delete. Add comment regarding this now-deleted target method.
+
+
+ * m68hc11-tdep.c (M68HC12_NUM_PSEUDO_REGS): New define.
+ (M68HC12_HARD_PC_REGNUM): Define specific PC for 68HC12 (pseudo reg).
+ (m68hc11_pseudo_register_read): Compute the 68HC12 PC using the
+ real PC and the page number (if it's within the memory bank window).
+ (m68hc11_pseudo_register_write): Likewise when saving.
+ (m68hc11_register_name): Name the virtual pc 'pc' and the real one ppc.
+ (m68hc11_register_virtual_type): Return uint32 for virtual pc.
+ (m68hc11_register_raw_size): And use 32-bit for it.
+ (m68hc11_gdbarch_init): Use 32-bit address for 68HC12 if the
+ 16K memory bank is used by the prog; also use the virtual pc.
+
+
+ * m68hc11-tdep.c (m68hc11_elf_make_msymbol_special): New function.
+ (m68hc11_gdbarch_init): Install it in gdbarch.
+ (MSYMBOL_SET_RTC, MSYMBOL_SET_RTI): New to set symbol specific flags.
+ (MSYMBOL_IS_RTC, MSYMBOL_IS_RTI): New to test these flags.
+ (MSYMBOL_SIZE): New for documentation.
+ (insn_return_kind): Enum to specify how a function returns.
+ (frame_extra_info): Cleanup and record the return mode.
+ (gdbarch_tdep, USE_PAGE_REGISTER): New to control the use of page
+ register in address computation.
+ (m68hc11_get_return_insn): New to obtain the return instruction used
+ by the function.
+ (m68hc11_frame_init_saved_regs): Take into account the return
+ instruction used by the function for far and interrupt functions.
+ (m68hc11_init_extra_frame_info): Take into account page register.
+ (m68hc11_frame_args_address): Adjust according to the return mode.
+ (show_regs): Print page register only when it's used.
+
+
+ * m68hc11-tdep.c (HARD_PAGE_REGNUM): Define for 68HC12 page register.
+ (M68HC11_LAST_HARD_REG, m68hc11_register_names): Update.
+ (m68hc11_register_virtual_type): Return a 8-bit type for 8-bit
+ registers.
+ (m68hc11_register_raw_size): Likewise.
+
+
+ * i386-tdep.c (i386_register_name): Handle mmx registers.
+ (mmx_regnum_p): New function.
+ (i386_mmx_names): New array.
+ (mmx_num_regs): New variable.
+ (i386_pseudo_register_read): New function.
+ (i386_pseudo_register_write): New function.
+ (mmx_regnum_to_fp_regnum): New function. Code from Fernando Nasser.
+
+ * regcache.c (regcache_raw_read_unsigned): New function.
+ (regcache_raw_read_signed): New function.
+ * regcache.h (regcache_raw_read_unsigned): Declare.
+ (regcache_raw_read_signed): Declare.
+
+
+ * regcache.c (regcache_raw_read_as_address): Delete function.
+ (regcache_cooked_read_signed): New function.
+ (regcache_cooked_read_unsigned): New function.
+ * regcache.h (regcache_cooked_read_signed): Declare.
+ (regcache_cooked_read_unsigned): Declare.
+ (regcache_raw_read_as_address): Delete declaration.
+
+ * blockframe.c (generic_read_register_dummy): Use
+ regcache_cooked_read_unsigned.
+ * i386-tdep.c (i386_extract_struct_value_address): Use
+ regcache_cooked_read_unsigned.
+
+
+ * m68hc11-tdep.c (m68hc11_gdbarch_init): Set int, double and long
+ double sizes according to ELF ABI flags.
+ (gdbarch_tdep): Record elf_flags.
+
+
+ * m68hc11-tdep.c (M6812_OP_PSHX, M6812_OP_PSHY): New defines.
+ (m6812_prolog): They can appear in 68HC12 function prologue.
+ (m68hc11_frame_chain): Cleanup.
+
+
+ * i386-tdep.h (i386_register_byte, i386_register_raw_size): Delete
+ declarations.
+ * i386-linux-tdep.c (i386_linux_register_byte): Delete function.
+ (i386_linux_register_raw_size): Delete function.
+ (i386_linux_init_abi): Update.
+ * i386-tdep.c (i386_register_raw_size): Delete function.
+ (i386_register_byte): Delete function.
+ (i386_gdbarch_init): Update.
+ (i386_register_size): Delete array.
+ (i386_register_offset): Delete array.
+
+ * config/i386/tm-symmetry.h (REGISTER_BYTE): Delete macro.
+ (REGISTER_RAW_SIZE): Delete macro.
+ * config/i386/tm-ptx.h (REGISTER_RAW_SIZE): Delete macro.
+ (REGISTER_BYTE): Delete macro.
+
+
+ * ada-lang.c (ada_lookup_partial_symbol)
+ (to_fixed_variant_branch_type) (find_line_in_linetable): Fix
+ prototype names so that grep ^func works properly.
+
+ * ada-lang.c (ada_array_element_type)
+ (ada_lookup_partial_symbol): Fix typos in parameter list.
+
+ * ada-valprint.c (val_print_packed_array_elements) (ada_val_print_1):
+ Fix prototype names so that grep ^func works properly.
+
+
+ * gdbtypes.c (build_builtin_type_vec128): Set the vector bit.
+ (build_builtin_type_vec128i): Set the vector bit.
+ * gdbtypes.h (builtin_type_vec64, builtin_type_vec64i): Declare.
+ * gdbtypes.c (builtin_type_vec64, builtin_type_vec64i): Define.
+ (build_builtin_type_vec64): New function.
+ (build_builtin_type_vec64i): New function.
+ (build_gdbtypes): Initialize builtin_type_vec64 and
+ builtin_type_vec64i.
+
+
+ * regcache.c (regcache_dump): Compare the register offset
+ with REGISTER_BYTE.
+ * arch-utils.c (generic_register_byte): New function.
+ * arch-utils.h (generic_register_byte): Declare.
+ * gdbarch.sh (REGISTER_BYTE): Default to generic_register_byte.
+ * gdbarch.h, gdbarch.c: Regenerate.
+
+
+ * regcache.c: Include "gdbcmd.h"
+ (_initialize_regcache): Add commands "maintenance print
+ registers", "maintenance print raw-registers" and "maintenance
+ print cooked-registers".
+ (enum regcache_dump_what): Define.
+ (dump_endian_bytes): New function.
+ (regcache_dump): New function.
+ (regcache_print): New function.
+ (maintenance_print_registers): New function.
+ (maintenance_print_raw_registers): New function.
+ (maintenance_print_cooked_registers): New function.
+ * Makefile.in (regcache.o): Update dependencies.
+
+
+ * mips-tdep.c (ROUND_DOWN, ROUND_UP): Move to global scope.
+ (mips_push_arguments): Correct some comments. Use paddr_nz
+ for printing addresses in debug output. Replace static
+ allocation using MAX_REGISTER_RAW_SIZE with alloca.
+ (mips_n32n64_push_arguments): New function, cloned from
+ mips_push_arguments and tuned for the n32/n64 ABI.
+ (mips_push_register): Buffer needs dynamic allocation.
+ (mips_print_register): Ditto.
+ (do_gp_register_row): Ditto.
+ (mips_store_return_value): Ditto.
+ (mips_gdbarch_init): Set gdbarch_push_arguments per ABI.
+
+
+ * memattr.c (mem_info_command): Print special case of upper bound
+ as max CORE_ADDR + 1.
+
+
+ * mips-tdep.c (mips_n32n64_use_struct_convention): N32 only
+ returns structs by ref if they're too big to fit in two registers.
+
+
+ * mips-tdep.c (mips_init_extra_frame_info): Initialize SP_REGNUM's
+ saved regs value.
+ (read_next_frame_reg): Call FRAME_INIT_SAVED_REGS instead of
+ mips_find_saved_regs().
+ (mips_pop_frame): Likewise.
+
+
+ * blockframe.c (frame_saved_regs_register_unwind): Revise
+ PC_IN_CALL_DUMMY assertion to only apply when generic dummy
+ frames are in use.
+
+
+ * remote.c: (remote_wait, remote_async_wait): Add check for awatch
+ T-packets; the 'a' is not taken as a register number.
+ (remote_check_watch_resources, remote_stopped_by_watchpoint)
+ (remote_stopped_data_address): New functions; add to target
+ vector.
+ (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Change
+ prototypes to match other implementations of this
+ function. replace integer argument with pointer -- the length
+ field in the Z-packet is the length of what is pointed to or 1 if
+ pointer is null. Add to target vector.
+ (remote_insert_watchpoint, remote_remove_watchpoint): Add to
+ target vector.
+
+ From Mark Salter:
+ * remote.c (remote_wait): Add support to extract optional
+ watchpoint information from T-packet. Ignore unrecognized
+ optional info in T-packet.
+ (remote_async_wait): Ditto.
+
+
+ * cli/cli-dump.c: Change fopen modes to use binary open modes
+ as defined in include/fopen-bin.h throughout.
+
+
+ * mips-tdep.c: Minor whitespace and indentation clean-ups.
+
+
+ * doublest.c (store_floating): Avoid floatformat_from_doublest()
+ assertion failure by returning early after a warning.
+
+
+ * mips-tdep.c (mips_find_saved_regs): Make static.
+ (mips_frame_init_saved_regs): New function.
+ (mips_gdbarch_init): Setup FRAME_INIT_SAVED_REGS method.
+ * config/mips/tm-mips.h (FRAME_INIT_SAVED_REGS): Delete macro.
+ (mips_find_saved_regs): Delete declaration.
+
+
+ * remote.c (remote_wait, remote_async_wait): Change
+ thread_num from int to ULONGEST.
+ (unpack_varlen_hex): Change result parameter from
+ int * to ULONGEST *.
+
+
+ * configure.tgt: Replace powerpc-*-sysv*, powerpc-*-elf*,
+ powerpcle-*-eabi*, powerpcle-*-sysv* and powerpcle-*-elf* with
+ powerpc*-*-*.
+ * MAINTAINERS: Remove redundant rs6000-ibm-aix4.1 target.
+
+
+ * gcore.c (override_derive_stack_segment): Delete variable.
+ (preempt_derive_stack_segment): Delete function.
+ (derive_stack_segment): Delete function.
+ (default_derive_stack_segment): Renamed to derive_stack_segment.
+ (override_derive_heap_segment): Delete variable.
+ (preempt_derive_heap_segment): Delete function.
+ (derive_heap_segment): Delete function.
+ (default_derive_heap_segment): Rename to derive_heap_segment.
+
+
+ * config/mips/tm-mips.h: Remove #define USE_STRUCT_CONVENTION.
+ * mips-tdep.c (mips_EABI_use_struct_convention,
+ mips_OABI_use_struct_convention, mips_NABI_use_struct_convention):
+ New functions. (mips_use_struct_convention): Delete.
+ (mips_gdbarch_init): set use_gdbarch_convention.
+
+
+ * mips-tdep.c: gdbarch-ify reg_struct_has_addr.
+ (mips_eabi_reg_struct_has_addr, mips_n32n64_reg_struct_has_addr,
+ mips_o32_reg_struct_has_addr): New functions.
+ (mips_gdbarch_init): Set gdbarch reg_struct_has_addr.
+
* regcache.c (pseudo_register): Delete function.