btrace: Resume recording after disconnect.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index ba207ba949606565a6a0d0b1921b532b592e2f1f..fb8d89f39fa3af1f8e7ebc78fe38f7476289879a 100644 (file)
@@ -1,3 +1,241 @@
+2016-07-25  Tim Wiederhake  <tim.wiederhake@intel.com>
+
+       * NEWS: Resume btrace on reconnect.
+       * record-btrace.c: Added record-btrace.h include.
+       (record_btrace_open): Split into this and ...
+       (record_btrace_push_target): ... this.
+       (record_btrace_disconnect): New function.
+       (init_record_btrace_ops): Use record_btrace_disconnect.
+       * record-btrace.h: New file.
+       * remote.c: Added record-btrace.h include.
+       (remote_start_remote): Check recording status.
+       (remote_btrace_maybe_reopen): New function.
+
+2016-07-23  Gabriel Krisman Bertazi  <gabriel@krisman.be>
+
+       * xml-syscall.c (get_syscalls_by_group): New.
+       (get_syscall_group_names): New.
+       (struct syscall_group_desc): New structure to store group data.
+       (struct syscalls_info): Include field to store the group list.
+       (sysinfo_free_syscall_group_desc): New.
+       (free_syscalls_info): Free group list.
+       (syscall_group_create_syscall_group_desc): New.
+       (syscall_group_add_syscall): New.
+       (syscall_create_syscall_desc): Add syscall to its groups.
+       (syscall_start_syscall): Load group attribute.
+       (syscall_group_get_group_by_name): New.
+       (xml_list_syscalls_by_group): New.
+       (xml_list_of_groups): New.
+       * xml-syscall.h (get_syscalls_by_group): Export function
+       to retrieve a list of syscalls filtered by the group name.
+       (get_syscall_group_names): Export function to retrieve the list
+       of syscall groups.
+       * break-catch-syscall.c (catch_syscall_split_args): Verify if
+       argument is a syscall group and expand it to a list of syscalls
+       when creating catchpoints.
+       (catch_syscall_completer): Add word completion for system call
+       groups.
+       * configure.ac: Include dependency for xsltproc when building
+       in maintainer-mode.
+       * break-catch-syscall.c (_initialize_breakpoint): Update catch
+       syscall command documentation.
+       * NEWS: Include section about catching groups of syscalls.
+       * configure: Regenerate.
+       * data-directory/Makefile.in: Generate syscall xml when building
+       in maintainer mode.
+       * syscalls/gdb-syscalls.dtd: Include group attribute to the
+       syscall element.
+       * syscalls/apply-defaults.xsl: New.
+       * syscalls/linux-defaults.xml.in: New.
+       * syscalls/aarch64-linux.xml: Rename to aarch64-linux.xml.in.
+       * syscalls/amd64-linux.xml: Rename to amd64-linux.xml.in.
+       * syscalls/arm-linux.xml: Rename to arm-linux.xml.in.
+       * syscalls/bfin-linux.xml: Rename to bfin-linux.xml.in.
+       * syscalls/i386-linux.xml: Rename to i386-linux.xml.in.
+       * syscalls/mips-n32-linux.xml: Rename to mips-n32-linux.xml.in.
+       * syscalls/mips-n64-linux.xml: Rename to mips-n64-linux.xml.in.
+       * syscalls/mips-o32-linux.xml: Rename to mips-o32-linux.xml.in.
+       * syscalls/ppc-linux.xml: Rename to ppc-linux.xml.in.
+       * syscalls/ppc64-linux.xml: Rename to ppc64-linux.xml.in.
+       * syscalls/s390-linux.xml: Rename to s390-linux.xml.in.
+       * syscalls/s390x-linux.xml: Rename to s390x-linux.xml.in.
+       * syscalls/sparc-linux.xml: Rename to sparc-linux.xml.in.
+       * syscalls/sparc64-linux.xml: Rename to sparc64-linux.xml.in.
+       * syscalls/aarch64-linux.xml: Regenerate.
+       * syscalls/amd64-linux.xml: Regenerate.
+       * syscalls/arm-linux.xml: Regenerate.
+       * syscalls/i386-linux.xml: Regenerate.
+       * syscalls/mips-n32-linux.xml: Regenerate.
+       * syscalls/mips-n64-linux.xml: Regenerate.
+       * syscalls/mips-o32-linux.xml: Regenerate.
+       * syscalls/ppc-linux.xml: Regenerate.
+       * syscalls/ppc64-linux.xml: Regenerate.
+       * syscalls/s390-linux.xml: Regenerate.
+       * syscalls/s390x-linux.xml: Regenerate.
+       * syscalls/sparc-linux.xml: Regenerate.
+       * syscalls/sparc64-linux.xml: Regenerate.
+
+2016-07-23  Andrew Pinski  <apinski@cavium.com>
+
+       * nat/aarch64-linux-hw-point.c
+       (aarch64_linux_get_debug_reg_capacity): Handle
+       ARMv8.1 and ARMv8.2 debug versions.
+       * nat/aarch64-linux-hw-point.h
+       (AARCH64_DEBUG_ARCH_V8_1): New define.
+       (AARCH64_DEBUG_ARCH_V8_2): New define.
+
+2016-06-30  Руслан Ижбулатов  <lrn1986@gmail.com>
+
+       PR gdb/14529
+       * windows-nat.c (signal_event_command): New command 'signal-event'
+       for W32 JIT debug support.
+       * NEWS: Add an entry about the new 'signal-event' command.
+
+2016-07-22  Tom Tromey  <tom@tromey.com>
+
+       PR rust/20162:
+       * dwarf2read.c (scan_partial_symbols) <DW_TAG_structure_type>:
+       Call scan_partial_symbols for children when reading a Rust CU.
+       (dwarf2_physname): Ignore invalid DW_AT_linkage_name generated by
+       rustc.
+       (process_structure_scope) <DW_TAG_subprogram>: Call
+       read_func_scope for Rust.
+
+2016-07-22  Yao Qi  <yao.qi@linaro.org>
+
+       * ctf.c (ctf_traceframe_info): Call bt_ctf_get_uint64 rather than
+       bt_ctf_get_int64.
+
+2016-07-21  Tom Tromey  <tom@tromey.com>
+
+       * rust-lang.c (rust_tuple_struct_type_p): Return false for empty
+       structs.
+       * rust-exp.y (struct_expr_list): Allow empty elements.
+
+2016-07-21  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+       * warning.m4 (AM_GDB_WARNINGS) <build_warnings>: Add
+       -Wunused-but-set-parameter, -Wunused-but-set-variable.
+
+2016-07-21  Pedro Alves  <palves@redhat.com>
+
+       * go32-nat.c (go32_create_inferior): Add cast.
+       * ser-go32.c (dos_noop): Delete.
+       (dos_flush_output, dos_setparity, dos_drain_output): New
+       functions.
+       (dos_write): Add cast.
+       (dos_ops): Use dos_flush_output, dos_setparity and
+       dos_drain_output.
+       * top.c (do_chdir_cleanup): Add cast.
+
+2016-07-21  Pedro Alves  <palves@redhat.com>
+
+       * windows-nat.c (handle_exception): Remove "th".
+
+2016-07-21  Pedro Alves  <palves@redhat.com>
+
+       * varobj.c (varobj_value_get_print_value): Move "gdbarch" to block
+       scope that uses it.
+
+2016-07-20  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-nat.c (fbsd_enable_proc_events): Enable "PTRACE_VFORK"
+       events.
+       (fbsd_pending_vfork_done): Only define if "PTRACE_VFORK" is not
+       defined.
+       (fbsd_add_vfork_done): Likewise.
+       (fbsd_is_vfork_done_pending): Likewise.
+       (fbsd_next_vfork_done): Likewise.
+       (fbsd_resume): Only ignore pending vfork done events if
+       "PTRACE_VFORK" is not defined.
+       (fbsd_wait): Only look for pending vfork done events if
+       "PTRACE_VFORK" is not defined.
+       [PTRACE_VFORK]: Handle "PL_FLAG_VFORKED" and "PL_FLAG_VFORK_DONE"
+       events.
+       (fbsd_follow_fork): Only fake a vfork done event if "PTRACE_VFORK"
+       is not defined.
+
+2016-07-20  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-nat.c (fbsd_wait): Use "fbsd_enable_proc_events" on
+       new child processes.
+
+2016-07-20  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-nat.c (fbsd_enable_lwp_events): Remove function.
+       (fbsd_enable_proc_events): New function.
+       (fbsd_enable_follow_fork): Remove function.
+       (fbsd_post_startup_inferior): Use "fbsd_enable_proc_events".
+       (fbsd_post_attach): Likewise.
+
+2016-07-15  John Baldwin  <jhb@FreeBSD.org>
+
+       * common/signals.c (gdb_signal_from_host): Handle SIGLIBRT.
+       (do_gdb_signal_to_host): Likewise.
+       * infrun.c (_initialize_infrun): Pass GDB_SIGNAL_LIBRT through to
+       programs.
+       * proc-events.c (signal_table): Add entry for SIGLIBRT.
+
+2016-07-14  Tom Tromey  <tom@tromey.com>
+
+       * python/py-breakpoint.c (gdbpy_breakpoint_deleted): Add missing
+       newline.
+
+2016-07-14  Tom Tromey  <tom@tromey.com>
+
+       * mips-tdep.c (micromips_scan_prologue): Remove "frame_addr".
+       (mips_o32_push_dummy_call): Remove "stack_used_p".
+       * aarch64-tdep.c (aarch64_record_data_proc_imm): Remove
+       "insn_bit28".
+       * rust-lang.c (rust_print_type): Remove "len".
+       * rust-exp.y (super_name): Remove "current_len".
+       * python/py-framefilter.c (py_print_type): Remove "type".
+       * mdebugread.c (parse_partial_symbols): Remove
+       "past_first_source_file".
+       <N_SO>: Remove "valu", "first_so_symnum", "prev_textlow_not_set".
+       * m2-valprint.c (m2_print_unbounded_array): Remove
+       "content_type".
+       (m2_val_print): Remove "i".
+       * linespec.c (unexpected_linespec_error): Remove "cleanup".
+       * f-valprint.c (f_val_print): Remove "i".
+       * elfread.c (elf_symtab_read): Remove "offset".
+       * dwarf2-frame.c (dwarf2_fetch_cfa_info): Remove "addr_size".
+       * jit.c (jit_dealloc_cache): Remove "i" and "frame_arch".
+
+2016-07-14  Tom Tromey  <tom@tromey.com>
+
+       * arch-utils.c (default_skip_permanent_breakpoint): Remove
+       "bp_insn".
+       * disasm.c (do_assembly_only): Remove "num_displayed".
+       * dwarf2read.c (read_abbrev_offset): Remove "length".
+       (dwarf_decode_macro_bytes) <DW_MACINFO_vendor_ext>: Remove
+       "constant".
+       * m32c-tdep.c (make_regs): Remove "r2hl", "r3hl", and "intbhl".
+       * microblaze-tdep.c (microblaze_frame_cache): Remove "func".
+       * tracefile.c (trace_save): Remove "status".
+
+2016-07-14  Tom Tromey  <tom@tromey.com>
+
+       * symfile.c (simple_overlay_update_1): Remove initialization
+       of "size", and commented-out code.
+       (simple_overlay_update): Likewise.
+
+2016-07-14  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-winsource.c (tui_show_source_line): Use getcurx.
+       * tui/tui-io.c (tui_puts): Use getcurx.
+       (tui_redisplay_readline): Likewise.
+
+2016-07-14  Tom Tromey  <tom@tromey.com>
+
+       * inflow.c (child_terminal_ours_1): Use ATTRIBUTE_UNUSED.
+
+2016-07-14  Tom Tromey  <tom@tromey.com>
+
+       * corefile.c (reopen_exec_file): Only examine st.st_mtime if stat
+       succeeded.
+
 2016-07-13  Tom Tromey  <tom@tromey.com>
 
        PR python/15620, PR python/18620:
This page took 0.028944 seconds and 4 git commands to generate.