+2007-10-30 Markus Deuling <deuling@de.ibm.com>
+
+ * hppa-tdep.c (hppa_frame_cache): Use get_frame_arch to get at the
+ current architecture by frame_info.
+
+2007-10-30 Markus Deuling <deuling@de.ibm.com>
+
+ * go32-nat.c (fetch_register, go32_fetch_registers, store_register)
+ (go32_store_registers): Use get_regcache_arch to get at the current
+ architecture by regcache.
+
+2007-10-30 Markus Deuling <deuling@de.ibm.com>
+
+ * gdbtypes.c (gdbtypes_post_init): Replace current_gdbarch by gdbarch.
+
+2007-10-30 Markus Deuling <deuling@de.ibm.com>
+
+ * frv-linux-tdep.c (frv_linux_sigtramp_frame_cache): Use get_frame_arch
+ to get at the current architecture by frame_info.
+
+2007-10-30 Markus Deuling <deuling@de.ibm.com>
+
+ * f-lang.c (build_fortran_types): Replace current_gdbarch by gdbarch.
+
+2007-10-30 Markus Deuling <deuling@de.ibm.com>
+
+ * core-regset.c (fetch_core_registers): Use get_regcache_arch to get at
+ the current architecture by regcache.
+
+2007-10-30 Markus Deuling <deuling@de.ibm.com>
+
+ * corelow.c (get_core_registers): Use get_regcache_arch to get at the
+ current architecture by regcache.
+
+2007-10-30 Markus Deuling <deuling@de.ibm.com>
+
+ * bsd-uthread.c (bsd_uthread_fetch_registers)
+ (bsd_uthread_store_registers): Use get_regcache_arch to get at the
+ current architecture by regcache.
+
+2007-10-30 Markus Deuling <deuling@de.ibm.com>
+
+ * avr-tdep.c (avr_frame_unwind_cache, avr_frame_prev_register): Use
+ get_frame_arch to get at the current architecture by frame_info.
+
+2007-10-30 Markus Deuling <deuling@de.ibm.com>
+
+ * arm-tdep.c (arm_get_next_pc): Replace current_gdbarch by gdbarch.
+
+2007-10-30 Markus Deuling <deuling@de.ibm.com>
+
+ * armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register)
+ (store_regs): Use get_regcache_arch to get at the current architecture
+ by regcache.
+
+2007-10-30 Markus Deuling <deuling@de.ibm.com>
+
+ * arm-linux-tdep.c (arm_linux_supply_gregset): Use get_regcache_arch
+ to get at the current architecture by regcache.
+
+2007-10-30 Markus Deuling <deuling@de.ibm.com>
+
+ * alphabsd-nat.c (alphabsd_fetch_inferior_registers)
+ (alphabsd_store_inferior_registers): Use get_regcache_arch to get at
+ the current architecture by regcache.
+
+2007-10-30 Markus Deuling <deuling@de.ibm.com>
+
+ * ada-lang.c (ada_language_arch_info): Replace current_gdbarch by
+ gdbarch.
+
+2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Check the selected
+ soft float and vector ABIs. Support the generic vector ABI for
+ AltiVec types.
+ (do_ppc_sysv_return_value): Likewise. Correct argument types and
+ casts.
+ (ppc64_sysv_abi_push_dummy_call): Assert that floating point is
+ supported.
+ * ppc-tdep.h (enum powerpc_vector_abi): New.
+ (struct gdbarch_tdep): Add soft_float and vector_abi.
+ * rs6000-tdep.c (setpowerpccmdlist, showpowerpccmdlist)
+ (powerpc_soft_float_global, powerpc_vector_strings)
+ (powerpc_vector_abi_global, powerpc_vector_abi_string): New.
+ (rs6000_gdbarch_init): Check for soft-float and vector ABI markings.
+ (set_powerpc_command, show_powerpc_command, powerpc_set_soft_float)
+ (powerpc_set_vector_abi): New.
+ (_initialize_rs6000_tdep): Register "set powerpc" and "show powerpc"
+ commands.
+ * Makefile.in (elf_ppc_h): New.
+ (rs6000-tdep.o): Update.
+
+2007-10-29 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
+
+ * ppc-linux-tdep.c (ppc32_linux_reg_offsets): Corrected
+ swapped offsets and VRSAVE offset.
+ (ppc64_linux_reg_offsets): Corrected swapped offsets.
+ (ppc32_linux_vrregset): Added.
+ (ppc_linux_regset_from_core_section): Added support for
+ .reg-ppc-vmx section.
+ * ppc-tdep.h (ppc_altivec_support_p): Declare.
+ (ppc_supply_vrregset): Declare.
+ (ppc_collect_vrregset): Declare.
+ * rs6000-tdep.c (ppc_altivec_support_p): Added.
+ (ppc_supply_vrregset): Added.
+ (ppc_collect_vrregset): Added.
+ * corelow.c (get_core_registers): Added support for
+ .reg-ppc-vmx section.
+
+2007-10-29 Joel Brobecker <brobecker@adacore.com>
+
+ GDB 6.7.1 released.
+
+2007-10-26 Jim Blandy <jimb@codesourcery.com>
+
+ * ax-gdb.h (expr_to_address_and_size): Delete declaration for
+ deleted function.
+
+ * tracepoint.c (tracepoint_operation): Report the deletion event
+ after we have unlinked the tracepoint from the list, and use the
+ proper tracepoint number.
+
+ * ax-gdb.c (expr_to_agent): Delete unused function.
+ (expr_to_address_and_size): Delete #if 0'd function.
+ * ax-gdb.h (expr_to_agent): Delete declaration.
+
+ * ax-gdb.c (gen_cast): Remove redundant assignment to
+ value->type. Doc fix.
+
+ * ax-general.c (gen_traced_pop, gen_int_literal)
+ (gen_usual_arithmetic): Check for typedefs.
+
+2007-10-26 Joel Brobecker <brobecker@adacore.com>
+
+ * parse.c (prefixify_expression): Minor reformatting.
+
+2007-10-25 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * version.in: Use dot instead of dash.
+
+2007-10-25 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * linux-thread-db.c (check_for_thread_db): Only print if info_verbose.
+
+2007-10-25 Pedro Alves <pedro_alves@portugalmail.pt>
+
+ * memory-map.c (parse_memory_map): Don't use an empty struct
+ initializer.
+
+2007-10-25 Pedro Alves <pedro_alves@portugalmail.pt>
+
+ * signals/signals.c (signals): Update pointer to enum
+ target_signal declaration.
+
+2007-10-25 Wu Zhou <woodzltc@cn.ibm.com>
+ Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
+ Jim Blandy <jimb@codesourcery.com>
+
+ * dwarf2read.c (read_partial_die): check the value
+ of DW_AT_calling_convention in Fortran programs.
+
+2007-10-25 Wu Zhou <woodzltc@cn.ibm.com>
+ Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * c-exp.y (YYSTYPE): Add typed_val_decfloat for decimal
+ floating point in YYSTYPE union.
+ (DECFLOAT) Add token and expression element handling code.
+ (parse_number): Parse DFP constants, which end with suffix 'df',
+ 'dd' or 'dl'. Return DECFLOAT.
+ * eval.c (evaluate_subexp_standard): Call value_from_decfloat to
+ handle OP_DECFLOAT.
+ * expression.h (enum exp_opcode): Add an opcode (OP_DECFLOAT)
+ for DFP constants.
+ (union exp_element): Add decfloatconst to represent DFP
+ elements, which is 16 bytes by default.
+ * parse.c (write_exp_elt_decfloatcst): New function to write a
+ decimal float const into the expression.
+ (operator_length_standard): Set operator length for OP_DECFLOAT
+ to 4.
+ * parser-defs.h (write_exp_elt_decfloatcst): Prototype.
+ * valarith.c (value_neg): Add code to handle the negation
+ operation of DFP values.
+ * value.c (value_from_decfloat): New function to get the value
+ from a decimal floating point.
+ * value.h (value_from_decfloat): Prototype.
+
+2007-10-25 Wu Zhou <woodzltc@cn.ibm.com>
+ Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * c-lang.c (c_create_fundamental_type): Create fundamental
+ types for DFP.
+ * c-typeprint.c (c_type_print_varspec_prefix): Add
+ TYPE_CODE_DECFLOAT to no prefix needed case.
+ (c_type_print_varspec_suffix): Add TYPE_CODE_DECFLOAT to no
+ suffix needed case.
+ * c-valprint.c (c_val_print): Call print_decimal_floating to
+ print DFP values.
+ * dwarf2read.c (read_base_type): Read DW_ATE_decimal_float
+ attribute code and return TYPE_CODE_DECFLOAT.
+ (dwarf_base_type): Set dwarf2_fundamental_type for DFP values.
+ * gdbtypes.c (gdbtypes_post_init): Initialize builtin_decfloat,
+ builtin_decdouble and builtin_declong.
+ * gdbtypes.h (enum type_code): Add TYPE_CODE_DECFLOAT as a
+ type code for DFP.
+ (FT_DECFLOAT, FT_DBL_PREC_DECFLOAT, FT_EXT_PREC_DECFLOAT): New
+ types, for decimal floating point.
+ (FT_NUM_MEMBERS): Increment, new types added.
+ (struct builtin_type): Add builtin_decfloat, builtin_decdouble
+ and builtin_declong.
+ * valprint.c (print_decimal_floating): New function to print DFP
+ values.
+ * value.h (print_decimal_floating): Prototype.
+
+2007-10-25 Wu Zhou <woodzltc@cn.ibm.com>
+ Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * Makefile.in (LIBDECNUMBER_DIR, LIBDECNUMBER, LIBDECNUMBER_SRC
+ LIBDECNUMBER_CFLAGS): New macros for libdecnumber.
+ (INTERNAL_CFLAGS_BASE): Add LIBDECNUMBER_CFLAGS in.
+ (INSTALLED_LIBS): Add -ldecnumber in.
+ (CLIBS): Add LIBDECNUMBER in.
+ (decimal128_h, decimal64_h, decimal32_h): New macros for decimal
+ headers.
+ (dfp_h): New macros for decimal floating point.
+ (dfp.o): New target.
+ (COMMON_OBS): Add dfp.o in.
+ (c-exp.o): Add dfp_h as dependency.
+ (valprint.o): Add dfp_h as dependency.
+ (value.o): Add dfp_h as dependency.
+ * dfp.h: New header file for decimal floating point support in
+ GDB.
+ * dfp.c: New source file for decimal floating point support in
+ GDB. Implement decimal_from_string and decimal_to_string based
+ on libdecnumber API.
+ * configure.ac: Add AC_C_BIGENDIAN test.
+ * config.in, configure: Regenerate.
+
+2007-10-25 David Ung <davidu@mips.com>
+ Maciej W. Rozycki <macro@mips.com>
+
+ PR exp/1926
+ * infcmd.c (registers_info): Check for a user register before
+ calling target's gdbarch_print_registers_info(). If found to be
+ so, extract the implicit value of user register and call
+ print_scalar_formatted().
+ * Makefile.in: (infcmd.o): Add $(user_regs_h).
+
+2007-10-25 Joel Brobecker <brobecker@adacore.com>
+
+ * NEWS: Document status of hppa64-hpux support.
+
+2007-10-24 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * solib-svr4.c (set_solib_svr4_fetch_link_map_offsets): Call
+ set_solib_ops to install SVR4 operations.
+ (_initialize_svr4_solib): Do not set current_target_so_ops.
+
+ * config/i386/i386gnu.mh (NATDEPFILES): Move solib.o, solib-svr4.o ...
+ * config/i386/i386gnu.mt (TDEPFILES): ... to here.
+
+2007-10-24 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * solib-svr4.c (legacy_svr4_fetch_link_map_offsets_hook): Remove.
+ (solib_svr4_init): Initialize fetch_link_map_offsets to NULL.
+ * solib-svr4.h (legacy_svr4_fetch_link_map_offsets_hook): Remove.
+ * solib-legacy.c: Remove file.
+
+ * config/alpha/alpha-linux.mt (TDEPFILES): Remove solib-legacy.o.
+ * config/arm/linux.mt (TDEPFILES): Likewise.
+ * config/i386/i386gnu.mh (NATDEPFILES): Likewise.
+ * config/ia64/linux.mt (TDEPFILES): Likewise.
+ * config/m32r/linux.mt (TDEPFILES): Likewise.
+ * config/powerpc/linux.mt (TDEPFILES): Likewise.
+ * config/s390/s390.mt (TDEPFILES): Likewise.
+
+ * alpha-linux-tdep.c (alpha_linux_init_abi): Call
+ set_solib_svr4_fetch_link_map_offsets.
+ * i386gnu-tdep.c (i386gnu_init_abi): Likewise.
+ * ia64-linux-tdep.c (ia64_linux_init_abi): Likewise.
+
+ * i386gnu-tdep.c: Include "solib-svr4.h".
+ * Makefile.in: Update dependencies.
+
+2007-10-24 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * i386-nto-tdep.c: Include "solib.h".
+ (i386nto_init_abi): Use set_solib_ops instead of overwriting
+ current_target_so_ops members.
+ * solist.h (TARGET_SO_RELOCATE_SECTION_ADDRESSES): Remove.
+ (TARGET_SO_FIND_AND_OPEN_SOLIB): Remove.
+ (TARGET_SO_IN_DYNSYM_RESOLVE_CODE): Remove.
+ * Makefile.in: Update dependencies.
+
+2007-10-24 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * arm-wince-tdep.c: Include "solib.h" and "solib-target.h".
+ (arm_wince_init_abi): Call set_solib_ops.
+ * i386-cygwin-tdep.c: Include "solib.h" and "solib-target.h".
+ (i386_cygwin_init_abi): Call set_solib_ops.
+ * solib-target.c: Include "solib-target.h".
+ (solib_target_so_ops): Make global.
+ (_initialize_solib_target): Do not set current_target_so_ops.
+ * solib-target.h: New file.
+ * Makefile.in: Update dependencies.
+
+2007-10-24 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * mips-irix-tdep.c: Include "gdb_string.h", "solib.h", "solib-irix.h".
+ (mips_irix_init_abi): Call set_solib_ops.
+ * solib-irix.c: Include "solib.h" and "solib-irix.h".
+ (irix_so_ops): Make global.
+ (_initialize_irix_solib): Do not set current_target_so_ops.
+ * solib-irix.h: New file.
+ * Makefile.in: Update dependencies.
+
+2007-10-24 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * configure.tgt: Remove hppa*64*-*-hpux11* special case.
+ * config/pa/hppa64.mt: Delete file.
+ * config/pa/hppahpux.mt (MT_CFLAGS): Remove.
+ (TDEPFILES): Move somread.o to ...
+ * config/pa/hpux.mh (NATDEPFILES): ... here.
+
+ * configure.ac: Add check for elf_hp.h header.
+ Search libdl and libxpdl for dlgetmodinfo.
+ * config.in, configure: Regenerate.
+ * solib-pa64.c: Conditionalize compilation on #ifdef HAVE_ELF_HP_H
+ instead of #ifndef PA_SOM_ONLY. Include "solib.h".
+ (pa64_solib_select): Take gdbarch instead of tdep argument. Call
+ set_solib_ops instead of modifying current_target_so_ops.
+ * solib-pa64.h (pa64_solib_select): Update prototype.
+ * solib-som.c: Remove include of "som.h". Include "solib.h".
+ (som_solib_select): Take gdbarch instead of tdep argument. Call
+ set_solib_ops instead of modifying current_target_so_ops.
+ * solib-som.h (som_solib_select): Update prototype.
+ * hppa-hpux-tdep.c (hppa_hpux_som_init_abi): Pass gdbarch instead
+ of tdep to som_solib_select call.
+ (hppa_hpux_elf_init_abi): Pass gdbarch instead of tdep to
+ pa64_solib_select call.
+ * Makefile.in: Update dependencies.
+
+2007-10-24 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * frv-tdep.c: Include "solib.h".
+ (frv_gdbarch_init): Call set_solib_ops.
+ * frv-tdep.h (struct target_so_ops): Add forward reference.
+ (frv_so_ops): Add extern declaration.
+ * solib-frv.c (frv_so_ops): Make global.
+ (_initialize_frv_solib): Do not set current_target_so_ops.
+ * Makefile.in: Update dependencies.
+
+2007-10-24 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * solib.c (solib_global_lookup): Use solib_ops instead of global
+ current_target_so_ops.
+
+2007-10-24 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/frv/frv.mt (DEPRECATED_TM_FILE): Remove.
+ * config/frv-tm-frv.h: Delete file.
+
+2007-10-24 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * NEWS: Mention gdbserver support for non-libthread_db operation.
+
+2007-10-24 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * amd64-tdep.c (amd64_convert_register_p): Delete.
+ (amd64_init_abi): Use i387_convert_register_p.
+ * alpha-tdep.c (alpha_convert_register_p): Return zero for
+ eight byte types.
+ (alpha_register_to_value, alpha_value_to_register): Do not handle
+ eight byte types.
+ * i386-tdep.c (i386_convert_register_p): Use i387_convert_register_p.
+ * i387-tdep.c (i387_convert_register_p): New.
+ (i387_register_to_value, i387_value_to_register): Update comments.
+ * i387-tdep.h (i387_convert_register_p): Declare.
+ * ia64-tdep.c (ia64_convert_register_p): Return zero for
+ builtin_type_ia64_ext.
+ (ia64_gdbarch_init): Do not initialize builtin_type_ia64_ext here.
+ (_initialize_ia64_tdep): Initialize builtin_type_ia64_ext here.
+ * m68k-tdep.c (m68k_convert_register_p): Return zero for
+ builtin_type_m68881_ext.
+ (m68k_register_to_value, m68k_value_to_register): Update comments.
+
+2007-10-24 Nathan Sidwell <nathan@codesourcery.com>
+
+ * target-memory.c (claim_memory): Propagate baton for split memory
+ requests.
+
+2007-10-24 Pedro Alves <pedro_alves@portugalmail.pt>
+
+ PR gdb/2341
+ * sol-thread.c (sol_thread_fetch_registers): Work around gcc 3.4
+ alias warning bug.
+
+2007-10-24 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
+
+ * symtab.c (find_line_symtab): scan through psymtabs
+ when exact_match is zero.
+
+2007-10-23 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
+
+ * mips-tdep.c (LL_OPCODE, LLD_OPCODE, SC_OPCODE, SCD_OPCODE): Define.
+ (deal_with_atomic_sequence): New.
+ (mips_software_single_step): Use it.
+
+2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
+
+ PR gdb/2336
+ * configure.ac: Modify $LIBINTL before the BFD check.
+ * configure: Regenerated.
+
+2007-10-23 Joel Brobecker <brobecker@adacore.com>
+
+ * buildsym.c (free_pending_blocks): Remove commented-out code.
+ (make_blockvector): Likewise. Re-use free_pending_blocks.
+ (end_symtab): Remove commented-out code.
+
+2007-10-22 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * top.c (command_loop): Fix output for shrinkage.
+
+2007-10-22 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * cp-name-parser.y (exp1): Add & ( var ) as a reference expression.
+ (exp): Remove and document function-like casts.
+
+2007-10-22 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * cp-support.c: Include "safe-ctype.h".
+ (cp_already_canonical): New function.
+ (cp_canonicalize_string): Use it. Return NULL for already canonical
+ strings.
+ (mangled_name_to_comp): Update call to cp_demangled_name_to_comp.
+ (cp_func_name, remove_params): Likewise.
+ (cp_find_first_component_aux): Use ISSPACE.
+ * cp-support.h (cp_demangled_name_to_comp): Correct comment. Remove
+ MEMORY_P argument.
+ * cp-name-parser.y (ALLOC_CHUNK): Define.
+ (struct demangle_info): Add PREV and NEXT. Increase the size of
+ COMPS.
+ (d_grab): Convert to a function.
+ (allocate_info): Rewrite.
+ (cp_demangled_name_to_comp): Remove MEMORY argument. Do not use
+ strlen. Update call to allocate_info. Do not free it on failure.
+ (main): Update calls to cp_demangled_name_to_comp.
+ * Makefile.in (cp-support.o): Update.
+
+2007-10-22 Markus Deuling <deuling@de.ibm.com>
+
+ * std-regs.c (value_of_builtin_frame_fp_reg)
+ value_of_builtin_frame_pc_reg, value_of_builtin_frame_sp_reg)
+ value_of_builtin_frame_ps_reg): Use get_frame_arch to get at the
+ current architecture by frame_info.
+
+2007-10-22 Markus Deuling <deuling@de.ibm.com>
+
+ * reggroups.c (default_register_reggroup_p): Replace current_gdbarch
+ by gdbarch.
+
+2007-10-22 Markus Deuling <deuling@de.ibm.com>
+
+ * infcmd.c (default_print_registers_info, print_return_value)
+ (print_vector_info, print_float_info): Replace current_gdbarch by
+ gdbarch.
+ (registers_info): Use get_frame_arch to get at the current
+ architecture by frame_info.
+
+2007-10-22 Markus Deuling <deuling@de.ibm.com>
+
+ * i387-tdep.c (i387_collect_fsave, i387_collect_fxsave): Use
+ get_regcache_arch to get at the current architecture by regcache.
+
+2007-10-22 Markus Deuling <deuling@de.ibm.com>
+
+ * target.c (debug_print_register): Use get_regcache_arch to get at the
+ current architecture by regcache.
+
+2007-10-21 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * dwarf2read.c (read_file_scope): Add a comment.
+ (dwarf2_add_field, dwarf2_add_member_fn, read_structure_type)
+ (read_enumeration_type, process_enumeration_scope, read_array_type)
+ (read_typedef, read_base_type, read_subrange_type)
+ (read_unspecified_type): Use dwarf2_name.
+
+2007-10-21 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * coffread.c (coff_symfile_finish): Call dwarf2_free_objfile.
+ * dwarf2read.c (dwarf2_free_objfile): New.
+ * elfread.c (elf_symfile_finish): Call dwarf2_free_objfile.
+ * symfile.h (dwarf2_free_objfile): Declare.
+
+2007-10-21 Joel Brobecker <brobecker@adacore.com>
+
+ * hppa-hpux-nat.c (hppa_hpux_store_register): Add missing semi-colon.
+
+2007-10-21 Luis Machado <luisgpm@br.ibm.com>
+
+ * rs6000-tdep.c (ppc_dwarf2_frame_init_reg): New function.
+ * (rs6000_gdbarch_init): Install ppc_dwarf2_frame_init_reg as
+ default dwarf2_frame_set_init_reg function.
+
+2007-10-21 Pedro Alves <pedro_alves@portugalmail.pt>
+
+ * NEWS: Mention native MinGW configuration.
+
+2007-10-19 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * gdbarch.sh: Remove "macro" column of input table. Remove handling
+ of "macro" column throughout the file. Remove (empty) "macro" entry
+ of all gdbarch functions.
+
+2007-10-19 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * gdbarch.sh (sofun_address_maybe_missing): New gdbarch variable.
+ * gdbarch.c, gdbarch.h: Regenerate.
+ * dbxread.c (find_stab_function_addr): Define unconditionally.
+ (read_dbx_symtab): Use gdbarch_sofun_address_maybe_missing
+ instead of SOFUN_ADDRESS_MAYBE_MISSING.
+ (end_psymtab): Likewise.
+ (process_one_symbol): Likewise.
+ * mdebugread.c (parse_partial_symbols): Likewise.
+
+ * symtab.h (struct minimal_symbol): Always define "filename" member.
+ * elfread.c (elf_symtab_read): Use msym->filename unconditionally.
+ * minsyms.c (lookup_minimal_symbol): Likewise.
+ * symmisc.c (dump_msymbols): Likewise.
+
+ * config/i386/i386sol2.mt (DEPRECATED_TM_FILE): Remove.
+ * config/i386/linux.mt (DEPRECATED_TM_FILE): Remove.
+ * config/i386/tm-i386sol2.h: Remove file.
+ * config/i386/tm-linux.h: Remove file.
+ * i386-linux-tdep.c (i386_linux_init_abi): Add call to
+ set_gdbarch_sofun_address_maybe_missing.
+ * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
+
+ * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Remove.
+ * config/powerpc/nbsd.mt (DEPRECATED_TM_FILE): Remove.
+ * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Remove.
+ * config/powerpc/ppc-eabi.mt (DEPRECATED_TM_FILE): Remove.
+ * config/powerpc/ppc-sim.mt (DEPRECATED_TM_FILE): Remove.
+ * config/powerpc/tm-ppc-eabi.h: Remove file.
+ * rs6000-tdep.c (rs6000_gdbarch_init): Add call to
+ set_gdbarch_sofun_address_maybe_missing.
+
+ * config/sparc/sol2-64.mt (DEPRECATED_TM_FILE): Remove.
+ * config/sparc/sol2.mt (DEPRECATED_TM_FILE): Remove.
+ * config/sparc/tm-sol2.h: Remove file.
+ * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Add call to
+ set_gdbarch_sofun_address_maybe_missing.
+ * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Likewise.
+
+2007-10-19 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * gdbarch.sh (static_transform_name): New gdbarch callback.
+ * gdbarch.c, gdbarch.h: Regenerate.
+ * dbxread.c (read_dbx_symtab): Use gdbarch_static_transform_name
+ instead of STATIC_TRANSFORM_NAME.
+ * mdebugread.c (parse_partial_symbols): Likewise.
+ * stabsread.c (define_symbol): Likewise.
+ * xcoffread.c (scan_xcoff_symtab): Likewise.
+
+ * config/i368/tm-i386sol2.h (STATIC_TRANSFORM_NAME): Remove.
+ (IS_STATIC_TRANSFORM_NAME): Remove.
+ * i386-tdep.c (sunpro_static_transform_name): Remove, move to ...
+ * i386-sol2-tdep.c (i386_sol2_static_transform_name): ... here.
+ (i386_sol2_init_abi): Install it.
+
+ * config/sparc/tm-sol2.h (STATIC_TRANSFORM_NAME): Remove.
+ (IS_STATIC_TRANSFORM_NAME): Remove.
+ * sparc-tdep.c (sparc_stabs_unglobalize_name): Remove, move to ...
+ * sparc-sol2-tdep.c (sparc_sol2_static_transform_name): ... here.
+ (sparc32_sol2_init_abi): Install it.
+ * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Likewise.
+ * sparc-tdep.h (sparc_sol2_static_transform_name): Add prototype.
+
+2007-10-18 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * mips-tdep.c (mips_xfer_register): Take a gdbarch argument.
+ (mips_n32n64_return_value, mips_o32_return_value)
+ (mips_o64_return_value): Update calls to mips_xfer_register.
+
+2007-10-17 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * frame.c (frame_unwind_unsigned_register): Delete.
+ (frame_sp_unwind): Use frame_unwind_register_unsigned instead.
+ * frame.h (frame_unwind_unsigned_register): Delete prototype.
+
+ * alpha-linux-tdep.c, alpha-mdebug-tdep.c, alpha-tdep.c,
+ avr-tdep.c, cris-tdep.c, frv-tdep.c, m68hc11-tdep.c, mn10300-tdep.c,
+ mt-tdep.c: Replace frame_unwind_unsigned_register with
+ frame_unwind_register_unsigned.
+
+2007-10-16 Pedro Alves <pedro_alves@portugalmail.pt>
+
+ * config/i386/mingw.mh, config/i386/mingw.mt: New files.
+ * configure.tgt (i[34567]86-*-mingw32*): Set gdb_target = mingw.
+ * win32-nat.c: Only include cygwin.h on Cygwin host. Don't
+ include procfs.h.
+ (cygwin_load_start, cygwin_load_end, cygwin_exceptions): Disable
+ if not building on Cygwin.
+ (win32_make_so, handle_output_debug_string, handle_exception)
+ (do_initial_win32_stuff): Wrap Cygwin specific code in __CYGWIN__.
+ (win32_attach): Only fallback to Cygwin pids if building on
+ Cygwin.
+ (win32_pid_to_exec_file): Disable Cygwin specific code, if not
+ building on Cygwin.
+ (win32_create_inferior): Disable starting the inferior through a
+ shell, environment var processing and tty handling if not building
+ on Cygwin.
+ (cygwin_pid_to_str): Rename to ...
+ (win32_pid_to_str): ... this.
+ (init_win32_ops): Update use of win32_pid_to_str. Disable "shell"
+ and "cygwin-exceptions" commands if not building on Cygwin.
+
+2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
+
+ * doc/gdb.texinfo: Add TSIZE definition, removed
+ statement about unbounded arrays being unimplemented.
+ * m2-valprint.c (m2_print_array_contents): New function.
+ (m2_print_unbounded_array): New function.
+ (m2_print_array_contents): New function.
+ * m2-typeprint.c (m2_unbounded_array): New function.
+ (m2_is_unbounded_array): New function.
+ (m2_print_type): Test for unbounded array when walking
+ across structs.
+ * m2-lang.h: Added extern m2_is_unbounded_array.
+ * m2-lang.c (evaluate_subexp_modula2): New function.
+ (exp_descriptor_modula2): New structure.
+ (m2_language_defn): Use exp_descriptor_modula2.
+ * m2-exp.y: Added TSIZE and binary subscript.
+
+2007-10-16 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * mi/mi-main.c (captured_mi_execute_command): Clear mi_error_message
+ after freeing it.
+
+2007-10-16 Kevin Buettner <kevinb@redhat.com>
+
+ * m32r-tdep.c (decode_prologue): Sign extend offset for
+ "addi sp, xx" case.
+ (m32r_frame_unwind_cache): Likewise.
+
+2007-10-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * rs6000-tdep.c (skip_prologue): Restore comment with
+ function description to its proper place.
+
+2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * NEWS: Mention gdbserver PowerPC improvements.
+
+2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * features/Makefile (WHICH): Add PowerPC register definitions.
+ (rs6000/powerpc-32-expedite, rs6000/powerpc-e500-expedite)
+ (rs6000/powerpc-64-expedite): New macros.
+ ($(outdir)/%.dat): Handle subdirectories.
+ * regformats/rs6000/powerpc-32.dat, regformats/rs6000/powerpc-64.dat,
+ regformats/rs6000/powerpc-e500.dat: New generated files.
+
+2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * ppc-linux-nat.c (ppc_linux_read_description): New.
+ (_initialize_ppc_linux_nat): Set to_read_description.
+ * ppc-tdep.h (tdesc_powerpc_e500): Declare.
+
+2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * NEWS: Document target described register support for PowerPC.
+ * ppc-tdep.h: Remove ppc_spr constants.
+ (struct gdbarch_tdep): Remove regs, ppc_sr0_regnum, and
+ ppc_builtin_type_vec128 members.
+ (PPC_R0_REGNUM, PPC_F0_REGNUM, PPC_PC_REGNUM, PPC_MSR_REGNUM)
+ (PPC_CR_REGNUM, PPC_LR_REGNUM, PPC_CTR_REGNUM, PPC_XER_REGNUM)
+ (PPC_FPSCR_REGNUM, PPC_MQ_REGNUM, PPC_SPE_UPPER_GP0_REGNUM)
+ (PPC_SPE_ACC_REGNUM, PPC_SPE_FSCR_REGNUM, PPC_VR0_REGNUM)
+ (PPC_VSCR_REGNUM, PPC_VRSAVE_REGNUM, PPC_NUM_REGS): New constants.
+ * rs6000-tdep.c: Include preparsed descriptions.
+ (init_sim_regno_table): Do not iterate over pseudo registers.
+ Look up segment registers by name. Use sim_spr_register_name
+ for SPRs.
+ (rs6000_register_sim_regno): Call init_sim_regno_table here.
+ (rs6000_builtin_type_vec128): Delete.
+ (rs6000_register_name): Only handle SPE pseudo registers and upper
+ halves. Call tdesc_register_name for everything else.
+ (rs6000_register_type): Delete. Replace with...
+ (rs6000_pseudo_register_type): ...this new function. Only handle
+ SPE pseudo registers.
+ (rs6000_register_reggroup_p): Delete. Replace with...
+ (rs6000_pseudo_register_reggroup_p): ...this new function. Only
+ handle SPE pseudo registers.
+ (rs6000_convert_register_p): Use ppc_fp0_regnum instead of
+ "struct reg".
+ (rs6000_register_to_value, rs6000_value_to_register): Remove check
+ of reg->fpr.
+ (e500_register_reggroup_p): Delete.
+ (STR, R, R4, R8, R16, F, P8, R32, R64, R0, A4, S, S4, SN4, S64)
+ (COMMON_UISA_REGS, PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS)
+ (PPC_SEGMENT_REGS, PPC_OEA_SPRS, PPC_ALTIVEC_REGS, PPC_SPE_GP_REGS)
+ (PPC_SPE_UPPER_GP_REGS, PPC_EV_PSEUDO_REGS): Delete macros.
+ (registers_powerpc, registers_403, registers_403GC, registers_505)
+ (registers_860, registers_601, registers_602, registers_603)
+ (registers_604, registers_750, registers_7400, registers_e500): Delete
+ variables.
+ (struct variant): Delete nregs, npregs, num_tot_regs, and regs. Add
+ tdesc.
+ (tot_num_registers, num_registers, num_pseudo_registers): Delete.
+ (variants): Delete outdated comment. Use standard target descriptions
+ instead of "struct reg" arrays.
+ (init_variants): Delete.
+ (rs6000_gdbarch_init): Do not guess word size from the BFD
+ architecture if we have a target description. Select a variant
+ before creating a new architecture. Use the variant's target
+ description if the target did not define a register layout.
+ Validate target-supplied registers. Reject mismatches. Use
+ fixed register numbers and new constants instead of magic
+ numbers. Call set_gdbarch_ps_regnum. Call tdesc_use_registers.
+ (_initialize_rs6000_tdep): Initialize the preparsed target
+ descriptions.
+ * target-descriptions.c (tdesc_predefined_types): Add int128 and
+ uint128.
+ (tdesc_find_register_early): New function.
+ (tdesc_numbered_register): Use it.
+ (tdesc_register_size): New function.
+ (tdesc_use_registers): Take a target_desc argument. Do not use
+ gdbarch_target_desc.
+ * target-descriptions.h (tdesc_use_registers): Update prototype
+ and comment.
+ (tdesc_register_size): New prototype.
+ * Makefile.in (powerpc_32_c, powerpc_403_c, powerpc_403gc_c)
+ (powerpc_505_c, powerpc_601_c, powerpc_602_c, powerpc_603_c)
+ (powerpc_604_c, powerpc_64_c, powerpc_7400_c, powerpc_750_c)
+ (powerpc_860_c, powerpc_e500_c, rs6000_c): New macros.
+ (rs6000-tdep.o): Update.
+ * arm-tdep.c (arm_gdbarch_init): Update call to tdesc_use_registers.
+ * m68k-tdep.c (m68k_gdbarch_init): Likewise.
+ * mips-tdep.c (mips_gdbarch_init): Likewise.
+
+2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c,
+ features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c,
+ features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c,
+ features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c,
+ features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c,
+ features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c,
+ features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: New
+ generated files.
+
+2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * features/rs6000/power-altivec.xml, features/rs6000/power-core.xml,
+ features/rs6000/power-fpu.xml, features/rs6000/power-oea.xml,
+ features/rs6000/power-spe.xml, features/rs6000/power64-core.xml: New
+ feature descriptions for standard PowerPC register sets.
+
+ * features/rs6000/powerpc-32.xml, features/rs6000/powerpc-403.xml,
+ features/rs6000/powerpc-403gc.xml, features/rs6000/powerpc-505.xml,
+ features/rs6000/powerpc-601.xml, features/rs6000/powerpc-602.xml,
+ features/rs6000/powerpc-603.xml, features/rs6000/powerpc-604.xml,
+ features/rs6000/powerpc-64.xml, features/rs6000/powerpc-7400.xml,
+ features/rs6000/powerpc-750.xml, features/rs6000/powerpc-860.xml,
+ features/rs6000/powerpc-e500.xml, features/rs6000/rs6000.xml: New
+ target descriptions for PowerPC processors.
+
+2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * target-descriptions.c (tdesc_predefined_types): New.
+ (tdesc_named_type): Use it.
+ (tdesc_type_id, maint_print_c_tdesc_cmd): New functions.
+ (_intialize_target_descriptions): Register "maint print c-tdesc".
+ * features/Makefile (XMLTOC, CFILES, GDB): New macros.
+ (cfiles, %.c): New rules.
+ * features/arm-with-iwmmxt.c, features/mips-linux.c,
+ features/mips64-linux.c: New generated files.
+
+ * arm-linux-nat.c: Include preparsed description instead of
+ "xml-support.h".
+ (super_xfer_partial, arm_linux_xfer_partial): Remove.
+ (arm_linux_read_description): New function.
+ (_initialize_arm_linux_nat): Set to_read_description instead of
+ to_xfer_partial. Initialize preparsed description.
+ * config/arm/linux.mh (TDEP_XML): Delete.
+ * mips-linux-nat.c: Include preparsed descriptions instead of
+ "xml-support.h".
+ (super_xfer_partial, mips_linux_xfer_partial): Remove.
+ (mips_linux_read_description): New function.
+ (_initialize_mips_linux_nat): Set to_read_description instead of
+ to_xfer_partial. Initialize preparsed description.
+ * config/mips/linux.mh (TDEP_XML): Delete.
+ * Makefile.in (XMLFILES): Remove $(TDEP_XML).
+ (features_headers, arm_with_iwmmxt_c, mips_linux_c)
+ (mips64_linux_c): New macros.
+ (arm-linux-nat.o, mips-linux-nat.o): Update.
+
+2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * cp-abi.c (set_cp_abi_as_auto_default): ARI fix:
+ Replace xasprintf by xstrprintf.
+ symfile-mem.c (add_vsyscall_page): Ditto.
+
+2007-10-12 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * ia64-linux-nat.c (ia64_register_addr): Add gdbarch parameter,
+ replacing use of global current_gdbarch.
+ (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise.
+ (ia64_linux_fetch_register, ia64_linux_store_register): Update callers.
+
+ * ia64-tdep.c (SIGCONTEXT_REGISTER_ADDRESS): Remove macro.
+ (ia64_sigtramp_frame_init_saved_regs): Add next_frame parameter,
+ replace uses of SIGCONTEXT_REGISTER_ADDRESS.
+ (ia64_sigtramp_frame_cache): Update caller.
+
2007-10-12 Ulrich Weigand <uweigand@de.ibm.com>
* gdbarch.sh (deprecated_use_struct_convention): Remove.