+
+ * amd64fbsd-nat.c (amd64fbsd_supply_pcb): Conditionally compile in
+ support for pcb->pcb_{fs,ds,es,gs} on FreeBSD older than 8.0.
+
+
+ * config/djgpp/fnchange.lst: Add translations for cpu-microblaze.c,
+ elf32-microblaze.c, microblaze-rom.c, microblaze-linux-tdep.c,
+ microblaze-tdep.h, microblaze-tdep.c, microblaze-opc.h,
+ microblaze-opcm.h, microblaze-dis.c, microblaze-dis.h, sim/microblaze,
+ microblaze.h, and microblaze.isa.
+ * configure.tgt: Add targets microblaze*-linux-*, microblaze*-xilinx-*.
+ * Makefile.in: Build microblaze-tdep.o, microblaze-linux-tdep.o.
+ HFILES_NO_SRCDIR: Add microblaze-tdep.h.
+ * microblaze-linux-tdep.c: New.
+ * microblaze-tdep.c: New.
+ * microblaze-tdep.h: New.
+ * NEWS: Announce Xilinx MicroBlaze support.
+
+
+ PR gdb/10757
+ * linux-nat.c (linux_nat_post_attach_wait): Adjust assert.
+ (lin_lwp_attach_lwp, linux_nat_attach): Handle disappearing LWP.
+
+
+ * record.c (record_insn_max_num): Make unsigned.
+ (_initialize_record): Use uinteger instead of zinteger for
+ set command, so that it will report "unlimited" for zero.
+
+
+ * record.c (record_reg_alloc): New function.
+ (record_reg_release): New function.
+ (record_mem_alloc): New function.
+ (record_mem_release): New function.
+ (record_end_alloc): New function.
+ (record_end_release): New function.
+ (record_entry_release): New function.
+ (record_list_release): Simplify, call record_entry_release.
+ (record_list_release_next): Rename to record_list_release_following.
+ Simplify and call record_entry_release.
+ (record_list_release_first): Simplify, comment, and use
+ record_entry_release.
+ (record_arch_list_add_reg): Simplify, call record_reg_alloc.
+ (record_arch_list_add_mem): Simplify, call record_mem_alloc.
+ (record_arch_list_add_end): Simplify, call record_end_alloc.
+
+
+ * record.c (record_list_release_first): Do not decrement
+ record_insn_num.
+ (set_insn_num_max): Remove printf.
+ Decrement record_insn_num in the loop.
+
+
+ * dwarf2read.c (read_import_statement): Call follow_die_ref_or_sig.
+
+
+ * dwarf2read.c (dwarf2_const_value): Fix order of arguments to
+ store_unsigned_integer.
+
+
+ * configure.ac (build_warnings): Add -Wunused-value.
+ * configure: Regenerate.
+
+
+ * solib-darwin.c: Remove trailing whitespaces.
+ (darwin_dyld_version_ok): Fix typo.
+
+
+ * sh-tdep.c (sh_gdbarch_init): Add show_regs settings for
+ bfd_mach_sh3_nommu, bfd_mach_sh2a_nofpu_or_sh3_nommu,
+ bfd_mach_sh2a_or_sh3e, bfd_mach_sh2a_or_sh4, bfd_mach_sh4_nommu_nofpu,
+ and bfd_mach_sh2a_nofpu_or_sh4_nommu_nofpu.
+ Move bfd_mach_sh2a_or_sh4 to use the same configuration as
+ bfd_mach_sh4.
+
+
+ * arm-tdep.c (arm_push_dummy_call): Set the low bit of LR for
+ a Thumb entry point.
+ (thumb_get_next_pc): Handle Thumb-2 and ARM v6 instructions. Refuse
+ to single step into IT blocks.
+
+
+ * infcall.c (call_function_by_hand): Formatting.
+
+
+ * solib-darwin.c: Add an empty line after comment for functions.
+ (struct gdb_dyld_all_image_infos): Improve comment.
+ (DYLD_VERSION): Removed and replaced by ...
+ (DYLD_VERSION_MAX, DYLD_VERSION_MIN): ... New macros.
+ (darwin_dyld_version_ok): New function.
+ (darwin_load_image_infos): Call darwin_dyld_version_ok.
+ (darwin_current_sos): Ditto.
+ (darwin_solib_create_inferior_hook): Ditto.
+
+
+ * machoread.c: Add an empty line after comment for functions.
+ (oso_el_compare_name): New function.
+ (macho_add_oso_symfile): New function.
+ (macho_oso_symfile): Use macho_add_oso_symfile. Sort the oso
+ and optimize accesses to libraries.
+
+
+ * objfiles.c (objfile_has_symbols): New function.
+ * objfiles.h (objfile_has_symbols): Add prototype.
+ * symfile.c (symbol_file_add_with_addrs_or_offsets): Call
+ objfile_has_symbols.
+ (reread_symbols): Ditto.
+
+
+ * i386-tdep.c (i386_process_record): Add xgetbv/xsetbv
+ instructions support.
+
+
+ * procfs.c (procfs_make_note_section): Go back to only outputing
+ an NT_PSTATUS note when UNIXWARE is defined.
+
+
+ * features/xinclude.dtd: Correct EMPTY typo.
+
+
+ * i386-tdep.c (i386_process_record): Or-equals, not not-equals.
+
+
+ * mi/mi-cmd-stack.c (list_args_or_locals): Use internal_error.
+ Put "break" statements on their own line.
+
+
+ * linux-nat.c (linux_nat_wait_1): Bail out, if TARGET_WNOHANG and
+ we found no event while waiting for a specific LWP.
+ * infrun.c (handle_inferior_event): Handle TARGET_WAITKIND_IGNORE
+ before anything else.
+
+
+ * procfs.c (procfs_make_note_section): Always output a NT_PSTATUS
+ note when NEW_PROC_API is defined.
+
+
+ * corelow.c (core_has_fake_pid): New.
+ (core_close): Clear it.
+ (add_to_thread_list): Fake a pid if one is not found on a Solaris
+ core. Add the inferior here. Always add the thread, don't use
+ thread_change_ptid.
+ (core_open): Don't add the main thread or the inferior here unless
+ we find that the core had no .reg/NN sections.
+ (get_core_register_section): Handle Solaris cores with fake pids.
+
+ * corelow.c (add_to_thread_list): Fix typo.
+
+
+ PR gdb/10457
+ * elfread.c (elf_symtab_read): Don't use alloca in a loop.
+
+
+ * i386-nat.c (i386_stopped_by_hwbp): Remove.
+
+
+ * NEWS: Update following the GDB 7.0 release.
+
+
+ ARI fix: OP eol rule.
+ * doublest.c (floatformat_from_length): Avoid operator at end of line.
+ * dwarf2-frame.c (dwarf2_build_frame_info): Idem.
+ * dwarf2read.c (read_array_order, dwarf_decode_macros): Idem.
+ * eval.c (evaluate_subexp_standard): Idem.
+ * event-loop.c (create_timer, handle_timer_event): Idem.
+ * expprint.c (print_subexp_standard): Idem.
+ * f-exp.y (variable): Idem.
+ * f-typeprint.c (f_print_type): Idem.
+
+
+ ARI fix: OP eol rule.
+ * blockframe.c (find_pc_partial_function): Avoid operator at end of
+ line.
+ * buildsym.c (find_symbol_in_list): Idem.
+ (start_subfile, patch_subfile_names): Idem.
+ * c-exp.y (variable, yylex): Idem.
+ * c-typeprint.c (c_print_type, c_type_print_base): Idem.
+ * c-valprint.c (c_val_print): Idem.
+ * coffread.c (patch_opaque_types, process_coff_symbol): Idem.
+ * corelow.c (core_open): Idem.
+ * cris-tdep.c (move_reg_to_mem_movem_op): Idem.
+ * cli/cli-decode.c (help_cmd_list, find_command_name_length): Idem.
+
+
+ ARI fix: OP eol rule.
+ * ada-exp.y (block_lookup): Avoid operator at end of line.
+ * aix-thread.c (pd_enable): Idem.
+ * alpha-tdep.c (alpha_next_pc): Idem.
+ * arm-tdep.c (arm_skip_prologue, arm_scan_prologue): Idem.
+ (condition_true, coff_sym_is_thumb): Idem.
+
+
+ GDB 7.0 released.
+
+
+ ARI fix: "%p" rule.
+ * target.c (debug_to_thread_architecture): Replace %p by %s using
+ host_address_to_string function.
+
+
+ * darwin-nat.c: Add __TEXT __info_plist content.
+ (darwin_attach_pid): Update error message.
+
+
+ * MAINTAINERS: Add Tristan Gingold as Maintainer of the Darwin port.
+
+
+ * MAINTAINERS: Add Jan Kratochvil as Maintainer of the ia64 target.
+
+
+ Revert:
+ * gdbinit.in: Set data-directory to @srcdir@.
+
+
+ * NEWS: Mention non-stop mode.
+
+
+ * gdbinit.in: Set data-directory to @srcdir@.
+
+
+ * linux-nat.c (TRAP_IS_SYSCALL, TRAP_REMOVE_SYSCALL_FLAG): Delete.
+ (SYSCALL_SIGTRAP): New.
+ (status_to_str): Adjust.
+ (get_pending_status): Pending events in lp->waitstatus don't map
+ to any signal. Simplify.
+ (linux_handle_syscall_trap): New.
+ (linux_handle_extended_wait): When handling PTRACE_EVENT_CLONE
+ events, use linux_ops->to_resume instead of direct ptrace with
+ PTRACE_CONT. Remove all TRAP_IS_SYSCALL handling.
+ (wait_lwp): Handle syscall traps with linux_handle_syscall_trap,
+ and clear the sysgood bit.
+ (status_callback): Make it clearer and add comments.
+ (cancel_breakpoints_callback): Ignore if LP has waitstatus set.
+ (linux_nat_filter_event): Handle syscall traps with
+ linux_handle_syscall_trap, and clear the sysgood bit. Move the
+ check for storing siginfo to after handling extended statuses and
+ syscall traps. Store status in the lwp object.
+ (linux_wait_1): Don't swap the pending status out of the lwp
+ object until after deciding we found an lwp with an interesting
+ event. Requeue a new pending signal if we find one while getting
+ rid or a pending SIGSTOP we sent ourselves. Don't clear the
+ sysgood bit here.
+
+ * infrun.c (deal_with_syscall_event): Rename to ...
+ (handle_syscall_event): ... this. Always context switch and set
+ stop_pc, even if not catching the syscall. If not catching the
+ syscall, always resume with keep_going.
+ (handle_inferior_event): Adjust.
+
+
+ Fix compatibility of --with-system-readline and readline-6.0+.
+ * configure.ac <--with-system-readline> (for readline_echoing_p): New
+ test.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+
+
+ * MAINTAINERS: Move Don Lee to the correct section (Write After
+ Approval).
+
+
+ * infcall.c (call_function_by_hand): Add a new cleanup branch for
+ std::terminate breakpoints.
+
+
+ * ia64-tdep.c (ia64_convert_from_func_ptr_addr): New variable buf.
+ Check first the descriptor memory is readable.
+
+
+ * python/py-value.c (valpy_string): NULL-terminate 'keywords'.
+
+
+ * s390-tdep.c (s390_displaced_step_fixup): Use type ULONGEST
+ instead of CORE_ADDR for "amode".
+
+
+ * ia64-tdep.c: Update the comments on how we insert/remove
+ breakpoints for L-X instructions.
+ (ia64_memory_insert_breakpoint, ia64_memory_remove_breakpoint):
+ Update the comments inside these functions.
+
+
+ * gdbarch.sh (displaced_step_hw_singlestep): New callback.
+ * gdbarch.c, gdbarch.h: Regenerate.
+ * arch-utils.c (default_displaced_step_hw_singlestep): New function.
+ * arch-utils.h (default_displaced_step_hw_singlestep): Add prototype.
+
+ * ppc-linux-tdep.c (ppc_displaced_step_hw_singlestep): New function.
+ (rs6000_gdbarch_init): Install it.
+
+ * infrun.c (displaced_step_fixup): Use new callback to determine
+ whether to "step" or "continue" displaced copy.
+ (resume): Likewise. Do not call maybe_software_singlestep
+ for displaced stepping.
+ (maybe_software_singlestep): Do not handle displaced stepping.
+
+
+ * eval.c (evaluate_subexp_standard) [OP_OBJC_MSGCALL]: Support
+ platforms that use function descriptors. Prefer to use function
+ pointer types instead of function types.
+ * linespec.c (decode_objc): Support function descriptors. Fully
+ initialize SAL result.
+ * objc-lang.c (find_methods): Support function descriptors.
+ Do not require function symbol to point to text section.
+
+ * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): When calling
+ via a function pointer, use the descriptor it points to.
+
+
+ Fix ia64 breakpoints in the L-X slot.
+ * ia64-tdep.c (ia64_memory_insert_breakpoint): Extend the comment.
+ New variable shadow_slotnum, use it appropriately instead of slotnum.
+ Move shadow_len initialization before SLOTNUM adjustment, cover now the
+ whole remaining bundle. Error now on breakpoints requested for the
+ slot 2 of L-X bundles. Better sanity check the requested slot 1 of L-X
+ bundles.
+ (ia64_memory_remove_breakpoint): New variable shadow_slotnum, use it
+ appropriately instead of slotnum. Warn now on breakpoints requested
+ for the slot 2 of L-X bundles. Better sanity check the requested slot
+ 1 of L-X bundles. Update the assertio check of PLACED_SIZE.
+ (ia64_breakpoint_from_pc): New variable shadow_slotnum, use it
+ appropriately instead of slotnum. Move *lenptr initialization before
+ SLOTNUM adjustment, cover now the whole remaining bundle. Error now
+ on breakpoints requested for the slot 2 of L-X bundles. Better sanity
+ check the requested slot 1 of L-X bundles. Simplify the returned
+ expression.
+
+
+ * ia64-tdep.c (ia64_memory_insert_breakpoint): Check the slotnum
+ and the type of instruction before deciding which slot to save
+ in the breakpoint shadown contents.
+
+
+ * linux-nat.c (status_to_str): Handle TRAP_IS_SYSCALL.
+ (TRAP_REMOVE_SYSCALL_FLAG): New macro.
+ (linux_nat_wait_1): Mask off is-syscall bit in wait status for
+ TRAP_IS_SYSCALL before passing value to caller.
+
+
+ * valops.c (value_assign): Respect parent offset when
+ assigning to a bitfield.
+
+
+ * i386-tdep.c (i386_process_record): Remove "0x" that
+ don't need.
+
+
+ * s390-tdep.c (op_bctr, op_bctgr, op_bct, op1_bctg, op2_bctg,
+ op_bxh, op1_bxhg, op2_bxhg, op_bxle, op1_bxleg, op2_bxleg,
+ op1_brct, op2_brct, op1_brctg, op2_brctg, op_brxh, op1_brxhg,
+ op2_brxhg, op_brxle, op1_brxlg, op2_brxlg): New enum values.
+ (is_rsi, is_rie): New insn format decoder routines.
+ (s390_displaced_step_fixup): New function.
+ (s390_gdbarch_init): Install displaced stepping routines.
+
+
+ * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*):
+ Add linux-tdep.o to gdb_target_obs.
+ (s390*-*-*): Likewise.
+
+
+ * score-tdep.c: Comment out some simulator dependent codes.
+ * score-tdep.h: Delete some simulator dependent macro definitions.
+
+
+ * record.c (record_open): Change "query" to "error".
+ (cmd_record_stop): Change "query" to "printf_unfiltered".
+
+
+ * i386-nat.c (i386_stopped_data_address): Also check that
+ hitted watch register is not vacant.
+
+
+ PR python/10664:
+ * language.h (struct language_defn) <la_get_string>: Add
+ 'char_type' argument.
+ (LA_GET_STRING): Likewise.
+ (default_get_string, c_get_string): Update.
+ * language.c (default_get_string): Add 'char_type' argument.
+ * c-valprint.c (c_textual_element_type): Rename from
+ textual_element_type. No longer static. Update callers.
+ * c-lang.h (c_textual_element_type): Declare.
+ * c-lang.c (c_get_string): Add 'char_type' argument.
+
+
+ * charset.c (iconv_open): Use UTF-16 and UTF-32, not UCS-2 and
+ UCS-4.
+ (iconv): Rename 'ucs_flag'.
+ (GDB_DEFAULT_TARGET_WIDE_CHARSET): Use UTF-32.
+ * c-lang.c (charset_for_string_type): Use UTF-16 and UTF-32, not
+ UCS-2 and UCS-4.
+ (convert_ucn): Use UTF-32.
+
+
+ * mi/gdb-mi.el: Remove file.
+
+
+ * record.c (record_open, record_store_registers, record_xfer_partial):
+ Replace calls to nquery by calls to query.
+
+
+ PR gdb/10684:
+ * event-top.c (command_line_handler): Terminate linebuffer before
+ xstrdup.
+
+
+ * solib.c (solib_bfd_open): Relax a bit the compatibility check.
+
+
+ * source.c (forget_cached_source_info): Clear last_source_visited.
+ (init_last_source_visited): Delete.
+ (directory_command): Do not clear last_source_visited. Call
+ forget_cached_source_info only if required.
+ (unset_substitute_path_command, set_substitute_path_command): Call
+ forget_cached_source_info.
+ * mi/mi-cmd-env.c (mi_cmd_env_dir): Do not call
+ init_last_source_visited.
+ * defs.h (init_last_source_visited): Delete declaration.
+
+
+ PR gdb/10583:
+ * python/py-value.c (valpy_int): Use PyLong_FromLongLong.
+ (valpy_long): Likewise.
+
+
+ PR python/10680:
+ * eval.c (evaluate_subexp_standard) <do_call_it>: Handle internal
+ functions in EVAL_AVOID_SIDE_EFFECTS case.
+
* MAINTAINERS: Add myself under Write After Approval.