X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=e0a3322e257b57bc2f4af9b8d1ad68db9c1369f3;hb=cc6bcb548d67a5a0a7223d81bd43c299312320c8;hp=2075f47f9a18e11545df7f0fb3f9692e86128a3a;hpb=0c6aef226ede6ef6547adb170fb5afb002e96257;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2075f47f9a..e0a3322e25 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,421 @@ +2018-07-03 Tom Tromey + + * common/ptid.c (ptid_get_tid): Remove. + * common/ptid.h (ptid_get_tid): Don't declare. + * ada-tasks.c: Update. + * aix-thread.c: Update. + * bsd-uthread.c: Update. + * darwin-nat.c: Update. + * fbsd-nat.c: Update. + * i386-darwin-nat.c: Update. + * infrun.c: Update. + * linux-tdep.c: Update. + * nto-procfs.c: Update. + * ppc-ravenscar-thread.c: Update. + * python/py-infthread.c: Update. + * ravenscar-thread.c: Update. + * sol-thread.c: Update. + * sparc-ravenscar-thread.c: Update. + * windows-nat.c: Update. + +2018-07-03 Tom Tromey + + * common/ptid.c (ptid_get_lwp): Remove. + * common/ptid.h (ptid_get_lwp): Don't declare. + * aarch64-linux-nat.c: Update. + * ada-tasks.c: Update. + * aix-thread.c: Update. + * amd64-linux-nat.c: Update. + * arm-linux-nat.c: Update. + * corelow.c: Update. + * fbsd-nat.c: Update. + * fbsd-tdep.c: Update. + * gnu-nat.c: Update. + * i386-cygwin-tdep.c: Update. + * i386-gnu-nat.c: Update. + * i386-linux-nat.c: Update. + * ia64-linux-nat.c: Update. + * inf-ptrace.c: Update. + * infrun.c: Update. + * linux-fork.c: Update. + * linux-nat.c: Update. + * linux-tdep.c: Update. + * linux-thread-db.c: Update. + * mips-linux-nat.c: Update. + * nat/aarch64-linux-hw-point.c: Update. + * nat/aarch64-linux.c: Update. + * nat/linux-btrace.c: Update. + * nat/linux-osdata.c: Update. + * nat/linux-procfs.c: Update. + * nat/x86-linux-dregs.c: Update. + * obsd-nat.c: Update. + * ppc-fbsd-nat.c: Update. + * ppc-linux-nat.c: Update. + * procfs.c: Update. + * python/py-infthread.c: Update. + * ravenscar-thread.c: Update. + * remote.c: Update. + * s390-linux-nat.c: Update. + * sol-thread.c: Update. + * sol2-tdep.c: Update. + * spu-linux-nat.c: Update. + * x86-linux-nat.c: Update. + * xtensa-linux-nat.c: Update. + +2018-07-03 Tom Tromey + + * common/ptid.c (ptid_get_pid): Remove. + * common/ptid.h (ptid_get_pid): Don't declare. + * aarch64-linux-nat.c: Update. + * ada-lang.c: Update. + * aix-thread.c: Update. + * alpha-bsd-nat.c: Update. + * amd64-fbsd-nat.c: Update. + * amd64-linux-nat.c: Update. + * arm-linux-nat.c: Update. + * arm-nbsd-nat.c: Update. + * auxv.c: Update. + * break-catch-syscall.c: Update. + * breakpoint.c: Update. + * bsd-uthread.c: Update. + * corelow.c: Update. + * ctf.c: Update. + * darwin-nat.c: Update. + * fbsd-nat.c: Update. + * fbsd-tdep.c: Update. + * gcore.c: Update. + * gnu-nat.c: Update. + * hppa-nbsd-nat.c: Update. + * hppa-obsd-nat.c: Update. + * i386-fbsd-nat.c: Update. + * ia64-linux-nat.c: Update. + * inf-ptrace.c: Update. + * infcmd.c: Update. + * inferior.c: Update. + * inferior.h: Update. + * inflow.c: Update. + * infrun.c: Update. + * linux-fork.c: Update. + * linux-nat.c: Update. + * linux-tdep.c: Update. + * linux-thread-db.c: Update. + * m68k-bsd-nat.c: Update. + * mi/mi-interp.c: Update. + * mi/mi-main.c: Update. + * mips-linux-nat.c: Update. + * mips-nbsd-nat.c: Update. + * mips64-obsd-nat.c: Update. + * nat/aarch64-linux-hw-point.c: Update. + * nat/aarch64-linux.c: Update. + * nat/linux-btrace.c: Update. + * nat/linux-osdata.c: Update. + * nat/linux-procfs.c: Update. + * nat/x86-linux-dregs.c: Update. + * nto-procfs.c: Update. + * obsd-nat.c: Update. + * ppc-linux-nat.c: Update. + * ppc-nbsd-nat.c: Update. + * ppc-obsd-nat.c: Update. + * proc-service.c: Update. + * procfs.c: Update. + * python/py-inferior.c: Update. + * python/py-infthread.c: Update. + * ravenscar-thread.c: Update. + * record.c: Update. + * remote-sim.c: Update. + * remote.c: Update. + * rs6000-nat.c: Update. + * s390-linux-nat.c: Update. + * sh-nbsd-nat.c: Update. + * sol-thread.c: Update. + * sparc-nat.c: Update. + * sparc64-tdep.c: Update. + * spu-linux-nat.c: Update. + * spu-tdep.c: Update. + * target-debug.h: Update. + * target.c: Update. + * thread.c: Update. + * tid-parse.c: Update. + * tracefile-tfile.c: Update. + * vax-bsd-nat.c: Update. + * windows-nat.c: Update. + * x86-linux-nat.c: Update. + * x86-nat.c: Update. + +2018-07-03 Tom Tromey + + * common/ptid.c (pid_to_ptid): Remove. + * common/ptid.h (pid_to_ptid): Don't declare. + * aix-thread.c: Update. + * arm-linux-nat.c: Update. + * common/ptid.c: Update. + * common/ptid.h: Update. + * corelow.c: Update. + * ctf.c: Update. + * darwin-nat.c: Update. + * fbsd-nat.c: Update. + * fork-child.c: Update. + * gnu-nat.c: Update. + * go32-nat.c: Update. + * inf-ptrace.c: Update. + * infcmd.c: Update. + * inferior.c: Update. + * infrun.c: Update. + * linux-fork.c: Update. + * linux-nat.c: Update. + * nat/aarch64-linux-hw-point.c: Update. + * nat/fork-inferior.c: Update. + * nat/x86-linux-dregs.c: Update. + * nto-procfs.c: Update. + * obsd-nat.c: Update. + * procfs.c: Update. + * progspace.c: Update. + * remote.c: Update. + * rs6000-nat.c: Update. + * s390-linux-nat.c: Update. + * sol-thread.c: Update. + * spu-linux-nat.c: Update. + * target.c: Update. + * top.c: Update. + * tracefile-tfile.c: Update. + * windows-nat.c: Update. + +2018-07-03 Tom Tromey + + * common/ptid.h (ptid_build): Don't declare. + * common/ptid.c (ptid_build): Remove. + * aix-thread.c: Update. + * bsd-kvm.c: Update. + * bsd-uthread.c: Update. + * common/agent.c: Update. + * common/ptid.c: Update. + * common/ptid.h: Update. + * corelow.c: Update. + * darwin-nat.c: Update. + * fbsd-nat.c: Update. + * gnu-nat.c: Update. + * linux-fork.c: Update. + * linux-nat.c: Update. + * linux-thread-db.c: Update. + * nat/linux-osdata.c: Update. + * nat/linux-procfs.c: Update. + * nto-procfs.c: Update. + * obsd-nat.c: Update. + * proc-service.c: Update. + * procfs.c: Update. + * ravenscar-thread.c: Update. + * remote-sim.c: Update. + * remote.c: Update. + * sol-thread.c: Update. + * target.c: Update. + * windows-nat.c: Update. + +2018-07-03 Tom Tromey + + * infrun.c (follow_exec): Use exit_inferior_silent. + * inferior.c (exit_inferior_num_silent): Remove. + * inferior.h (exit_inferior_num_silent): Don't declare. + +2018-07-03 Tom Tromey + + PR cli/23340: + * darwin-nat.c (darwin_attach_pid): Reset inferior and + inferior_ptid on error. + +2018-07-02 Maciej W. Rozycki + Simon Marchi + + PR tdep/8282 + * disasm.h (gdb_disassembler): Add + `m_disassembler_options_holder'. member + * disasm.c (get_all_disassembler_options): New function. + (gdb_disassembler::gdb_disassembler): Use it. + (gdb_buffered_insn_length_init_dis): Likewise. + (gdb_buffered_insn_length): Adjust accordingly. + (set_disassembler_options): Handle options with arguments. + (show_disassembler_options_sfunc): Likewise. Add a leading new + line if showing options with descriptions. + (disassembler_options_completer): Adapt to using the + `disasm_options_and_args_t' structure. + * mips-tdep.c (mips_disassembler_options): New variable. + (mips_disassembler_options_o32): Likewise. + (mips_disassembler_options_n32): Likewise. + (mips_disassembler_options_n64): Likewise. + (gdb_print_insn_mips): Don't set `disassembler_options'. + (gdb_print_insn_mips_n32, gdb_print_insn_mips_n64): Remove + functions. + (mips_gdbarch_init): Always set `gdbarch_print_insn' to + `gdb_print_insn_mips'. Set `gdbarch_disassembler_options', + `gdbarch_disassembler_options_implicit' and + `gdbarch_valid_disassembler_options'. + * arm-tdep.c (_initialize_arm_tdep): Adapt to using the + `disasm_options_and_args_t' structure. + * gdbarch.sh (disassembler_options_implicit): New `gdbarch' + method. + (valid_disassembler_options): Switch from `disasm_options_t' to + the `disasm_options_and_args_t' structure. + * NEWS: Document `set disassembler-options' support for the MIPS + target. + * gdbarch.h: Regenerate. + * gdbarch.c: Regenerate. + +2018-07-02 Sebastian Huber + + * riscv-tdep.c (riscv_register_aliases): Swap "fp" and "s0" entries. + +2018-06-29 Joel Brobecker + + * amd64-darwin-tdep.c (x86_darwin_init_abi_64): Add missing + parameter in call to amd64_target_description. + * amd64-dicos-tdep.c (amd64_dicos_init_abi): Likewise. + * amd64-fbsd-tdep.c (amd64fbsd_core_read_description) + (amd64fbsd_init_abi): Likewise. + * amd64-nbsd-tdep.c (amd64nbsd_init_abi): Likewise. + * amd64-obsd-tdep.c (amd64obsd_init_abi): Likewise. + * amd64-sol2-tdep.c (amd64_sol2_init_abi): Likewise. + * amd64-fbsd-nat.c (amd64_fbsd_nat_target): Likewise. + +2018-06-29 Pedro Alves + + * gdb/amd64-tdep.h (amd64_create_target_description): Add + "segments" parameter. + * gdb/amd64-tdep.c (amd64_none_init_abi, amd64_x32_none_init_abi) + (_initialize_amd64_tdep): Update call to + amd64_create_target_description. + (amd64_target_description): Add "segments" parameter. Adjust + the implementation to use it. + * gdb/amd64-linux-tdep.c (amd64_linux_read_description): Update + call to amd64_create_target_description. + * gdb/amd64-windows-tdep.c (amd64_windows_init_abi): Likewise. + * gdb/arch/amd64.h (amd64_create_target_description): Add + "segments" register. + * gdb/arch/amd64.c (amd64_create_target_description): Add + "segments" parameter. Call create_feature_i386_64bit_segments + only if SEGMENTS is true. + * gdb/gdbserver/win32-i386-low.c (i386_arch_setup): Update + call to amd64_create_target_description. + +2018-06-29 Pedro Alves + + * thread.c (thread_target_id_str): New, factored out from ... + (print_thread_info_1): ... here. Use it to compute the max + "Target Id" column width. + +2018-06-29 Pedro Alves + + * remote.c (remote_target::extra_thread_info): Delete + 'display_buf' and 'n' locals. from the cache, regardless of + packet mechanims is in use. Use cache for qThreadExtra and qP + methods too. + +2018-06-29 Pedro Alves + + * blockframe.c (find_pc_sect_containing_function): New function. + * breakpoint.c (print_breakpoint_location): Don't call + find_pc_sect_function. + * linespec.c (create_sals_line_offset): Record the location's + symbol in the sal. + * linespec.c (convert_address_location_to_sals): Fill in sal's + symbol with find_pc_sect_containing_function. + * symtab.c (find_function_start_sal): Rename to ... + (find_function_start_sal_1): ... this. + (find_function_start_sal): Reimplement as wrapper around + find_function_start_sal_1, and use + find_pc_sect_containing_function to fill in the sal's symbol. + (find_function_start_sal(symbol*, bool)): Adjust. + * symtab.h (find_pc_function, find_pc_sect_function): Adjust + comments. + (find_pc_sect_containing_function): Declare. + +2018-06-29 Pedro Alves + + * inline-frame.c (stopped_by_user_bp_inline_frame): Return + true if the the location has no symbol. + +2018-06-28 Tom Tromey + + * NEWS: Mention --enable-codesign. + * silent-rules.mk (ECHO_SIGN): New variable. + * configure.ac: Add --enable-codesign. + * configure: Rebuild. + * Makefile.in (CODESIGN, CODESIGN_CERT): New variables. + (gdb$(EXEEXT)): Optionally invoke codesign. + +2018-06-28 Pedro Alves + + * gdbthread.h (struct thread_suspend_state) : Extend + comments. + (switch_to_thread_no_regs): Adjust comment. + * infcmd.c (stop_pc): Delete. + (post_create_inferior, info_program_command): Replace references + to stop_pc with references to thread_info->suspend.stop_pc. + * inferior.h (stop_pc): Delete declaration. + * infrun.c (proceed, handle_syscall_event, fill_in_stop_func) + (handle_inferior_event_1, handle_signal_stop) + (process_event_stop_test, keep_going_stepped_thread) + (handle_step_into_function, handle_step_into_function_backward) + (print_stop_location): Replace references to stop_pc with + references to thread_info->suspend.stop_pc. + (struct infcall_suspend_state) : Delete field. + (save_infcall_suspend_state, restore_infcall_suspend_state): + Remove references to inf_stat->stop_pc. + * linux-fork.c (fork_load_infrun_state): Likewise. + * record-btrace.c (record_btrace_set_replay): Likewise. + * record-full.c (record_full_goto_entry): Likewise. + * remote.c (print_one_stopped_thread): Likewise. + * target.c (target_resume): Extend comment. + * thread.c (set_executing_thread): New. + (set_executing): Use it. + (switch_to_thread_no_regs, switch_to_no_thread, switch_to_thread): + Remove references to stop_pc. + +2018-06-28 Pedro Alves + + * infrun.c (handle_inferior_event_1) : + Moving fetching stop_pc until after ecs->event_thread is refreshed. + +2018-06-28 Tom Tromey + + * coffread.c (coff_symfile_finish): Update. + * xcoffread.c (xcoff_symfile_finish): Update. + * elfread.c (elf_symfile_finish): Update. + * symfile.h (dwarf2_free_objfile): Don't declare. + * dwarf2read.c (_initialize_dwarf2_read): Use + register_objfile_data_with_cleanup. + (dwarf2_free_objfile): Now static. Change signature. + +2018-06-28 Petr Tesarik + + * symfile.c (add_symbol_file_command, _initialize_symfile): Add + option "-o" to add-symbol-file-load to add an offset to each + section's load address. + * symfile.c (set_objfile_default_section_offset): New function. + +2018-06-28 Petr Tesarik + + * symfile.c (add_symbol_file_command): Make sure that sections + with the same name are sorted in the same order. + +2018-06-28 Petr Tesarik + + * symfile.c (add_symbol_file_command, _initialize_symfile): Do not + require the second argument. If omitted, load sections at the + addresses specified in the file. + +2018-06-28 Petr Tesarik + + * symfile.c (symbol_file_command, symbol_file_add_main_1) + (_initialize_symfile): Add option "-o" to symbol-file to add an + offset to each section of the symbol file. + +2018-06-28 Petr Tesarik + + * MAINTAINERS (Write After Approval): Add Petr Tesarik. + +2018-06-27 Tom Tromey + + * stack.c (_initialize_stack): Update "func" help text. + 2018-06-27 Tom Tromey * python/py-unwind.c (unwind_info_object) : Now a