* Makefile.in (mips-tdep.o): Update.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 8912582dde6191f92761a5b7540d7b6f39ed730f..fe09eb5d25e87d1f2176c9565da5e652adb5e10f 100644 (file)
@@ -1,3 +1,260 @@
+2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (mips-tdep.o): Update.
+       * mips-tdep.c (struct register_alias, mips_o32_aliases)
+       (mips_n32_n64_aliases, mips_register_aliases): New.
+       (mips_register_name): Call tdesc_register_name.
+       (mips_tdesc_register_reggroup_p): New.
+       (mips_pseudo_register_type, value_of_mips_user_reg): New.
+       (mips_gdbarch_init): Add target-described register support.
+       Register aliases for register names.
+       * target-descriptions.c (tdesc_register_name): Make global.
+       (tdesc_register_in_reggroup_p): New function, broken out from
+       tdesc_register_reggroup_p.
+       (tdesc_register_reggroup_p): Use it.
+       * target-descriptions.h (tdesc_register_name)
+       (tdesc_register_in_reggroup_p): New prototypes.
+       * NEWS: Correct formatting.  Mention MIPS register support.
+       * features/mips-cp0.xml, features/mips-fpu.xml,
+       features/mips64-cp0.xml, gdb/features/mips64-fpu.xml, mips-cpu.xml,
+       features/mips64-cpu.xml: New files.
+
+2007-06-13  Markus Deuling  <deuling@de.ibm.com>
+
+       * gdbarch.sh (TARGET_ADDR_BIT): Replace by gdbarch_addr_bit.
+       * valops.c (value_cast): Likewise.
+       * utils.c (strlen_paddr, paddr, paddr_nz, paddress): Likewise.
+       * ui-out.c (ui_out_field_core_addr): Likewise.
+       * tracepoint.c (tracepoints_info): Likewise.
+       * symtab.c (print_msymbol_info): Likewise.
+       * solib-irix.c (irix_current_sos)
+       (irix_open_symbol_file_object): Likewise.
+       * remote.c (build_remote_gdbarch_data): Likewise.
+       * prologue-value.c (make_pv_area): Likewise.
+       * procfs.c (info_mappings_callback): Likewise.
+       * printcmd.c (print_scalar_formatted)
+       (deprecated_print_address_numeric): Likewise.
+       * memattr.c (mem_info_command): Likewise.
+       * linux-nat.c (linux_nat_info_proc_cmd): Likewise.
+       * gdbtypes.c (build_flt, gdbtypes_post_init): Likewise.
+       * exec.c (print_section_info): Likewise.
+       * dwarf2read.c (read_subrange_type): Likewise.
+       * dwarf2loc.c (find_location_expression): Likewise.
+       * dwarf2expr.c (dwarf2_read_address, unsigned_address_type)
+       (signed_address_type, execute_stack_op): Likewise.
+       * breakpoint.c (print_one_breakpoint, breakpoint_1): Likewise.
+       * gdbarch.c, gdbarch.h: Regenerate.
+
+2007-06-13  Markus Deuling  <deuling@de.ibm.com>
+
+       * gdbarch.sh (TARGET_ARCHITECTURE): Replace by gdbarch_bfd_arch_info.
+       * arch-utils.c (show_architecture): Likewise.
+       * remote-mips.c (mips_open): Likewise
+       * nto-tdep.c (nto_find_and_open_solib)
+       (nto_init_solib_absolute_prefix): Likewise.
+       * nto-procfs (procfs_open): Likewise.
+       * m68hc11-tdep.c (gdb_print_insn_m68hc11): Likewise.
+       * gcore.c (default_gcore_mach, default_gcore_arch): Likewise.
+       * gdbarch.c, gdbarch.h: Regenerate.
+
+2007-06-13  Markus Deuling  <deuling@de.ibm.com>
+
+       * gdbarch.sh (TARGET_BFD_VMA_BIT): Replace by gdbarch_bfd_vma_bit.
+       * gdbtypes.c (build_flt): Likewise.
+       * gdbarch.c, gdbarch.h: Regenerate.
+
+2007-06-13  Markus Deuling  <deuling@de.ibm.com>
+
+       * gdbarch.sh (BREAKPOINT_FROM_PC): Replace by
+       gdbarch_breakpoint_from_pc.
+       * s390-tdep.c (s390_gdbarch_init): Likewise (comment).
+       * remote.c (remote_insert_breakpoint)
+       (remote_insert_hw_breakpoint): Likewise.
+       * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
+       * mips-tdep.c (mips_breakpoint_from_pc): Likewise (comment).
+       * breakpoint.h (bp_target_info): Likewise (comment).
+       * breakpoint.c (read_memory_nobpt): Likewise.
+       * mem-break.c (default_memory_insert_breakpoint): Likewise.
+       (symtab.h, breakpoint.h): Remove include. Remove unnecessary comment.
+       * gdbarch.c, gdbarch.h: Regenerate.
+
+2007-06-13  Markus Deuling  <deuling@de.ibm.com>
+
+       * gdbarch.sh (TARGET_PTR_BIT): Replace with gdbarch_ptr_bit.
+       * solib-svr4.c (svr4_truncate_ptr): Likewise.
+       * solib-pa64.c (read_dynamic_info): Likewise.
+       * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise.
+       * solib.c (info_sharedlibrary_command): Likewise.
+       * s390-nat.c (SUBOFF): Likewise.
+       * p-valprint.c (pascal_val_print): Likewise.
+       * procfs.c (info_proc_mappings): Likewise.
+       * printcmd.c (decode_format): Likewise.
+       * nto-tdep.c (nto_truncate_ptr): Likewise.
+       * mips-linux-tdep.c (mips_linux_get_longjmp_target)
+       (mips64_linux_get_longjmp_target): Likewise.
+       * m68k-tdep.c (m68k_get_longjmp_target): Likewise.
+       * jv-valprint.c (java_value_print): Likewise.
+       * jv-lang.c (get_java_object_header_size): Likewise.
+       * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Likewise.
+       * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
+       (hppa_hpux_unwind_adjust_stub): Likewise.
+       * gnu-v3-abi.c (build_gdb_vtable_type): Likewise.
+       * gdbtypes.c (make_pointer_type, make_reference_type)
+       (smash_to_memberptr_type): Likewise.
+       * gdbarch.c, gdbarch.h: Regenerate.
+
+2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * mips-tdep.c (mips_print_register): Remove unused ALL argument.
+       (print_gp_register_row): Stop before printing a register bigger
+       than the ABI register size.
+       (mips_print_registers_info): Update call to mips_print_register.
+
+2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * expression.h (enum exp_opcode): Document a register name for
+       OP_REGISTER.
+       * parse.c (write_dollar_variable): Write the register name for
+       OP_REGISTER.
+       (operator_length_standard): Expect the register name following
+       OP_REGISTER.
+       * ada-lang.c (resolve_subexp): Likewise.
+       * ax-gdb.c (gen_expr): Likewise.
+       * eval.c (evaluate_subexp_standard): Likewise.
+       * expprint.c (print_subexp_standard, dump_subexp_body_standard):
+       Likewise.
+       * tracepoint.c (encode_actions): Likewise.
+
+2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * utils.c (set_screen_size): Use INT_MAX for default columns.
+
+2007-06-13  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * remote.c (remote_protocol_features): Add qXfer:spu:read and
+       qXfer:spu:write packet types.
+
+2007-06-12  Markus Deuling  <deuling@de.ibm.com>
+
+       * gdbarch.sh (DEPRECATED_STACK_ALIGN): Remove.
+       * gdbarch.c, gdbarch.h: Regenerate.
+
+2007-06-12  Markus Deuling  <deuling@de.ibm.com>
+
+       * gdbarch.sh (STAB_REG_TO_REGNUM): Replace by
+       gdbarch_stab_reg_to_regnum.
+       * stabsread.c (define_symbol): Likewise.
+       * gdbarch.sh (ECOFF_REG_TO_REGNUM): Replace by
+       gdbarch_ecoff_reg_to_regnum.
+       * mdebugread.c (parse_symbol): Likewise.
+       * i386-tdep.c (i386_gdbarch_init): Likewise (comment).
+       * gdbarch.sh (DWARF_REG_TO_REGNUM): Replace by
+       gdbarch_dwarf_reg_to_regnum.
+       * gdbarch.sh (SDB_REG_TO_REGNUM): Replace by gdbarch_sdb_reg_to_regnum.
+       * coffread.c (process_coff_symbol): Likewise.
+       * gdbarch.sh (DWARF2_REG_TO_REGNUM): Replace by
+       gdbarch_dwarf2_reg_to_regnum.
+       * dwarf2loc.c (dwarf_expr_read_reg,dwarf2_evaluate_loc_desc)
+       (locexpr_describe_location): Likewise.
+       * dwarf2-frame.c (read_reg,execute_cfa_program,dwarf2_frame_cache)
+       (dwarf2_frame_prev_register,dwarf2_signal_frame_this_id): Likewise.
+       * dwarf2loc.c (DWARF2_REG_TO_REGNUM): Remove macro.
+       * dwarf2read.c (DWARF2_REG_TO_REGNUM): Remove macro.
+       * gdbarch.c, gdbarch.h: Regenerate.
+
+2007-06-12  Markus Deuling  <deuling@de.ibm.com>
+
+       * gdbarch.sh (SMASH_TEXT_ADDRESS): Replace by
+       gdbarch_smash_text_address.
+       * somread.c (som_symtab_read): Likewise.
+       * elfread.c (record_minimal_symbol): Likewise.
+       * dbxread.c (process_one_symbol): Likewise.
+       * coffread.c (coff_symtab_read): Likewise.
+       * gdbarch.c, gdbarch.h: Regenerate.
+
+2007-06-12  Markus Deuling  <deuling@de.ibm.com>
+
+       * gdbarch.sh (REGISTER_TO_VALUE): Replace by gdbarch_register_to_value.
+       * findvar.c (value_from_register): Likewise.
+       * gdbarch.sh (VALUE_TO_REGISTER): Replace by gdbarch_value_to_register.
+       * valops.c (value_assign): Likewise.
+       * gdbarch.sh (CONVERT_REGISTER_P): Replace by
+       gdbarch_convert_register_p.
+       * findvar.c (value_from_register): Likewise.
+       * valops.c (value_assign): Likewise.
+       * gdbarch.c, gdbarch.h: Regenerate.
+
+2007-06-12  Markus Deuling  <deuling@de.ibm.com>
+
+       * gdbarch.sh (REGISTER_SIM_REGNO): Replace by
+       gdbarch_register_sim_regno.
+       * sim-regno.h (sim_regno): Likewise (comment).
+       * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Likewise.
+       * gdbarch.c, gdbarch.h: Regenerate.
+
+2007-06-12  Markus Deuling  <deuling@de.ibm.com>
+
+       * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Replace by
+       gdbarch_virtual_frame_pointer.
+       * tracepoint.c (encode_actions): Likewise.
+       * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Likewise.
+       * ax-gdb.c (gen_frame_args_address, gen_frame_locals_address): Likewise.
+       * gdbarch.c, gdbarch.h: Regenerate.
+
+2007-06-12  Markus Deuling  <deuling@de.ibm.com>
+
+       * gdbarch.sh (TARGET_FLOAT_BIT): Replace by gdbarch_float_bit.
+       * p-lang.c (pascal_create_fundamental_type): Likewise.
+       * objc-lang.c (objc_create_fundamental_type): Likewise.
+       * mdebugread.c (_initialize_mdebugread): Likewise.
+       * m2-lang.c (m2_create_fundamental_type)
+       (_initialize_m2_language): Likewise.
+       * gdbtypes.c (build_gdbtypes): Likewise.
+       * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
+       * doublest.c (floatformat_from_length): Likewise.
+       * c-lang.c (c_create_fundamental_type): Likewise.
+       * ada-lang.c (ada_create_fundamental_type)
+       (ada_language_arch_info): Likewise.
+       * gdbarch.sh (TARGET_FLOAT_FORMAT): Replace by gdbarch_float_format.
+       * value.c (unpack_double): Likewise (comment).
+       * gdbtypes.c (build_gdbtypes): Likewise.
+       * doublest.c (floatformat_from_length): Likewise.
+       * gdbarch.sh (TARGET_DOUBLE_BIT): Replace by gdbarch_double_bit.
+       * valarith.c (value_binop): Likewise.
+       * p-lang.c (pascal_create_fundamental_type): Likewise.
+       * objc-lang.c (objc_create_fundamental_type): Likewise.
+       * mdebugread.c (_initialize_mdebugread): Likewise.
+       * m2-lang.c (m2_create_fundamental_type): Likewise.
+       * gdbtypes.c (build_gdbtypes): Likewise.
+       * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
+       * doublest.c (floatformat_from_length): Likewise.
+       * cris-tdep.c (cris_gdbarch_init): Likewise (comment).
+       * c-lang.c (c_create_fundamental_type): Likewise.
+       * ada-lex.l (processReal): Likewise.
+       * ada-lang.c (ada_create_fundamental_type)
+       (ada_language_arch_info): Likewise.
+       * gdbarch.sh (TARGET_DOUBLE_FORMAT): Replace by gdbarch_double_format.
+       * value.c (unpack_double): Likewise (comment).
+       * gdbtypes.c (build_gdbtypes): Likewise.
+       * doublest.c (floatformat_from_length): Likewise.
+       * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Replace by
+       gdbarch_long_double_bit.
+       * p-lang.c (pascal_create_fundamental_type): Likewise.
+       * objc-lang.c (objc_create_fundamental_type): Likewise.
+       * m2-lang.c (m2_create_fundamental_type): Likewise.
+       * gdbtypes.c (build_gdbtypes): Likewise.
+       * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
+       * doublest.c (floatformat_from_length): Likewise.
+       * c-lang.c (c_create_fundamental_type): Likewise.
+       * ada-lex.l (processReal): Likewise.
+       * ada-lang.c (ada_create_fundamental_type)
+       (ada_language_arch_info): Likewise.
+       * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Replace by
+       gdbarch_long_double_format.
+       * gdbtypes.c (build_gdbtypes): Likewise.
+       * doublest.c (floatformat_from_length): Likewise.
+       * gdbarch.c, gdbarch.h: Regenerate.
+
 2007-06-12  Markus Deuling  <deuling@de.ibm.com>
 
        * gdbarch.sh (TARGET_SHORT_BIT): Replace by gdbarch_int_bit.
This page took 0.028564 seconds and 4 git commands to generate.