+
+ * arm-tdep.c (arm_stub_unwind_sniffer): Add comment.
+
+
+ * breakpoint.c (update_watchpoint): Create a sentinel location if
+ the software watchpoint isn't watching any memory.
+ (breakpoint_address_bits): Skip dummy software watchpoint locations.
+
+
+ * utils.c (fputs_maybe_filtered): Check if there's already a top
+ level interpreter before dereferencing it. If there isn't one,
+ don't paginate either.
+
+
+ * arm-tdep.c (arm_pc_is_thumb): Add heuristic that tries to get
+ the state right when single stepping.
+ (arm_get_next_pc_raw, thumb_get_next_pc_raw): New functions.
+ Get the next PC along with the instruction state.
+ (thumb_get_next_pc): Remove.
+ (arm_get_next_pc): Modified to use arm_get_next_pc_raw.
+
+
+ * i386-tdep.c (i386_process_record): Change "addr" to "tmpu64".
+
+
+ * utils.c (fputs_maybe_filtered): Always disable pagination if the
+ top level interpreter is MI.
+
+
+ * remote.c (remote_download_tracepoint): Iterate over locations.
+ * tracepoint.c (validate_actionline): Ditto.
+ (encode_actions): Add location argument.
+ (trace_dump_command): Check all locations to see if stepping
+ frame.
+
+
+ * NEWS: Add X86 general purpose registers section.
+
+
+ PR mi/11098:
+ * varobj.c (install_new_value): Handle case where new print_value
+ is NULL.
+
+
+ PR gdb/11345:
+ * printcmd.c (printf_command): Print end of format string using
+ printf_filtered.
+
+
+ * mi/mi-cmd-break.c (mi_read_next_line): Add missing 'void'.
+ * defs.h (read_command_lines_1): Add missing 'void'.
+ * cli/cli-script.c (recurse_read_control_structure): Add missing
+ 'void'.
+ (read_next_line): Likewise.
+ (read_command_lines_1): Likewise.
+
+
+ * spu-tdep.c (spu_analyze_prologue): Track instruction to
+ store backchain as part of prologue.
+
+
+ * progspace.c (update_address_spaces): Update inferior address spaces
+ also.
+
+
+ * dwarf2read.c (add_partial_subprogram): Add missing baseaddr to
+ lowpc,highpc args to addrmap_set_empty.
+
+
+ * amd64-tdep.c (amd64_byte_names): New.
+ (amd64_word_names): Likewise.
+ (amd64_dword_names): Likewise.
+ (amd64_pseudo_register_name): Likewise.
+ (amd64_pseudo_register_read): Likewise.
+ (amd64_pseudo_register_write): Likewise.
+ (amd64_init_abi): Set num_byte_regs, num_word_regs, num_dword_regs
+ and num_mmx_regs. Call set_gdbarch_pseudo_register_read,
+ set_gdbarch_pseudo_register_write and
+ set_tdesc_pseudo_register_name. Don't call
+ set_gdbarch_num_pseudo_regs. Don't set mm0_regnum.
+
+ * i386-tdep.c (i386_num_mmx_regs): Removed.
+ (i386_num_pseudo_regs): Likewise.
+ (i386_byte_names): New.
+ (i386_word_names): Likewise.
+ (i386_byte_regnum_p): Likewise.
+ (i386_word_regnum_p): Likewise.
+ (i386_mmx_regnum_p): Updated.
+ (i386_pseudo_register_name): Make it global. Handle byte and
+ word pseudo-registers.
+ (i386_pseudo_register_read): Likewise.
+ (i386_pseudo_register_write): Likewise.
+ (i386_pseudo_register_type): Handle byte, word and dword
+ pseudo-registers
+ (i386_register_reggroup_p): Don't include pseudo
+ registers, except for MXX, in any register groups. Don't
+ include pseudo byte, word, dword registers in general_reggroup.
+ (i386_gdbarch_init): Set num_byte_regs, num_word_regs,
+ num_dword_regs, al_regnum, ax_regnum and eax_regnum. Put MMX
+ pseudo-registers after word pseudo-registers. Call
+ set_gdbarch_num_pseudo_regs after calling gdbarch_init_osabi.
+
+ * i386-tdep.h (gdbarch_tdep): Add num_mmx_regs, num_byte_regs,
+ al_regnum, num_word_regs, ax_regnum, num_dword_regs and
+ eax_regnum.
+ (i386_byte_regnum_p): New.
+ (i386_word_regnum_p): Likewise.
+ (i386_dword_regnum_p): Likewise.
+ (i386_pseudo_register_name): Likewise.
+ (i386_pseudo_register_read): Likewise.
+ (i386_pseudo_register_write): Likewise.
+
+
+ * target-descriptions.c (tdesc_type): Remove
+ TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR.
+ (tdesc_predefined_types): Likewise.
+ (tdesc_gdb_type): Likewise. Pass NULL to append_flags_type_flag
+ if flag name is empty.
+ (maint_print_c_tdesc_cmd): Handle TDESC_TYPE_FLAGS.
+
+ * features/i386/32bit-core.xml: Define i386_eflags.
+ * features/i386/64bit-core.xml: Likewise.
+
+ * features/i386/32bit-sse.xml: Define i386_mxcsr.
+ * features/i386/64bit-sse.xml: Likewise.
+
+ * features/i386/amd64-linux.c: Regenerated.
+ * features/i386/amd64.c: Likewise.
+ * features/i386/i386-linux.c: Likewise.
+ * features/i386/i386.c: Likewise.
+
+
+ * gdbtypes.c (append_composite_type_field_raw): New.
+ (append_composite_type_field_aligned): Use the new function.
+ * gdbtypes.h (append_composite_type_field_raw): Declare.
+ * target-descriptions.c (struct tdesc_type_field): Add start and end.
+ (struct tdesc_type_flag): New type.
+ (struct tdesc_type): Add TDESC_TYPE_STRUCT and TDESC_TYPE_FLAGS to
+ kind. Add size to u.u. Add u.f for flags.
+ (tdesc_gdb_type): Handle TDESC_TYPE_STRUCT and TDESC_TYPE_FLAGS.
+ (tdesc_free_type): Likewise.
+ (tdesc_create_struct, tdesc_set_struct_size, tdesc_create_flags): New.
+ (tdesc_add_field): Handle TDESC_TYPE_STRUCT.
+ (tdesc_add_bitfield, tdesc_add_flag): New.
+ * target-descriptions.h (tdesc_create_struct, tdesc_set_struct_size)
+ (tdesc_create_flags, tdesc_add_bitfield, tdesc_add_flag): Declare.
+ * xml-tdesc.c (struct tdesc_parsing_data): Rename current_union to
+ current_type. Add current_type_size and current_type_is_flags.
+ (tdesc_start_union): Clear the new fields.
+ (tdesc_start_struct, tdesc_start_flags): New.
+ (tdesc_start_field): Handle struct fields, including bitfields.
+ (field_attributes): Make type optional. Add start and end.
+ (union_children): Rename to struct_union_children.
+ (union_attributes): Rename to struct_union_attributes. Add optional
+ size.
+ (flags_attributes): New.
+ (feature_children): Add struct and flags.
+ * features/gdb-target.dtd: Add flags and struct to features.
+ Make field type optional. Add field start and end.
+
+
+ * amd64-linux-nat.c (AMD64_LINUX_USER64_CS): New.
+ (amd64_linux_read_description): Likewise.
+ (_initialize_amd64_linux_nat): Set to_read_description to
+ amd64_linux_read_description.
+
+ * amd64-linux-tdep.c: Include "features/i386/amd64-linux.c".
+ (amd64_linux_register_name): Removed.
+ (amd64_linux_register_type): Likewise.
+ (amd64_linux_core_read_description): New.
+ (amd64_linux_init_abi): Set target description to
+ tdesc_amd64_linux if needed. Support orig_rax in target
+ description. Don't call set_gdbarch_register_name nor
+ set_gdbarch_register_type. Call
+ set_gdbarch_core_read_description.
+ (_initialize_amd64_linux_tdep): Call
+ initialize_tdesc_amd64_linux.
+
+ * amd64-linux-tdep.h (tdesc_amd64_linux): New.
+
+ * amd64-tdep.c: Include "features/i386/amd64.c".
+ (amd64_register_names): Removed.
+ (amd64_register_name): Likewise.
+ (amd64_register_type): Likewise.
+ (amd64_init_abi): Set num_core_regs and register_names. Set
+ target description to tdesc_amd64 if needed. Don't call
+ set_gdbarch_register_name nor set_gdbarch_register_type.
+ (_initialize_amd64_tdep): New.
+
+ * i386-linux-nat.c (i386_linux_read_description): New.
+ (_initialize_i386_linux_nat): Set to_read_description to
+ i386_linux_read_description.
+
+ * i386-linux-tdep.c: Include "features/i386/i386-linux.c".
+ (i386_linux_register_name): Removed.
+ (i386_linux_core_read_description): New.
+ (i386_linux_read_description): Likewise.
+ (i386_linux_init_abi): Don't call set_gdbarch_register_name.
+ Set target description to tdesc_i386_linux if needed. Support
+ orig_eax. Set register_reggroup_p. Call
+ set_gdbarch_core_read_description.
+ (_initialize_i386_linux_tdep): Call initialize_tdesc_i386_linux.
+
+ * i386-linux-tdep.h (tdesc_i386_linux): New.
+
+ * i386-nto-tdep.c (i386nto_regset_id): Replace I386_NUM_FREGS
+ with I387_NUM_REGS.
+
+ * i386-tdep.c: Include "features/i386/i386.c".
+ (i386_register_names): Make it const.
+ (i386_mmx_names): Likewise.
+ (i386_num_register_names): Removed.
+ (i386_register_name): Likewise.
+ (i386_eflags_type): Likewise.
+ (i386_mxcsr_type): Likewise.
+ (i386_sse_type): Likewise.
+ (i386_register_type): Likewise.
+ (i387_ext_type): Call tdesc_find_type instead of arch_float_type.
+ (i386_pseudo_register_name): New.
+ (i386_pseudo_register_type): Likewise.
+ (i386_mmx_type): Make it static.
+ (i386_gdbarch_init): Check arch. Replace I386_NUM_FREGS with
+ I387_NUM_REGS. Set num_core_regs and register_names. Don't
+ call set_gdbarch_register_name nor set_gdbarch_register_type.
+ Set register_reggroup_p. Set target description to tdesc_i386
+ if needed. Call set_tdesc_pseudo_register_type,
+ set_tdesc_pseudo_register_name and tdesc_use_registers.
+ (_initialize_i386_tdep): Call initialize_tdesc_i386.
+ initialize_tdesc_x86_64.
+
+ * i386-tdep.h (gdbarch_tdep): Remove i386_eflags_type,
+ i386_mxcsr_type and i386_sse_type. Add num_core_regs,
+ register_names, tdesc and register_reggroup_p.
+ (I386_NUM_FREGS): Removed.
+ (i386_eflags_type): Likewise.
+ (i386_mxcsr_type): Likewise.
+ (i386_mmx_type): Likewise.
+ (i386_sse_type): Likewise.
+ (i386_register_name): Likewise.
+ (i386_regnum): Add I386_MXCSR_REGNUM.
+ (I386_SSE_NUM_REGS): Defined with I386_MXCSR_REGNUM.
+
+ * i387-tdep.h (I387_NUM_REGS): New.
+
+ * regformats/i386/i386-linux.dat: Generated.
+ * regformats/i386/i386.dat: Likewise.
+ * regformats/i386/amd64-linux.dat: Likewise.
+ * regformats/i386/amd64.dat: Likewise.
+
+ * regformats/reg-i386-linux.dat: Removed.
+ * regformats/reg-i386.dat: Likewise.
+ * regformats/reg-x86-64-linux.dat: Likewise.
+ * regformats/reg-x86-64.dat: Likewise.
+
+
+ * remote-fileio.c (remote_fileio_func_rename): Use Cygwin 1.7
+ cygwin_conv_path API rather than the deprecated
+ cygwin_conv_to_full_posix_path.
+ * windows-nat.c:
+ (GetModuleFileNameExA): Undefine for Cygwin.
+ (GetModuleFileNameExW): Define for Cygwin.
+ (get_module_name): Change size of pathbuf to PATH_MAX for Cygwin.
+ Call GetModuleFileNameExW and convert path to POSIX using
+ cygwin_conv_path.
+ (windows_make_so): Always define p. Drop unused variable m.
+ Don't use Win32 functions to check file existance, rather use
+ access on Cygwin. Fetch system directory using GetSystemDirectoryW.
+ Use canonicalize_file_name to get full path.
+ (get_image_name): Use wcstombs, rather than WideCharToMultiByte
+ to convert Unicode pathname to multibyte on Cygwin. Otherwise,
+ use correct target buffer size in call to WideCharToMultiByte.
+ (handle_load_dll): Change size of dll_buf to PATH_MAX for Cygwin.
+ (windows_pid_to_exec_file): Change size of path to PATH_MAX for Cygwin.
+ (windows_create_inferior): Convert all paths and arguments to wchar_t
+ and use CreateProcessW on Cygwin.
+ (_initialize_windows_nat): Disable DOS-style path warning on Cygwin.
+ (bad_GetModuleFileNameExA): Undefine for Cygwin.
+ (bad_GetModuleFileNameExW): Define for Cygwin.
+ (_initialize_loadable): Load GetModuleFileNameExW into
+ dyn_GetModuleFileNameExW on Cygwin. Don't load ANSI function on Cygwin.
+
+
+ PR python/11036
+ * python/py-frame.c (frapy_read_var): Add block argument and logic
+ to cope with user provided blocks.
+
+
+ * infcall.c (call_function_by_hand): Remove gdb_assert on sp and old_sp.
+ New comment.
+
+
+ * Makefile.in (SUBDIR_MI_OBS): Move mi-common.o from here...
+ (COMMON_OBS): ... to here since it's used unconditionally.
+ (SUBDIR_MI_SRCS): Move mi/mi-common.c from here...
+ (SFILES): To here.
+
+
+ * mips-linux-tdep.c: Update struct sigframe comments.
+ (SIGFRAME_CODE_OFFSET): Delete macro.
+ (mips_linux_o32_sigframe_init): Calculate sigcontext_base using
+ this_frame's sp.
+ (mips_linux_n32n64_sigframe_init): Same.
+
+
+ * remote-mips.c (mips_load): Don't use pseudo-register when
+ invalidating regcache.
+
+
+ * arm-tdep.c (thumb_get_next_pc): Correct conditional branch opcode.
+
+
+ * NEWS: Add "New targets" section, and mention ARM Symbian
+ support.
+
+
+ * dwarf2loc.c (struct piece_closure): Remove ARCH member,
+ add ADDR_SIZE member.
+ (allocate_piece_closure): Update.
+ (copy_pieced_value_closure): Likewise.
+ (dwarf2_evaluate_loc_desc): Likewise.
+ (read_pieced_value): Use DWARF address size instead of
+ GDB's gdbarch_addr_bit as size of values on the DWARF stack.
+
+
+ * python/py-type.c (typy_lookup_typename): Add in block argument.
+ If provided restrict lookup to specified blocks.
+ (gdbpy_lookup_type): Likewise.
+ (typy_lookup_type): Likewise.
+
+
+ Symbian config
+
+ gdb/
+ * arm-symbian-tdep.c: New.
+ * configure.tgt (arm*-*-symbianelf*): New target.
+ (*-*-symbianelf*): New OS.
+ * osabi.c (gdb_osabi_names): Add Symbian.
+ * defs.h (gdb_osabi): Add GDB_OSABI_SYMBIAN.
+ * Makefile.in (ALL_TARGET_OBJS): Add arm-symbian-tdep.o.
+ (ALLDEPFILES): Add arm-symbian-tdep.c.
+
+
+ * symfile.c (find_lowest_section): Include SEC_ALLOC sections.
+
+
+ * mi/mi-main.c (mi_cmd_execute): Fix typo.
+
+
+ * python/python.c (_initialize_python): Call
+ gdbpy_initialize_symtabs, gdbpy_initialize_symbols and
+ gdbpy_initialize_blocks.
+ * python/python-internal.h: Declare struct symbol, block and
+ symtab_and_line. Declare block_object_type and
+ symbol_object_type
+ (gdbpy_lookup_symbol gdbpy_block_for_pc)
+ (symtab_and_line_to_sal_object, symtab_to_symtab_object)
+ (symbol_to_symbol_object, block_to_block_object)
+ (gdbpy_initialize_symtabs,gdbpy_initialize_symbols)
+ (gdbpy_initialize_blocks ): Declare.
+ * python/py-frame.c (frapy_block, frapy_function, frapy_find_sal)
+ (frapy_select): Add methods.
+ (frapy_read_var): Add symbol branch.
+ * Makefile.in (SUBDIR_PYTHON_OBS): Add py-symbol, py-symtab,
+ py-block.
+ (SUBDIR_PYTHON_SRCS): Likewise.
+ (py-symbol.o): New rule.
+ (py-symtab.o): Likewise.
+ (py-block.o): Likewise.
+ * python/py-symbol.c: New file.
+ * python/py-symtab.c: Likewise.
+ * python/py-block.c: Likewise.
+
+
+ PR gdb/11321
+
+ * inferior.h (prepare_for_detach): Declare.
+ (struct inferior) <detaching>: New field.
+ * infrun.c (prepare_for_detach): New.
+ (handle_inferior_event) <random signal>: Don't stop if detaching.
+ * target.c (target_detach): Call prepare_for_detach.
+
+
+ Per-process displaced stepping queue.
+
+ * infrun.c (displaced_step_ptid, displaced_step_request_queue)
+ (displaced_step_gdbarch, displaced_step_closure,
+ (displaced_step_original, displaced_step_copy): Move globals to
+ this...
+ (struct displaced_step_inferior_state): ... new structure.
+ (displaced_step_inferior_states): New global.
+ (get_displaced_stepping_state, add_displaced_stepping_state)
+ (remove_displaced_stepping_state, infrun_inferior_exit): New
+ functions.
+ (displaced_step_clear): Add displaced_step_inferior_state
+ parameter, and adjust to handle it.
+ (displaced_step_clear_cleanup): Parameter is now a
+ displaced_step_inferior_state. Adjust.
+ (displaced_step_prepare): Adjust.
+ (displaced_step_fixup, displaced_step_fixup)
+ (infrun_thread_ptid_changed, resume): Adjust.
+ (init_wait_for_inferior): Don't call displaced_step_clear.
+ (infrun_thread_stop_requested): Rewrite.
+ (_initialize_infrun): Install infrun_inferior_exit as
+ inferior_exit observer.
+
+
+ * inferior.h (ptid_match): Declare.
+ * infrun.c (ptid_match): New.
+ * remote.c (queued_stop_reply): Rewrite and use ptid_match.
+ (handle_notification): Add debug output.
+ * linux-nat.c (ptid_match): Delete.
+
+
+ * gdb_ptrace.h (PT_SYSCALL): If PTRACE_SYSCALL is available, use it.
+ * syscalls/sparc-linux.xml: New.
+ * syscalls/sparc64-linux.xml: New.
+ * Makefile.in (XML_SYSCALL_FILES): Add new syscall XML files.
+ * sparc-linux-tdep.c (XML_SYSCALL_FILENAME_SPARC32): Define.
+ (sparc32_linux_get_syscall_number): New function.
+ (sparc32_linux_init_abi): Set syscall XML file name and hook up
+ syscall number fetcher.
+ * sparc64-linux-tdep.c (XML_SYSCALL_FILENAME_SPARC64): Define.
+ (sparc64_linux_get_syscall_number): New function.
+ (sparc64_linux_init_abi): Set syscall XML file name and hook up
+ syscall number fetcher.
+
+
+ Multiexec MI
+
+ * breakpoint.c (clear_syscall_counts): Take struct inferior*.
+ * inferior.c (add_inferior_silent): Notify inferior_added
+ observer.
+ (delete_inferior_1): Notify inferior_removed observer.
+ (exit_inferior_1): Pass inferior, not pid, to observer.
+ (inferior_appeared): Likewise.
+ (add_inferior_with_spaces): New.
+ (add_inferior_command): Use the above.
+ * inferior.h (delete_inferior_1, add_inferior_with_spaces):
+ Declare.
+
+ * inflow.c (inflow_inferior_exit): Likewise.
+ * jit.c (jit_inferior_exit_hook): Likewise.
+
+ * mi/mi-cmds.c (mi_cmds): Register add-inferior and
+ remove-inferior.
+ * mi/mi-cmds.h (mi_cmd_add_inferior, mi_cmd_remove_inferior): New.
+ * mi/mi-interp.c (mi_inferior_added, mi_inferior_removed): New.
+ (report_initial_inferior): New.
+ (mi_inferior_removed): Register the above. Make sure
+ inferior_added observer is called on the first inferior.
+ (mi_new_thread, mi_thread_exit): Thread group is now identified by
+ inferior number, not pid.
+ (mi_solib_loaded, mi_solib_unloaded): Report which inferiors are
+ affected.
+ * mi/mi-main.c (current_context): New.
+ (proceed_thread_callback): Use typed closure.
+ Proceed everything if pid is 0. Most implementation split into
+ (proceed_thread): ... this.
+ (run_one_inferior): New.
+ (mi_cmd_exec_continue, mi_cmd_exec_interrupt, mi_cmd_exec_run):
+ Adjust for multiexec behaviour.
+ (mi_cmd_add_inferior, mi_cmd_remove_inferior): New.
+ (mi_cmd_execute): Handle the 'thread-group' option here.
+ Do some extra checks.
+ * mi-parse.c (mi_parse): Handle the --all and --thread-group
+ options.
+ * mi-parse.h (struct mi_parse): New fields all and thread_group.
+
+
+ Make -exec-run a proper MI commands.
+
+ * mi/mi-cmds.h (mi_cmd_exec_run): Declare.
+ * mi/mi-cmds.c (mi_cmds): Adjust.
+ * mi/mi-main.c (mi_cmd_exec_run): New.
+
+
+ * tracepoint.h (set_traceframe_number)
+ (cleanup_restore_current_traceframe): Declare.
+ * tracepoint.c (set_traceframe_number): New.
+ (struct current_traceframe_cleanup): New.
+ (do_restore_current_traceframe_cleanup)
+ (restore_current_traceframe_cleanup_dtor)
+ (make_cleanup_restore_current_traceframe): New.
+ * infrun.c: Include tracepoint.h.
+ (fetch_inferior_event): Switch out and in of tfind mode.
+
+
+ * breakpoint.c (breakpoint_init_inferior): Also delete
+ bp_shlib_event breakpoints.
+ * solib-frv.c (enable_break): Remove call to
+ remove_solib_event_breakpoints.
+ * solib-svr4.c (enable_break): Ditto.
+ * solib-darwin.c (darwin_solib_create_inferior_hook): Ditto.
+ * solib-pa64.c (pa64_solib_create_inferior_hook): Ditto.
+ * solib-som.c (som_solib_create_inferior_hook): Ditto.
+ * solib-spu.c (spu_enable_break): Ditto.
+
+
+ * c-exp.y (token_and_value): s/union YYSTYPE/YYSTYPE.
+
+
+ * varobj.c (varobj_update): Avoid non-constants in initializers.
+
+
+ * dwarf2loc.c (read_pieced_value) <DWARF_VALUE_STACK>: Correctly
+ handle big-endian values.
+ (dwarf2_evaluate_loc_desc) <DWARF_VALUE_STACK>: Likewise.
+
+
+ PR9605
+
+ gdb/
+ * breakpoint.c (insert_bp_location): If inserting the read
+ watchpoint failed, fallback to an access watchpoint.
+ (bpstat_check_watchpoint): Stop for read watchpoint triggers even
+ if the value changed, if not watching the same memory for writes.
+ (watchpoint_locations_match): Add comment.
+ (update_global_location_list): Copy the location's watchpoint type.
+ * i386-nat.c (i386_length_and_rw_bits): It's an internal error to
+ handle read watchpoints here.
+ (i386_insert_watchpoint): Read watchpoints aren't supported.
+ * remote.c (remote_insert_watchpoint): Return 1 for unsupported
+ packets.
+ * target.h (target_insert_watchpoint): Update description.
+
+
+ * p-typeprint.c (pascal_type_print_varspec_prefix): Update.
+ * m2-typeprint.c (m2_print_type): Update.
+ * gdbtypes.c (recursive_dump_type): Update.
+ (copy_type_recursive): Update.
+ * c-typeprint.c (c_type_print_varspec_prefix): Update.
+ (c_type_print_base): Update.
+ * gdbtypes.h (TYPE_CODE_TEMPLATE, TYPE_CODE_TEMPLATE_ARG):
+ Remove.
+ (struct cplus_struct_type) <ntemplate_args>: Remove.
+ <struct template_arg>: Remove.
+ <is_dynamic>: Move earlier.
+ (TYPE_TEMPLATE_ARGS): Remove.
+ (TYPE_NTEMPLATE_ARGS): Remove.
+ (TYPE_TEMPLATE_ARG): Remove.
+
+
+ PR c++/8693, PR c++/9496:
+ * cp-namespace.c (cp_lookup_nested_type): Handle TYPE_CODE_UNION.
+ * c-exp.y (lex_one_token): Rename from yylex. Don't call
+ write_dollar_variable. Don't try to classify NAME tokens.
+ (token_and_value): New type.
+ (token_fifo, popping, name_obstack): New globals.
+ (classify_name): New function.
+ (classify_inner_name): Likewise.
+ (yylex): Likewise.
+ (VARIABLE): Now has type sval.
+ (exp : VARIABLE): Call write_dollar_variable.
+ (qualified_name): Use TYPENAME, not typebase. Add production for
+ multiple "::" instances.
+ (variable): Use name_not_typename.
+ (qualified_type): Remove.
+ (typebase): Update.
+
+
+ * symfile.c (addr_info_make_relative): Extend comment. Move SECT to
+ a more inner block. Initialize ADDR by LOWER_OFFSET only if it was
+ found by bfd_get_section_by_name.
+ * symfile.h (struct section_addr_info) <sectindex>: New comment.
+
+
+ * NEWS: Add new "[...] since 7.1" section. Rename the "[...] since
+ 7.0 section" into "Changes in 7.1".
+
+
+ GDB 7.1 branch created (branch timestamp: 2010-02-18 20:00 UTC)
+ * version.in: Bump version to 7.1.50.20100219-cvs.
+
+
+ * mi/mi-main.c (mi_cmd_exec_jump): Drop unneeded `return'.
+ * symfile.c (symfile_map_offsets_to_segments): Fix assertion.
+
+
+ * NEWS: Add Python API Improvements section.
+
+
+ * NEWS: Correct typo.
+
+
+ * objfiles.c (gdb_bfd_ref): Handle abfd==NULL.
+
+
+ * symfile.c (build_section_addr_info_from_objfile): Include sections
+ only if they are SEC_ALLOC or SEC_LOAD.
+
+
+ PR shlibs/11293
+ * solib-svr4.c (enable_break): Check size of CORE_ADDR instead
+ of ULONGEST for address size.
+
+
+ * NEWS: Add C++ improvements section.
+
+
+ * python/python-internal.h [!WITH_THREAD] (PyGILState_Release,
+ PyThreadState_Swap): Avoid "statement with no effect" warning.
+
+
+ * solib-svr4.c (enable_break <target_auxv_search>): New variable
+ addr_bit. Adjust LOAD_ADDR sign for cross-arch inferiors.
+
+
+ * avr-tdep.c (avr_scan_prologue): Convert an if statement to a
+ gdb_assert. Fix info->size for SIG prologue.
+
+
+ * infcmd.c (show_inferior_tty_command): Check for NULL.
+ Correct output message.
+
+
+ * linespec.c (decode_line_1): Handle FILE:FUNCTION even if
+ FUNCTION contains parentheses. Improve removal of a trailing
+ single quote.
+
+
+ * gcore.c (do_bfd_delete_cleanup): New function.
+ (gcore_command): Use it. Discard the cleanup after success.
+ (gcore_copy_callback): Delete dead code.
+
+
+ * symfile.c (addr_info_make_relative): Always use
+ find_lowest_section.
+
+
+ * NEWS: Added entry for namespace fixes.
+
+
+ * dwarf2read.c (guess_structure_name): Allocate name on the
+ objfile obstack.
+
+
+ * c-typeprint.c (c_type_print_base): Reverse order of test.
+
+
+ * solib-svr4.c (LM_ADDR_CHECK): New variable minpagesize. Optionally
+ initialize it from ELF BFD. Extend the prelink condition by it.
+
+
+ * defs.h (parse_pid_to_attach): New.
+ * utils.c (parse_pid_to_attach): New.
+ * darwin-nat.c (darwin_attach): Replace ARGS parsing by parse_pid.
+ * gnu-nat.c (gnu_attach): Likewise.
+ * nto-procfs.c (procfs_attach): Likewise.
+ * procfs.c (procfs_attach): Likewise.
+ * windows-nat.c (windows_attach): Likewise.
+ * inf-ptrace.c (inf_ptrace_attach): Likewise. Remove variable dummy.
+ * inf-ttrace.c (inf_ttrace_attach): Likewise.
+ * remote.c (extended_remote_attach_1): Likewise. New comment on getpid
+ check.
+
+
+ * MAINTAINERS: Add myself for write after approval privileges.
+
+
+ * solib-svr4.c: (LM_ADDR_CHECK): Move variable align to a more inner
+ block.
+
+
+ * solib-svr4.c: (LM_ADDR_CHECK): Print successful prelink adjustment
+ only if INFO_VERBOSE.
+
+
+ * mi/mi-main.c: Added the --reverse flag to the following MI
+ commands: exec-continue, exec-finish, exec-next, exec-step,
+ exec-next-instruction, exec-step-instruction. This is to
+ support reverse execution over the MI interface to gdb.
+
+
+ * tracepoint.c (_initialize_tracepoint): Specify that the address
+ range of `tfind outsize' is exclusive, and that the address range
+ of `tfind range' is inclusive, in the commands' help strings.
+
+
+ Spurious "dll not found" error messages on x64-windows.
+ * windows-nat.c: Add include of complaints.h.
+ (handle_unload_dll): Change dll-not-found error into a complaint.
+
+
+ * breakpoint.c (allocate_bp_location): Use bp_loc_other for
+ bp_tracepoint and bp_fast_tracepoint, not
+ bp_loc_software_breakpoint.
+ (update_global_location_list): Tracepoints are never duplicates of
+ anything.
+
+
+ * breakpoint.c (break_command_really): Change return type to int.
+ Return false if no breakpoint was created, true otherwise.
+ (trace_command): Don't set the tracepoint count if no tracepoint
+ was created.
+ (ftrace_command): Ditto.
+ (create_tracepoint_from_upload): Bail out if the tracepoint wasn't
+ created in the breakpoints table.
+
+
+ * solib-svr4.c (LM_ADDR_CHECK): New comment on PPC-aware condition.
+
+
+ * ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out if
+ the offset value isn't of integral type.
+
+
+ * breakpoint.c (delete_breakpoint) <bpt->related_breakpoint != NULL>:
+ New.
+
+
+ * ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out on
+ non-subscriptable types.
+ * valarith.c (binop_types_user_defined_p): New, abstracted out
+ from ...
+ (binop_user_defined_p): ... this.
+ * value.h (binop_types_user_defined_p): Declare.
+
+
+ * tracepoint.c (tfile_open): Remove spurious discard_cleanups.
+ Merge uploaded TSVs before merging uploaded tracepoints.
+
+
+ * ax-gdb.c (gen_deref): Don't allow dereferencing void pointers.
+
+
+ * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Add extra
+ whitespace character after a dot in comment.
+ (mi_cmd_stack_list_arguments, mi_cmd_stack_list_variables):
+ Likewise.
+ (list_args_or_locals): For the 'all' (that is
+ -stack-list-variables) case, always output list of tuples.
+ Output 'arg' field if variable is argument.
+
+
+ * parser-defs.h (parser_debug): Declare.
+ * parse.c (_initialize_parse): Install "debug parser" set/show
+ command.
+ (parser_debug): New global.
+ (show_parserdebug): New function.
+ * c-exp.y (c_parse): Set yydebug.
+
+
+ * target-descriptions.c (tdesc_type): Add TDESC_TYPE_I387_EXT,
+ TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR.
+ (tdesc_predefined_types): Add i387_ext, i386_eflags and
+ i386_mxcsr.
+ (tdesc_find_type): New.
+ (tdesc_gdb_type): Use tdesc_find_type. Handle TDESC_TYPE_I387_EXT,
+ TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR.
+
+ * target-descriptions.h (tdesc_find_type): New.
+
+
+ * gdb-gdb.py: Comment fix.
+
+
+ * machoread.c (macho_symfile_relocate): New function.
+ (macho_sym_fns): Use macho_symfile_relocate instead of
+ default_symfile_relocate.
+ (macho_oso_data): New type.
+ (current_oso): New variable.
+ (macho_add_oso_symfile): Do not compute section_addr_info, but
+ instead set vma of sections.
+ Do not set SYMFILE_VERBOSE to call symbol_file_add_from_bfd.
+ Set and clear current_oso.
+
+
+ Wrong type description for tagged type parameter.
+ * ada-lang.c (ada_evaluate_subexp) [OP_VAR_VALUE]: When noside is
+ EVAL_AVOID_SIDE_EFFECTS, also handle the case when type is a
+ reference to a tagged type.
+
+
+ * objfiles.c (objfile_separate_debug_iterate): Do not iterate on
+ brothers of the parent.
+
+
+ PR c++/8017:
+ * value.h: Update.
+ * valops.c (search_struct_field): Make 'name' const.
+ (search_struct_method): Likewise.
+ (find_method_list): Make 'method' const.
+ (value_struct_elt): Make 'name' and 'err' const.
+ (value_find_oload_method_list): Make 'method' const.
+ (find_overload_match): Make 'name' const.
+ * eval.c (evaluate_subexp_standard): New locals function,
+ function_name.
+ <OP_FUNCALL>: Handle OP_SCOPE specially.
+
+
+ * infrun.c (handle_inferior_event): Do not look up regcache
+ for exited processes.
+
+
+ PR gdb/10728
+ * valarith.c (value_ptrdiff): Added a test for a zero type length,
+ warn if found, and assume length = 1.
+
PR gdb/9067