+2007-12-21 Paul N. Hilfinger <hilfinger@adacore.com>
+
+ * ada-lang.h (ada_renaming_category): New enumerated type.
+ (ada_lookup_encoded_symbol): Declare.
+ (ada_parse_renaming): Declare.
+ (ada_renaming_type,ada_is_object_renaming)
+ (ada_simple_renamed_entity): Delete declarations.
+ * ada-lang.c (ada_parse_renaming): New function to concentrate
+ extraction of information from renaming symbols.
+ (parse_old_style_renaming): New function to concentrate
+ extraction of old-style (purely type-based) renaming information.
+ (renaming_is_visible): Rename to...
+ (old_renaming_is_invisible): Rename and change sense of
+ renaming_is_visible.
+ (remove_out_of_scope_renamings): Rename to...
+ (remove_irrelevant_renamings): Renames remove_out_of_scope_renamings
+ and augments with additional logic to handle cases where the same
+ object renaming is encoded both as a reference variable and an
+ encoded renaming.
+ (ada_renaming_type,ada_is_object_renaming)
+ (ada_simple_renamed_entity): Delete definitions.
+ (ada_lookup_encoded_symbol): New function factored out of
+ ada_lookup_symbol.
+ (ada_lookup_symbol): Reimplement to call ada_lookup_encoded_symbol.
+ (wild_match): Don't reject perfect match of prefix.
+ (ada_find_renaming_symbol): Factor old-style renaming logic into
+ find_old_style_renaming_symbol.
+ (find_old_style_renaming_symbol): New name for content of old
+ ada_find_renaming_symbol.
+ (ada_prefer_type): Reimplement not to use ada_renaming_type.
+ * ada-exp.y (write_object_renaming): Change interface. Reimplement
+ to use new arguments and ada_parse_renaming.
+ Correct blocks used to find array index.
+ (write_var_or_type): Reimplement to use ada_parse_renaming.
+
+2007-12-21 Denis Pilat <denis.pilat@st.com>
+
+ * tui/tui-data.h (MAX_LOCATOR_ELEMENT_LEN): Defined to a bigger
+ value or to PATH_MAX when possible.
+
+2007-12-20 Joel Brobecker <brobecker@adacore.com>
+
+ * rs6000-tdep.h: Remove defs.h #include.
+ * Makefile.in (rs6000_tdep_h): Update dependencies.
+
+2007-12-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * gdbtypes.c (gdbtypes_post_init): Change names of decimal float types
+ to conform to C extension for decimal float.
+ * c-lang.c (enum c_primitive_types): Add entries for Decimal Floating
+ Point types.
+ (enum cplus_primitive_types): Likewise.
+ (c_language_arch_info): Add Decimal Floating Point builtin types to
+ the primitive_type_vector.
+ (cplus_language_arch_info): Likewise.
+
+2007-12-20 David Ung <davidu@mips.com>
+ Maciej W. Rozycki <macro@mips.com>
+
+ * mips-tdep.c (mips_n32n64_push_dummy_call): Sign-extend
+ integers and 32-bit pointers as required by the ABI.
+
+2007-12-20 Joel Brobecker <brobecker@adacore.com>
+
+ * symtab.h: Remove "defs.h" #include.
+ * Makefile.in (symtab_h): Update dependencies.
+
+2007-12-19 Joel Brobecker <brobecker@adacore.com>
+
+ * symtab.h: #include "defs.h".
+ (enum language): Remove opaque declaration.
+ * Makefile.in (symtab_h): Update dependencies.
+
+2007-12-19 Joel Brobecker <brobecker@adacore.com>
+
+ * language.h (enum exp_opcode): Remove commented out forward
+ declaration.
+ (op_error): Delete declaration.
+
+2007-12-19 Joel Brobecker <brobecker@adacore.com>
+
+ * infrun.c (handle_inferior_event): Fix spelling in comment.
+
+2007-12-18 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * minsyms.c (lookup_minimal_symbol): Also check the separate
+ debug objfile.
+ (lookup_minimal_symbol_text): Likewise.
+ (lookup_minimal_symbol_solib_trampoline): Likewise.
+ * symtab.c (lookup_global_symbol_from_objfile): Likewise.
+
+2007-12-18 Vladimir Prus <vladimir@codesourcery.com>
+
+ * mi/mi-main.c (mi_cmd_list_features): Announce
+ the 'pending-breakpoints' feature.
+
+2007-12-17 Jim Blandy <jimb@codesourcery.com>
+
+ * dwarf2read.c (dwarf2_add_field): Correctly scale all byte
+ offsets obtained from DW_AT_data_member_location before recording
+ them in FIELD_BITPOS (*fp).
+
+ * dwarf2read.c (attr_form_is_section_offset): Doc fixes.
+
+2007-12-17 Nigel Stephens <nigel@mips.com>
+ Maciej W. Rozycki <macro@mips.com>
+
+ * utils.c (string_to_core_addr): If the executable format
+ indicates that addresses should be sign-extended and there are
+ only 8 hex digits in the address, then do so.
+ * Makefile.in (utils.o): Depend on $(gdbcore_h).
+
+2007-12-17 Chris Dearman <chris@mips.com>
+
+ * symfile.c (init_filename_language_table): Recognise .sx as
+ an assembler file.
+
+2007-12-17 Joel Brobecker <brobecker@adacore.com>
+
+ * language.h (enum exp_opcode): Comment out this declaration,
+ undoing the previous change.
+
+2007-12-17 Luis Machado <luisgpm@br.ibm.com>
+
+ * breakpoint.c: (watch_command_1): Parse additional optional
+ "thread" parameter to the watchpoint command and set the
+ "thread" member of the breakpoint struct.
+
+2007-12-17 Luis Machado <luisgpm@br.ibm.com>
+
+ * breakpoint.c (bpstat_stop_status): Check an additional
+ condition before evaluating an expression value.
+
+2007-12-17 Joel Brobecker <brobecker@adacore.com>
+
+ * language.h (enum exp_opcode): Add forward declaration.
+ (language_string_char_type, language_lookup_primitive_type_by_name):
+ Move declaration past declaration of language_defn.
+
+2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
+ Joseph Myers <joseph@codesourcery.com>
+
+ * configure.ac: Check for *-*-solaris2.1[[0-9]]* instead of
+ *-*-solaris2.1[[0-9]].
+ * configure: Regenerate.
+ * procfs.c (proc_set_current_signal): If redelivering a signal,
+ reuse the current siginfo if possible.
+
+2007-12-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * f-typeprint.c (print_equivalent_f77_float_type): Remove function.
+ (f_type_print_base): Output the type names directly for real and
+ complex types.
+
+2007-12-16 Vladimir Prus <vladimir@codesourcery.com>
+
+ * breakpoint.c (bpstat_have_active_hw_watchpoints):
+ Remove
+ (bpstat_stop_status): Remove unused variable
+ real_breakpoint.
+ * breakpoint.h (bpstat_have_active_hw_watchpoints):
+ Remove prototype.
+
+2007-12-16 Vladimir Prus <vladimir@codesourcery.com>
+
+ * target.h (target_pid_or_tid_to_str): Remove.
+ * infrun.c (handle_inferior_event):
+ Use target_pid_to_str instead of
+ target_pid_or_tid_to_str.
+ (normal_stop): Likewise.
+
+2007-12-16 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2read.c (dwarf_attr_name): Rename `DW_AT_stride_size' to its
+ DWARF3 equivalent `DW_AT_bit_stride'.
+ Rename `DW_AT_stride' to its DWARF3 equivalent `DW_AT_byte_stride'.
+
+2007-12-16 Joel Brobecker <brobecker@adacore.com>
+
+ * mi/mi-main.c: Remove code that was commented out in 1999.
+
+2007-12-16 Joel Brobecker <brobecker@adacore.com>
+
+ * expression.h (parse_expression_in_context): Delete prototype.
+ * parse.c (parse_expression_in_context): Delete.
+
+2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
+
+ Add support for pending breakpoints in MI.
+ * gdb.h (gdb_breakpoint): Add parameter pending.
+ * breakpoint.c (gdb_breakpoint): Add parameter pending.
+ * mi/mi-cmd-break.c (mi_break_insert): Change
+ comment to refer to manual. Add support for
+ the -f flag, for pending breakpoint.
+
+2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
+
+ * breakpoint.c (break_command_really): New, copied
+ from break_command_1. New parameters COND_STRING, THREAD
+ PARSE_CONDITITION_AND_THREAD and PENDING_BREAK_SUPPORT.
+ The previous FLAG parameter split into TEMPFLAG and
+ HARDWAREFLAG.
+ When PARSE_CONDITION_AND_THREAD is not set, duplicate
+ the passed condition string.
+ (struct captured_breakpoint_args): Remove
+ (do_captured_breakpoint): Remove.
+ (break_command_1): Relay to break_command_really.
+ (gdb_breakpoint): Relay to break_command_really.
+
+2007-12-13 Michael Snyder <msnyder@specifix.com>
+
+ * mips-linux-tdep.c (mips64_fill_gregset): Remove unused variable.
+
+2007-12-13 Jim Blandy <jimb@codesourcery.com>
+
+ * dwarf2read.c (attr_form_is_constant): New function.
+ (dwarf2_add_field): Use it and attr_form_is_section_offset to
+ recognize DW_AT_data_member_location attributes. Use
+ dwarf2_get_attr_constant_value when the attribute is a constant.
+
+ * dwarf2read.c (attr_form_is_section_offset): New function.
+ (dwarf_add_member_fn, read_common_block, read_partial_die)
+ (dwarf2_symbol_mark_computed): Use it, instead of writing it out.
+
+2007-12-12 Jim Blandy <jimb@codesourcery.com>
+
+ Remove unused support for target-based exception catching.
+ * target.h (struct target_ops): Delete
+ to_enable_exception_callback and to_get_current_exception_event
+ members.
+ (target_enable_exception_callback)
+ (target_get_current_exception_event): Delete macros.
+ * target.c (update_current_target): Remove code to inherit and
+ default those members.
+ (debug_to_enable_exception_callback)
+ (debug_to_get_current_exception_event): Delete functions.
+ (setup_target_debug): Don't install those methods.
+ * inf-child.c (inf_child_enable_exception_callback)
+ (inf_child_get_current_exception_event): Delete dummy functions.
+ (inf_child_target): Don't install them in the target vector.
+ * breakpoint.h (enum bptype): Delete bp_catch_catch,
+ bp_catch_throw.
+ * breakpoint.c (cover_target_enable_exception_callback)
+ (ep_is_exception_catchpoint, create_exception_catchpoint): Delete
+ functions.
+ (insert_bp_location, update_breakpoints_after_exec)
+ (remove_breakpoint, ep_is_catchpoint, print_it_typical)
+ (bpstat_stop_status, bpstat_what)
+ (bpstat_get_triggered_catchpoints, print_one_breakpoint_location)
+ (user_settable_breakpoint, allocate_bp_location)
+ (disable_watchpoints_before_interactive_call_start)
+ (enable_watchpoints_after_interactive_call_stop, mention)
+ (delete_breakpoint, breakpoint_re_set_one, disable_command)
+ (enable_command): Remove exception catchpoint cases.
+ (catch_exception_command_1): Don't try target-based exception
+ handling.
+ * stack.c (catch_info): Call print_frame_label_vars
+ unconditionally.
+
+2007-12-12 Nigel Stephens <nigel@mips.com>
+ Maciej W. Rozycki <macro@mips.com>
+
+ * remote-mips.c (mips_load): Use regcache_set_valid_p() instead
+ of setting deprecated_register_valid array directly.
+
+2007-12-07 Maciej W. Rozycki <macro@mips.com>
+
+ * mips-tdep.c (extended_offset): Fix a comment.
+
+2007-12-07 Maciej W. Rozycki <macro@mips.com>
+
+ * target.c (update_current_target): Inherit to_log_command.
+ * target.h (struct target_ops). Add to_log_command.
+ (target_log_command): New macro.
+ * top.c (execute_command): Call target_log_command() rather than
+ serial_log_command().
+ * monitor.c (init_base_monitor_ops): Initialize to_log_command.
+ * remote-m32r-sdi.c (init_m32r_ops): Likewise.
+ * remote-mips.c (_initialize_remote_mips): Likewise.
+ * remote.c (init_remote_ops): Likewise.
+
+2007-12-06 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * infrun.c (init_wait_for_inferior): Reset target_last_wait_ptid.
+ (handle_inferior_event): Clear stop_stack_dummy earlier.
+
+2007-12-06 Jim Blandy <jimb@codesourcery.com>
+
+ * addrmap.c (addrmap_splay_tree_remove): New function.
+ (addrmap_mutable_set_empty): Use it.
+
+ * addrmap.c, addrmap.h: Update to GPLv3.
+
+ * addrmap.c (struct addrmap): Make the referenced function table
+ const.
+ (addrmap_fixed_funcs, addrmap_mutable_funcs): Declare const.
+ Don't use designated initializers.
+
+ * addrmap.c (addrmap_fixed_create_fixed, addrmap_mutable_find)
+ (addrmap_mutable_relocate): Use internal_error, not abort.
+
+ * NEWS: Mention support for non-contiguous lexical blocks and
+ function bodies.
+
+2007-12-06 Markus Deuling <deuling@de.ibm.com>
+
+ * gdbarch.sh (stab_reg_to_regnum, dwarf_reg_to_regnum)
+ ( dwarf2_reg_to_regnum, sdb_reg_to_regnum, ecoff_reg_to_regnum): Add
+ gdbarch as parameter.
+ * gdbarch.{c,h}: Regenerate.
+
+ * xtensa-tdep.c (xtensa_reg_to_regnum): Add gdbarch as parameter.
+ Replace current_gdbarch by gdbarch.
+ * s390-tdep.c (s390_dwarf_reg_to_regnum): Likewise.
+ * rs6000-tdep.c (rs6000_stab_reg_to_regnum)
+ (rs6000_dwarf2_reg_to_regnum): Likewise.
+ * mips-tdep.c (mips_stab_reg_to_regnum)
+ (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Likewise.
+ * mep-tdep.c (mep_debug_reg_to_regnum): Likewise.
+ * m32c-tdep.c (m32c_debug_info_reg_to_regnum): Likewise.
+ * i386-tdep.c (i386_dbx_reg_to_regnum)
+ (i386_svr4_reg_to_regnum): Likewise
+ * h8300-tdep.c (h8300s_dbg_reg_to_regnum)
+ (h8300_dbg_reg_to_regnum): Likewise.
+ * amd64-tdep.c (amd64_dwarf_reg_to_regnum): Likewise.
+ * arch-utils.c (no_op_reg_to_regnum): Likewise.
+ * arch-utils.h (no_op_reg_to_regnum): Likewise.
+ * arm-tdep.c (arm_dwarf_reg_to_regnum): Likewise.
+ * cris-tdep.c (cris_dwarf2_reg_to_regnum): Likewise.
+ * hppa-tdep.c (hppa64_dwarf_reg_to_regnum): Likewise.
+ * ia64-tdep.c (ia64_dwarf_reg_to_regnum): Likewise.
+ * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise.
+
+2007-12-06 Vladimir Prus <vladimir@codesourcery.com>
+
+ Localize infrun use of remove_breakpoints.
+ * infrun.c (handle_inferior_event): Remove
+ calls to remove_breakpoints, except where needed to
+ communicate change of breakpoint locations to inferior.
+ (keep_going): If steppping over breakpoint, remove
+ breakpoints.
+
+2007-12-06 Vladimir Prus <vladimir@codesourcery.com>
+
+ Clarify infrun variable naming.
+ * infrun.c (trap_expected): Rename
+ to stepping_over_breakpoint. Document.
+ (stepping_past_breakpoint): Remove.
+ (stepping_past_breakpoint_ptdi): Renamed
+ to deferred_step_ptid.
+ (struct execution_control_state): Rename
+ the another_trap field to stepping_over_breakpoint.
+ (struct inferior_status): Rename the trap_expected
+ field to stepping_over_breakpoint.
+ (clear_proceed_status, proceed)
+ (init_execution_control_state, context_switch)
+ (handle_inferior_event, currently_stepping)
+ (keep_going, save_inferior_status)
+ (restore_inferior_status, prepare_to_proceed): Adjust.
+ * gdbthread.h (struct thread_info): Rename the
+ trap_expected field to stepping_over_breakpoint.
+ * thread.c (load_infrun_state, save_infrun_state):
+ Adjust.
+
+2007-12-06 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * win32-nat.c: Allow compilation if CORE_ADDR is 8 byte long.
+ Add "gdb_stdint.h" dependency required for uintptr_t type use.
+ (handle_output_debug_string): Use uintptr_t typecast.
+ (handle_exception): Ditto.
+ (win32_xfer_memory): Ditto.
+ * Makefile.in (win32-nat.o): Add dependency to gdb_stdint header.
+
+2007-12-04 Jim Blandy <jimb@codesourcery.com>
+
+ Support lexical blocks and function bodies that occupy
+ non-contiguous address ranges.
+ * addrmap.c, addrmap.h: New files.
+ * block.h (struct addrmap): New forward declaration.
+ (struct blockvector): New member, 'map'.
+ (BLOCKVECTOR_MAP): New accessor macro.
+ * block.c: #include "addrmap.h"
+ (blockvector_for_pc_sect): If the blockvector we've found has
+ an address map, use it instead of searching the blocks.
+ * buildsym.c: #include "addrmap.h"
+ (pending_addrmap_obstack, pending_addrmap_interesting): New static
+ variables.
+ (really_free_pendings): If we have a pending addrmap, free it too.
+ (record_block_range): New function.
+ (make_blockvector): If we have an interesting pending addrmap,
+ record it in the new blockvector.
+ (start_symtab, buildsym_init): Assert that there is no pending
+ addrmap now; we should have cleaned up any addrmaps we'd built
+ previously.
+ (end_symtab): If there is a pending addrmap left over that didn't
+ get included in the blockvector, free it.
+ * buildsym.h (struct addrmap): New forward declaration.
+ (record_block_range): New prototype.
+ * objfiles.c: #include "addrmap.h".
+ (objfile_relocate): Relocate the blockvector's address map, if
+ present.
+ * dwarf2read.c (dwarf2_record_block_ranges): New function.
+ (read_func_scope, read_lexical_block_scope): Call it.
+ * Makefile.in (SFILES): Add addrmap.c.
+ (addrmap_h): New header dependency variable.
+ (COMMON_OBS): Add addrmap.o.
+ (addrmap.o): New rule.l
+ (block.o, objfiles.o, buildsym.o): Depend on $(addrmap_h).
+
+ * block.c (blockvector_for_pc, blockvector_for_pc_sect): Return a
+ pointer to the block, not its index in the blockvector.
+ (block_for_pc_sect): Use the returned block, instead of looking it
+ up ourselves.
+ * block.h (blockvector_for_pc, blockvector_for_pc_sect): Update
+ declarations.
+ * breakpoint.c (resolve_sal_pc): Use returned block, instead of
+ looking it up ourselves.
+ * stack.c (print_frame_label_vars): Disable function, which
+ depends on the block's index.
+
+ * buildsym.c (finish_block): Return the block we've built.
+ * buildsym.h (finish_block): Update prototype.
+
+ * defs.h (CORE_ADDR_MAX): New constant.
+
+2007-12-04 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * coffread.c (decode_type): Use builtin_type_int32 instead
+ of FT_INTEGER fundamental type for array range index type.
+ (decode_base_type): Use builtin types of current_gdbarch
+ instead of fundamental types.
+
+ * dwarf2read.c (struct dwarf2_cu): Remove ftypes member.
+ (read_file_scope): Do not initialize ftypes member.
+ (dwarf_base_type, dwarf2_fundamental_types): Remove functions.
+ (read_array_type): Use builtin_type_int32 instead of FT_INTEGER
+ fundamental type for array range index type.
+ (read_tag_string_type): Likewise for string range index type.
+ Also, do not overwrite FT_CHAR type with new string type.
+ (read_base_type): If DW_AT_name is missing, create unnamed type
+ with given properties instead of looking for a fundamental type.
+ Create new types as TYPE_TARGET_TYPE for DW_ATE_address and
+ DW_ATE_complex_float types.
+ (read_subrange_type): Create new type to represent missing
+ DW_AT_type instead of looking for a fundamental type.
+ (die_type): Use builtin type to represent "void" instead of
+ looking for a fundamental type.
+
+ * stabsread.c (define_symbol): Use builtin types to represent
+ 'r' and 'i' floating-point and integer constants.
+
+ * gdbtypes.c (lookup_fundamental_type): Remove.
+ * gdbtypes.h (lookup_fundamental_type): Remove prototype.
+ (FT_VOID, FT_BOOLEAN, FT_CHAR, FT_SIGNED_CHAR, FT_UNSIGNED_CHAR,
+ FT_SHORT, FT_SIGNED_SHORT, FT_UNSIGNED_SHORT, FT_INTEGER,
+ FT_SIGNED_INTEGER, FT_UNSIGNED_INTEGER, FT_LONG, FT_SIGNED_LONG,
+ FT_UNSIGNED_LONG, FT_LONG_LONG, FT_SIGNED_LONG_LONG,
+ FT_UNSIGNED_LONG_LONG, FT_FLOAT, FT_DBL_PREC_FLOAT, FT_EXT_PREC_FLOAT,
+ FT_COMPLEX, FT_DBL_PREC_COMPLEX, FT_EXT_PREC_COMPLEX, FT_STRING,
+ FT_FIXED_DECIMAL, FT_FLOAT_DECIMAL, FT_BYTE, FT_UNSIGNED_BYTE,
+ FT_TEMPLATE_ARG, FT_DECFLOAT, FT_DBL_PREC_DECFLOAT,
+ FT_EXT_PREC_DECFLOAT, FT_NUM_MEMBERS): Remove macros.
+ * objfiles.c (struct objfile): Remove fundamental_types member.
+ * symfile.c (reread_symbols): Do not clear fundamental_types.
+
+ * language.h (struct language_defn): Remove la_fund_type member.
+ (create_fundamental_type): Remove.
+ * language.c (unk_lang_create_fundamental_type): Remove.
+ (unknown_language_defn, auto_language_defn,
+ local_language_defn): Adapt initializer.
+ * ada-lang.c (ada_create_fundamental_type): Remove.
+ (ada_language_defn): Adapt initializer.
+ * c-lang.h (c_create_fundamental_type): Remove prototype.
+ * c-lang.c (c_create_fundamental_type): Remove.
+ (c_language_defn, cplus_language_defn, asm_language_defn,
+ minimal_language_defn): Adapt initializer.
+ * f-lang.c (f_create_fundamental_type): Remove.
+ (f_language_defn): Adapt initializer.
+ * jv-lang.c (java_create_fundamental_type): Remove.
+ (java_language_defn): Adapt initializer.
+ * m2-lang.c (m2_create_fundamental_type): Remove.
+ (m2_language_defn): Adapt initializer.
+ * objc-lang.c (objc_create_fundamental_type): Remove.
+ (objc_language_defn): Adapt initializer.
+ * p-lang.h (pascal_create_fundamental_type): Remove prototype.
+ * p-lang.c (pascal_create_fundamental_type): Remove.
+ (pascal_language_defn): Adapt initializer.
+ * scm-lang.c (scm_language_defn): Adapt initializer.
+
+2007-12-04 Maciej W. Rozycki <macro@mips.com>
+
+ * features/mips-cpu.xml: Specify "regnum" for "r0" explicitly.
+ * features/mips64-cpu.xml: Likewise.
+ * features/mips-fpu.xml: Specify "regnum" for "f0" explicitly.
+ * features/mips64-fpu.xml: Likewise.
+ * features/mips-linux.c: Regenerate.
+ * features/mips64-linux.c: Regenerate.
+
+2007-12-04 Maciej W. Rozycki <macro@mips.com>
+
+ * target.h (target_find_new_threads): Fix definition.
+
+2007-12-02 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * win32-nat.c (win32_resume): Set the trace bit
+ in the thread identified by inferior_ptid.
+
+
+2007-12-02 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * win32-nat.c (open_process_used): New static variable.
+ (win32_init_thread_list): Remove call to CloseHandle for thread.
+ (win32_delete_thread): Ditto.
+ (fake_create_process): Set open_process_used if OpenProcess call is
+ successful.
+ (get_win32_debug_event): Do not close process handle.
+ (do_initial_win32_stuff): Set open_process_used to zero.
+ (win32_mourn_inferior): Call CloseHandle for current_process_handle if
+ open_process_used is set.
+ (win32_kill_inferior): Do not close process and main_thread handles.
+
+2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * remote.c (remote_cmdlist): New variable.
+ (PACKET_vFile_open, PACKET_vFile_pread, PACKET_vFile_pwrite)
+ (PACKET_vFile_close, PACKET_vFile_unlink): New constants.
+ (remote_buffer_add_string, remote_buffer_add_bytes)
+ (remote_buffer_add_int, remote_hostio_parse_result)
+ (remote_hostio_send_command, remote_hostio_open, remote_hostio_pwrite)
+ (remote_hostio_pread, remote_hostio_close, remote_hostio_unlink)
+ (remote_fileio_errno_to_host, remote_hostio_error, fclose_cleanup)
+ (remote_hostio_close_cleanup, remote_file_put, remote_file_get)
+ (remote_file_delete, remote_put_command, remote_get_command)
+ (remote_delete_command, remote_command): New functions.
+ (_initialize_remote): Register new packets and commands.
+ * Makefile.in (gdb_fileio_h): New variable.
+ (remote.o): Update.
+ (SUBDIR_MI_OBS): Add mi-cmd-target.o.
+ (SUBDIR_MI_SRCS): Add mi/mi-cmd-target.c.
+ (mi-cmd-target.o): New rule.
+ * mi/mi-cmd-target.c: New file.
+ * mi/mi-cmds.c (mi_cmds): Add target-file-delete, target-file-get,
+ and target-file-put.
+ * mi/mi-cmds.h (mi_cmd_target_file_get, mi_cmd_target_file_put)
+ (mi_cmd_target_file_delete): Declare.
+ * remote.h (remote_file_put, remote_file_get, remote_file_delete):
+ Declare.
+ * NEWS: Describe new file transfer support.
+
+2007-11-30 Vladimir Prus <vladimir@codesourcery.com>
+
+ * infrun.c (handle_inferior_event): Don't
+ ignore beakpoints if trap_expected is set.
+
+2007-11-30 Vladimir Prus <vladimir@codesourcery.com>
+
+ Make insert_breakpoints return void.
+ * breakpoint.h (insert_breakpoints): Change
+ return type to void.
+ * breakpoint.c (insert_breakpoints): Change
+ return type to void. Rename local return_val
+ variable to error.
+ * infrun.c (keep_going): Instead of checking
+ return value from insert_breakpoints, catch exception.
+
+2007-11-29 Vladimir Prus <vladimir@codesourcery.com>
+
+ Stop infrun from tracking breakpoint insertion status.
+
+ The checks of breakpoints_inserted before calling
+ remove_breakpoints are removed, as remove_breakpoint
+ won't touch uninserted breakpoints. In a number of places,
+ we're interested if a breakpoint is inserted at particular
+ PC, and we now use breakpoint_inserted_here_p. In a few
+ places, insert_breakpoints can be called unconditionally,
+ since it won't try to insert already inserted breakpoint.
+
+ * breakpoint.h (regular_breakpoint_inserted_here_p): New
+ declaration.
+ * breakpoint.c (regular_breakpoint_inserted_here_p): New.
+ (breakpoint_inserted_here_p): Use
+ regular_breakpoint_inserted_here_p.
+ * infrun.c (breakpoints_inserted): Remove.
+ (resume): Don't check for breakpoints_inserted before
+ remove_hw_watchpoints. Use breakpoint_inserted_here_p.
+ (proceed, init_wait_for_inferior): Don't set breakpoints_inserted.
+ (handle_inferior_event): Don't use breakpoints_inserted.
+ Use breakpoints_meant_to_be_inserted and
+ breakpoints_inserted_here_p.
+ (insert_step_resume_breakpoint_at_sal, keep_going): Use
+ breakpoints_meant_to_be_inserted. Don't set breakpoints_inserted.
+ (normal_stop): Don't check for breakpoints_inserted. Don't
+ set breakpoints_inserted.
+ (keep_going): Don't check for breakpoints_inserted.
+ (insert_step_resume_breakpoint_at_sal): Don't insert
+ breakpoints
+
+2007-11-28 Jim Blandy <jimb@codesourcery.com>
+
+ * breakpoint.c (watch_command_1): When the watchpoint isn't local
+ to any frame, initialize watchpoint_frame using null_frame_id, not
+ a memset.
+
+2007-11-28 Vladimir Prus <vladimir@codesourcery.com>
+
+ * infrun.c (resume): Set right thread even if
+ stepping over breakpoint using software single step.
+
+2007-11-28 Nick Roberts <nickrob@snap.net.nz>
+
+ * mi/mi-cmd-var.c (print_varobj): Revert change from 2007-08-31.
+ (mi_print_value_p): Guard against type = NULL.
+
+2007-11-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * dfp.c (decimal_from_string): Remove superfluous newline from
+ error string.
+ (decimal_to_string): Likewise.
+ * printcmd.c (printf_command): Change string buffer to use
+ MAX_DECIMAL_STRING constant.
+ * value.c (value_from_decfloat): Likewise.
+
+2007-11-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * Makefile.in (ALL_TARGET_OBS): Remove object files that require
+ 64-bit CORE_ADDR and BFD support, move them to ...
+ (ALL_64_TARGET_OBS): ... this new variable.
+ * configure.ac: Check for --enable-64-bit-bfd option. Only add
+ 64-bit targets with --enable-targets=all if BFD supports 64-bit.
+ * configure: Regenerate.
+
+ * i386-cygwin-tdep.c (i386_cygwin_osabi_sniffer): Do not claim
+ all elf32-i386 executables, only cygwin core files.
+
+2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2read.c (dwarf2_get_pc_bounds): Moved the `DW_AT_ranges' parsing
+ code with its variables OBJFILE, CU_HEADER and OBFD into ...
+ (dwarf2_ranges_read): ... a new function.
+ (read_partial_die): Implemented the parsing of `DW_AT_ranges'.
+
+2007-11-24 Pedro Alves <pedro_alves@portugalmail.pt>
+
+ * win32-nat.c (DR6_CLEAR_VALUE): New define.
+ (thread_info_struct): Rename suspend_count to suspended, to be
+ used as a flag.
+ (thread_rec): Only suspend the thread if it wasn't suspended by
+ gdb before. Warn if suspending failed.
+ (win32_add_thread): Set Dr6 to DR6_CLEAR_VALUE.
+ (win32_continue): Set Dr6 to DR6_CLEAR_VALUE. Update usage of the
+ `suspended' flag. Do ContinueDebugEvent after resuming the
+ suspended threads, not before. Set threads' contexts before
+ resuming them, not after.
+ (win32_resume): Set Dr6 to DR6_CLEAR_VALUE.
+
+2007-11-23 Vladimir Prus <vladimir@codesourcery.com>
+
+ * breakpoint.c (insert_breakpoints)
+ (insert_bp_location): Remove stale comments.
+
+2007-11-23 Maciej W. Rozycki <macro@mips.com>
+
+ * mips-linux-tdep.h: Fix some formatting.
+
+2007-11-21 Markus Deuling <deuling@de.ibm.com>
+
+ * stack.c (print_args_stub): Use get_frame_arch to get at the current
+ architecture and replace current_gdbarch.
+ (frame_info): Likewise.
+
+2007-11-21 Nick Roberts <nickrob@snap.net.nz>
+
+ * varobj.c (c_variable_editable, cplus_variable_editable)
+ (java_variable_editable, variable_editable): Delete.
+ (varobj_editable_p): Replace above functions with one language
+ independent function. Check for an lvalue.
+ (varobj_get_attributes, varobj_set_value): Use varobj_editable_p.
+ (struct language_specific): Delete variable_editable field.
+
+ * mi-cmd-var.c (mi_cmd_var_assign): Simplify.
+
+ * varobj.h: Add extern for varobj_editable_p.
+
+2007-11-20 Vladimir Prus <vladimir@codesourcery.com>
+
+ Remove unused breakpoint fields.
+ * breakpoint.h (struct breakpoint): Remove
+ from_tty and flag fields.
+ * breakpoint.c (break_command_1): Don't set
+ from_tty and flag field set of breakpoint.
+ (create_ada_exception_breakpoint): Don't set
+ the from_tty field.
+
+2007-11-20 David Ung <davidu@mips.com>
+ Maciej W. Rozycki <macro@mips.com>
+
+ * mips-tdep.c (mips16_scan_prologue): Handle the MIPS16e SAVE
+ instruction.
+
+2007-11-20 Vladimir Prus <vladimir@codesourcery.com>
+
+ * infrun.c (resume): Clarify logic that
+ decides if a single thread must be resumed. Add
+ comments.
+
+2007-11-20 Vladimir Prus <vladimir@codesourcery.com>
+
+ * breakpoint.c (disable_breakpoints_in_unloaded_shlib):
+ Make static.
+
+2007-11-19 Markus Deuling <deuling@de.ibm.com>
+
+ * gdbarch.sh (register_sim_regno): Add gdbarch as parameter.
+ * gdbarch.{c,h}: Regenerate.
+
+ * arch-utils.h (legacy_register_sim_regno): Add gdbarch as parameter.
+ * score-tdep.c (score_register_sim_regno): Likewise.
+ * sim-regno.h (one2one_register_sim_regno): Likewise.
+
+ * arch-utils.c (legacy_register_sim_regno): Add gdbarch as parameter.
+ Replace current_gdbarch by gdbarch.
+ * sh-tdep.c (sh_sh2a_register_sim_regno)
+ (sh_dsp_register_sim_regno): Likewise.
+ * rs6000-tdep.c (rs6000_register_sim_regno): Likewise.
+ * mips-tdep.c (mips_register_sim_regno): Likewise.
+ * m32c-tdep.c (m32c_register_sim_regno): Likewise.
+ * frv-tdep.c (frv_register_sim_regno): Likewise.
+ * arm-tdep.c (arm_register_sim_regno): Likewise.
+ * remote-sim.c (one2one_register_sim_regno): Likewise.
+
+2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * configure.ac (--enable-targets): New configure option.
+ Collect gdb_target_obs of multiple targets into TARGET_OBS.
+ Call configure.tgt multiple times, using $targ as operand.
+ * configure.tgt: Operate on $targ instead of $target.
+ * configure: Regenerate.
+ * Makefile.in (ALL_TARGET_OBS): Define.
+
+ * NEWS: Mention --enable-targets option.
+
+2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * mips-tdep.c (show_mipsfpu_command): Do not crash if called when
+ current architecture is not MIPS.
+
+2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * cli/cli-setshow.c (do_setshow_command): Use dynamically sized buffer
+ to construct error message if no argument was supplied.
+
+2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * i386nbsd-tdep.c (i386nbsd_aout_supply_regset): Remove.
+ (i386nbsd_aout_regset_from_core_section): Likewise.
+ (i386nbsd_aout_init_abi): Likewise.
+ (_initialize_i386nbsd_tdep): Do not register i386nbsd_aout_init_abi.
+
+ * vaxnbsd-tdep.c (vaxnbsd_aout_init_abi): Remove.
+ (_initialize_vaxnbsd_tdep): Do not register vaxnbsd_aout_init_abi.
+
+2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * amd64fsdb-tdep.c (amd64fbsd_sigtramp_start_addr): Use ULL suffix.
+ (amd64fbsd_sigtramp_end_addr): Likewise.
+
+ * iq2000-tdep.c (iq2000_pointer_to_address): Fix argument type.
+ (iq2000_address_to_pointer): Likewise.
+ (iq2000_frame_prev_register): Likewise.
+ (iq2000_extract_return_value): Use regcache_cooked_read_unsigned
+ instead of regcache_cooked_read into CORE_ADDR variable.
+ (iq2000_return_value): Fix argument types.
+
+ * m32r-rom.c (m32r_load_section): Fix printf argument type.
+ (m32r_load): Likewise.
+
+ * m68kbsd-tdep.c: Include "gdbtypes.h".
+ * Makefile.in: Update dependencies.
+
+ * mn10300-tdep.c (mn10300_frame_unwind_cache): Fix aliasing violation.
+
+ * nto-tdep.c (LM_ADDR): Do not refer to no-longer-existing
+ lmo->l_addr_size element.
+
+ * remote-m32r-sdi.c (m32r_xfer_memory): Use paddr to print address.
+ (m32r_insert_breakpoint): Likewise.
+ (m32r_remove_breakpoint): Likewise.
+ (m32r_insert_watchpoint): Likewise.
+ (m32r_remove_watchpoint): Likewise.
+ (m32r_load): Fix printf argument type.
+
+ * xtensa-tdep.c (xtensa_regset_from_core_section): Fix printf
+ argument type.
+ (xtensa_frame_this_id): Do not cast pointers to "int" for output.
+ (xtensa_frame_prev_register): Likewise.
+ (xtensa_push_dummy_call): Likewise.
+
+2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/alpha/alpha-linux.mt: Remove file.
+ * config/alpha/alpha.mt: Remove file.
+ * config/alpha/alpha-osf1.mt: Remove file.
+ * config/alpha/fbsd.mt: Remove file.
+ * config/alpha/nbsd.mt: Remove file.
+ * config/alpha/obsd.mt: Remove file.
+ * config/arm/embed.mt: Remove file.
+ * config/arm/linux.mt: Remove file.
+ * config/arm/nbsd.mt: Remove file.
+ * config/arm/obsd.mt: Remove file.
+ * config/arm/wince.mt: Remove file.
+ * config/avr/avr.mt: Remove file.
+ * config/cris/cris.mt: Remove file.
+ * config/frv/frv.mt: Remove file.
+ * config/h8300/h8300.mt: Remove file.
+ * config/i386/cygwin.mt: Remove file.
+ * config/i386/fbsd64.mt: Remove file.
+ * config/i386/fbsd.mt: Remove file.
+ * config/i386/i386gnu.mt: Remove file.
+ * config/i386/i386.mt: Remove file.
+ * config/i386/i386sol2.mt: Remove file.
+ * config/i386/linux64.mt: Remove file.
+ * config/i386/linux.mt: Remove file.
+ * config/i386/mingw.mt: Remove file.
+ * config/i386/nbsd64.mt: Remove file.
+ * config/i386/nbsd.mt: Remove file.
+ * config/i386/nto.mt: Remove file.
+ * config/i386/obsd64.mt: Remove file.
+ * config/i386/obsd.mt: Remove file.
+ * config/i386/sol2-64.mt: Remove file.
+ * config/ia64/ia64.mt: Remove file.
+ * config/ia64/linux.mt: Remove file.
+ * config/iq2000/iq2000.mt: Remove file.
+ * config/m32c/m32c.mt: Remove file.
+ * config/m32r/linux.mt: Remove file.
+ * config/m32r/m32r.mt: Remove file.
+ * config/m68hc11/m68hc11.mt: Remove file.
+ * config/m68k/linux.mt: Remove file.
+ * config/m68k/monitor.mt: Remove file.
+ * config/m68k/nbsd.mt: Remove file.
+ * config/m68k/obsd.mt: Remove file.
+ * config/m88k/obsd.mt: Remove file.
+ * config/mep/mep.mt: Remove file.
+ * config/mips/embed.mt: Remove file.
+ * config/mips/irix5.mt: Remove file.
+ * config/mips/irix6.mt: Remove file.
+ * config/mips/linux.mt: Remove file.
+ * config/mips/nbsd.mt: Remove file.
+ * config/mips/obsd64.mt: Remove file.
+ * config/mn10300/linux.mt: Remove file.
+ * config/mn10300/mn10300.mt: Remove file.
+ * config/mt/mt.mt: Remove file.
+ * config/pa/hppahpux.mt: Remove file.
+ * config/pa/hppa.mt: Remove file.
+ * config/pa/linux.mt: Remove file.
+ * config/pa/obsd.mt: Remove file.
+ * config/powerpc/aix.mt: Remove file.
+ * config/powerpc/linux.mt: Remove file.
+ * config/powerpc/nbsd.mt: Remove file.
+ * config/powerpc/obsd.mt: Remove file.
+ * config/powerpc/ppc-eabi.mt: Remove file.
+ * config/s390/s390.mt: Remove file.
+ * config/score/embed.mt: Remove file.
+ * config/sh/embed.mt: Remove file.
+ * config/sh/linux.mt: Remove file.
+ * config/sh/nbsd.mt: Remove file.
+ * config/sh/obsd.mt: Remove file.
+ * config/sh/sh64.mt: Remove file.
+ * config/sparc/embed.mt: Remove file.
+ * config/sparc/fbsd.mt: Remove file.
+ * config/sparc/linux64.mt: Remove file.
+ * config/sparc/linux.mt: Remove file.
+ * config/sparc/nbsd64.mt: Remove file.
+ * config/sparc/nbsd.mt: Remove file.
+ * config/sparc/obsd64.mt: Remove file.
+ * config/sparc/obsd.mt: Remove file.
+ * config/sparc/sol2-64.mt: Remove file.
+ * config/sparc/sol2.mt: Remove file.
+ * config/sparc/sparc64.mt: Remove file.
+ * config/sparc/sparc.mt: Remove file.
+ * config/spu/spu.mt: Remove file.
+ * config/v850/v850.mt: Remove file.
+ * config/vax/nbsd.mt: Remove file.
+ * config/vax/obsd.mt: Remove file.
+ * config/vax/vax.mt: Remove file.
+ * config/xstormy16/xstormy16.mt: Remove file.
+ * config/xtensa/xtensa.mt: Remove file.
+
+ * configure.tgt (gdb_target_cpu): Remove. Do not set anywhere.
+ (gdb_target): Likewise.
+ (gdb_target_obs): Document. Set for every target to contents
+ of TDEPFILES in former .mt makefile fragment.
+
+ * configure.ac (TARGET_OBS): Define.
+ (target_makefile_frag, gdb_target_cpu): Do not define.
+ * configure: Regenerate.
+
+ * Makefile.in (MT_FLAGS): Remove.
+ (GLOBAL_CFLAGS): Update.
+ (TARGET_OBS): Substitute from configure.
+ (DEPFILES): Remove TDEPFILES, add TARGET_OBS.
+ (@target_makefile_frag@): Remove.
+
+2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/arm/embed.mt (SIM_OBS, SIM): Remove.
+ * config/avr/avr.mt (SIM_OBS, SIM): Remove.
+ * config/frv/frv.mt (SIM_OBS, SIM): Remove.
+ * config/h8300/h8300.mt (SIM_OBS, SIM): Remove.
+ * config/iq2000/iq2000.mt (SIM_OBS, SIM): Remove.
+ * config/m32c/m32c.mt (SIM_OBS, SIM): Remove.
+ * config/m32r/linux.mt (SIM_OBS, SIM): Remove.
+ * config/m32r/m32r.mt (SIM_OBS, SIM): Remove.
+ * config/m68hc11/m68hc11.mt (SIM_OBS, SIM): Remove.
+ * config/mips/embed.mt (SIM_OBS, SIM): Remove.
+ * config/mips/linux.mt (SIM_OBS, SIM): Remove.
+ * config/mips/nbsd.mt (SIM_OBS, SIM): Remove.
+ * config/mn10300/mn10300.mt (SIM_OBS, SIM): Remove.
+ * config/powerpc/linux.mt (SIM_OBS, SIM): Remove.
+ * config/powerpc/nbsd.mt (SIM_OBS, SIM): Remove.
+ * config/powerpc/ppc-sim.mt: Remove file.
+ * config/sh/embed.mt (SIM_OBS, SIM): Remove.
+ * config/sh/linux.mt (SIM_OBS, SIM): Remove.
+ * config/sh/nbsd.mt (SIM_OBS, SIM): Remove.
+ * config/sh/sh64.mt (SIM_OBS, SIM): Remove.
+ * config/sparc/embed.mt (SIM_OBS, SIM): Remove.
+ * config/v850/v850.mt (SIM_OBS, SIM): Remove.
+ * config/xstormy16/xstormy16.mt (SIM_OBS, SIM): Remove.
+
+ * configure.tgt (gdb_sim): Document variable.
+ (arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*): Set it.
+ (avr-*-*): Likewise.
+ (frv-*-*): Likewise.
+ (h8300-*-*): Likewise.
+ (iq2000-*-*): Likewise.
+ (m32c-*-*): Likewise.
+ (m32r*-*-linux*): Likewise.
+ (m32r*-*-*): Likewise.
+ (m68hc11*-*-*|m6811*-*-*): Likewise.
+ (mips*-*-*): Likewise.
+ (mips*-*-linux*): Likewise.
+ (mips*-*-netbsd* | mips*-*-knetbsd*-gnu): Likewise.
+ (mn10300-*-*): Likewise.
+ (powerpc-*-linux* | powerpc64-*-linux*): Likewise.
+ (powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu): Likewise.
+ (powerpc*-*-*): Use ppc-eabi target. Conditionally set gdb_sim.
+ (sh*): Set gdb_sim.
+ (sh-*-linux*): Likewise.
+ (sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu): Likewise.
+ (sh64-*-elf*): Likewise.
+ (sparc-*-rtems*): Likewise.
+ (v850*-*-elf): Likewise.
+ (xstormy16-*-*): Likewise.
+
+ * configure.ac (IGNORE_SIM, IGNORE_SIM_OBS): Do not set.
+ (SIM, SIM_OBS): Set depending on ${ignore_sim} and ${gdb_sim}.
+ * configure: Regenerate.
+ * Makefile.in (SIM, SIM_OBS): Substitute from configure.
+ (@IGNORE_SIM@, @IGNORE_SIM_OBS@): Remove.
+
+2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * configure.tgt (gdb_osabi, build_gdbserver): Comment variables.
+ (arm*-*-*): Do not set obsolete build_rdi_share variable.
+
+ (*-*-freebsd* | *-*-kfreebsd*-gnu): Remove generic case, replace by ...
+ (alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
+ (i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
+ (sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu): ... specific cases.
+ (x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu): Re-sort.
+
+ (xscale-*-*): Merge into arm*-*-* case.
+ (fido-*-elf*): Merge into m68*-*-elf* case.
+ (m68*-*-aout*, m68*-*-coff*, m68*-*-elf*, m68*-*-rtems*,
+ m68*-*-uclinux*): Merge cases.
+ (powerpc-*-linux*, powerpc64-*-linux*): Merge cases.
+ (sh-*-coff*, sh-*-elf*): Merge into sh* case.
+
+2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * configure.tgt: Reformat main case statement.
+
+2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * configure.ac (hostfile, targetfile): Remove.
+ (GDB_XM_FILE, GDB_TM_FILE): Do not define.
+ (xm_h, tm_h): Likewise.
+ (DEPRECATED_TM_FILE, XM_FILE): Do not substitute into Makefile.
+ * configure, config.in: Regenerate.
+
+ * Makefile.in (xm_h, tm_h): Remove. Update dependencies.
+ (TAGS): Do not consider DEPRECATED_TM_FILE or XM_FILE.
+ (clean, local-maintainer-clean): Do not remove xm.h or tm.h.
+ * defs.h: Do not include "xm.h" or "tm.h".
+
+ * gdbarch.sh (verify_gdbarch): Do not dump GDB_XM_FILE or GDB_TM_FILE.
+ * gdbarch.c: Regenerate.
+
+ * config/score/embed.mt: Remove obsolete comment.
+
+2007-11-16 Markus Deuling <deuling@de.ibm.com>
+
+ * gdbarch.sh (cannot_fetch_register, cannot_store_register): Add gdbarch
+ as parameter.
+ * gdbarch.{c,h}: Regenerate.
+
+ * alpha-tdep.c (alpha_cannot_fetch_register)
+ (alpha_cannot_store_register): Add gdbarch as parameter. Replace
+ current_gdbarch by gdbarch.
+ * cris-tdep.c (cris_cannot_fetch_register, cris_cannot_store_register)
+ (crisv32_cannot_fetch_register)
+ (crisv32_cannot_store_register): Likewise.
+ * arch-utils.c (cannot_register_not): Likewise.
+ * arch-utils.h (cannot_register_not): Likewise.
+ * hppa-tdep.c (hppa32_cannot_store_register)
+ (hppa32_cannot_store_register, hppa64_cannot_store_register)
+ (hppa64_cannot_fetch_register): Likewise.
+ * mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register)
+ (mipsnbsd_cannot_store_register): Likewise.
+
+2007-11-16 Markus Deuling <deuling@de.ibm.com>
+
+ * m32r-rom.c (m32r_supply_register): Use get_regcache_arch to get at
+ the current architecture by regcache.
+ * ppcnbsd-nat.c (ppcnbsd_supply_pcb): Likewise.
+ * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register)
+ (fetch_register, supply_vrregset, fetch_ppc_registers)
+ (store_altivec_register, store_spe_register, store_register)
+ (fill_vrregset, store_ppc_registers): Likewise.
+ * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise.
+ * win32-nat.c (do_win32_fetch_inferior_registers)
+ (do_win32_store_inferior_registers): Likewise.
+ * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise.
+ * remote-m32r-sdi.c (m32r_fetch_registers)
+ (m32r_store_registers): Likewise.
+ * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Likewise.
+
+ * trad-frame.c (trad_frame_alloc_saved_regs): Replace current_gdbarch by
+ gdbarch.
+ * user-regs.c (user_reg_map_name_to_regnum): Likewise.
+ * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call)
+ (do_ppc_sysv_return_value, ppc64_sysv_abi_push_dummy_call)
+ (ppc64_sysv_abi_return_value): Likewise.
+ * m32c-tdep.c (m32c_register_reggroup_p): Likewise.
+ * m2-lang.c (build_m2_types): Likewise.
+ * ppc-linux-tdep.c (ppc_linux_sigtramp_cache
+ * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise.
+ * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise.
+ * rs6000-tdep.c (ppc_dwarf2_frame_init_reg): Likewise.
+
+ * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Use get_frame_arch to
+ get at the current architecture by frame_info.
+ * gcore.c (derive_stack_segment): Likewise.
+
+ * shnbsd-nat.c (GETREGS_SUPPLIES): Add gdbarch parameter.
+ (shnbsd_fetch_inferior_registers, shnbsd_store_inferior_registers): Add
+ gdbarch to GETREGS_SUPPLIES call.
+
+2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * elfread.c (ST_REGULAR, ST_DYNAMIC, ST_SYNTHETIC): New defines.
+ (elf_symtab_read): Rename DYNAMIC argument to TYPE. Do not access
+ ELF-private symbol data when processing synthetic symbols. Use
+ udata.p to get at size of ppc64 synthetic 'dot' symbols.
+ (elf_symfile_read): Pass TYPE argument to elf_symtab_read.
+
+2007-11-15 Doug Evans <dje@google.com>
+
+ * buildsym.h (subfiles): Move ...
+ * buildsym.c (subfiles): ... to here and make static.
+
+ * symmisc.c (maintenance_info_symtabs): Print linetable info.
+
+2007-11-15 Markus Deuling <deuling@de.ibm.com>
+
+ * mipsnbsd-tdep.h (SIZEOF_STRUCT_REG, SIZEOF_STRUCT_FPREG): Remove
+
+2007-11-15 Markus Deuling <deuling@de.ibm.com>
+
+ * arm-tdep.c (arm_prologue_this_id): Replace LOWEST_PC by its
+ expression and use get_frame_arch to replace current_gdbarch by frame's
+ architecture.
+ * arm-tdep.h (LOWEST_PC): Remove
+
+2007-11-15 Vladimir Prus <vladimir@codesourcery.com>
+
+ Apply const qualifier to some users of bp_location.
+ * breakpoint.h (struct bpstats): Make
+ the breakpoint_at field point at const bp_location.
+ * breakpoint.c (bpstat_alloc): Accept const
+ bp_location.
+ (breakpoint_here_p, breakpoint_inserted_here_p)
+ (software_breakpoint_inserted_here_p)
+ (breakpoint_thread_match, bpstat_stop_status)
+ (read_memory_nobpt, bpstat_have_active_hw_watchpoints): Use
+ const bp_location for iteration.
+ (print_it_typical, print_bp_stop_message): Use
+ const bp_location variable.
+
+2007-11-15 Vladimir Prus <vladimir@codesourcery.com>
+
+ Make mark_breakpoints_out static.
+ * breakpoint.h (mark_breakpoints_out): Remove
+ declaration.
+ * breakpoint.c (mark_breakpoints_out): Make static.
+
+2007-11-15 Vladimir Prus <vladimir@codesourcery.com>
+
+ Prevent clear_command from directly modifying breakpoint list.
+ * Makefile.in (breakpoint_h): Update dependency.
+ * breakpoint.c (clear_command): Do not remove
+ breakpoints from breakpoint_chain. Collect breakpoints
+ to delete in a vector.
+ * breakpoint.h (breakpoint_p): New typedef for pointer to
+ breakpoint. Register vector of breakpoint_p.
+
+2007-11-15 Vladimir Prus <vladimir@codesourcery.com>
+
+ Remove 'run_cleanup'.
+ * defs.h (do_run_cleanups, make_run_cleanup): Remove
+ declarations.
+ * infcmd.c (run_command_1): Call clear_solib instead
+ of do_run_cleanups.
+ * jv-lang.c (java_rerun_cleanup): Remove, for lack of
+ any use.
+ * solib.c (solib_cleanup_queued, do_clear_solib): Remove.
+ (update_solib_lib): Don't setup run cleanup.
+ (no_shared_libraries): Call clear_solib, not do_clear_solib.
+ * utils.c (run_cleanup_chain, make_run_cleanup)
+ (do_run_cleanups): Remove.
+
+2007-11-15 Vladimir Prus <vladimir@codesourcery.com>
+
+ Remove CLEAR_SOLIB use.
+ * corelow.c (core_close): Don't check for CLEAR_SOLIB.
+ * infcmd.c (attach_command): Likewise.
+
+2007-11-14 Doug Evans <dje@google.com>
+
+ * buildsym.c (start_subfile,start_symtab): Doc fixes.
+
+2007-11-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * tui/tui-data.c (tui_prev_win): Guard against NULL.
+
+2007-11-12 Markus Deuling <deuling@de.ibm.com>
+
+ * gdbarch.sh (gdbarch_alloc): Replace current_gdbarch by gdbarch. Remove
+ obsolete comment.
+ (verify_gdbarch, gdbarch_dump): Likewise.
+ (do_read): Update comment.
+ (addr_bit, bfd_arch_info, target_desc, long_long_bit, floatformat)
+ (ptr_bit, name_of_malloc): Replace current_gdbarch by gdbarch.
+ * gdbarch.{c,h}: Regenerate.
+
+2007-11-12 Markus Deuling <deuling@de.ibm.com>
+
+ * xtensa-tdep.c (ARG_1ST): Replace ARGS_FIRST_REG by its expression.
+ (ARGS_FIRST_REG): Remove.
+ (areg_numer): New function.
+ (xtensa_pseudo_register_read, xtensa_frame_prev_register)
+ (xtensa_extract_return_value, xtensa_store_return_value)
+ (xtensa_frame_cache): Replace AREG_NUMBER by areg_number.
+ (AREG_NUMBER): Remove.
+ (XTENSA_IS_ENTRY, ARG_NOF, ARG_1ST): Add gdbarch as parameter.
+ (xtensa_frame_cache): Update use of XTENSA_IS_ENTRY.
+ (xtensa_push_dummy_call): Update use of ARG_NOF.
+ (extract_call_winsize): Add gdbarch as parameter. Replace
+ current_gdbarch by gdbarch.
+ (xtensa_extract_return_value, xtensa_store_return_value): Update call
+ of extract_call_winsize.
+
+2007-11-10 Joel Brobecker <brobecker@adacore.com>
+
+ * NEWS: Add entry for new set/show print frame-args command.
+
+2007-11-09 Kevin Buettner <kevinb@redhat.com>
+
+ * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add missing
+ register number to map. Adjust warning check and error/warning
+ return value code to match expectations of this function's callers.
+
+2007-11-09 Joel Brobecker <brobecker@adacore.com>
+
+ * stack.c (print_this_frame_argument_p): Handle arguments passed
+ by reference properly.
+
2007-11-09 Joel Brobecker <brobecker@adacore.com>
* stack.c (print_frame_arguments_choices): New static global.