Centralize thread ID printing
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 099a9a90c5aa9b15f28bd9a59212be9aeb156564..960a560d7495c3a4f9fb0d4b78b1b50157a35d1e 100644 (file)
@@ -1,3 +1,90 @@
+2016-01-13  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c (remove_threaded_breakpoints)
+       (print_one_breakpoint_location): Use print_thread_id.
+       * btrace.c (btrace_enable, btrace_disable, btrace_teardown)
+       (btrace_fetch, btrace_clear): Use print_thread_id.
+       * common/print-utils.c (CELLSIZE): Delete.
+       (get_cell): Rename to ...
+       (get_print_cell): ... this and made extern.  Adjust call callers.
+       Adjust to use PRINT_CELL_SIZE.
+       * common/print-utils.h (get_print_cell): Declare.
+       (PRINT_CELL_SIZE): New.
+       * gdbthread.h (print_thread_id): Declare.
+       * infcmd.c (signal_command): Use print_thread_id.
+       * inferior.c (print_inferior): Use print_thread_id.
+       * infrun.c (handle_signal_stop)
+       (insert_exception_resume_breakpoint)
+       (insert_exception_resume_from_probe)
+       (print_signal_received_reason): Use print_thread_id.
+       * record-btrace.c (record_btrace_info)
+       (record_btrace_resume_thread, record_btrace_cancel_resume)
+       (record_btrace_step_thread, record_btrace_wait): Use
+       print_thread_id.
+       * thread.c (thread_apply_all_command): Use print_thread_id.
+       (print_thread_id): New function.
+       (thread_apply_command): Use print_thread_id.
+       (thread_command, thread_find_command, do_captured_thread_select):
+       Use print_thread_id.
+
+2016-01-13  Pedro Alves  <palves@redhat.com>
+
+       * NEWS: Mention InferiorThread.inferior.
+       * python/py-infthread.c (thpy_get_inferior): New.
+       (thread_object_getset): Register "inferior".
+
+2016-01-13  Pedro Alves  <palves@redhat.com>
+
+       * NEWS: Mention $_inferior.
+       * inferior.c (inferior_id_make_value): New.
+       (inferior_funcs): New.
+       (_initialize_inferior): Create $_inferior variable.
+
+2016-01-13  Pedro Alves  <palves@redhat.com>
+
+       PR breakpoints/19388
+       * frame.c (get_current_frame): Use validate_registers_access.
+       * gdbthread.h (validate_registers_access): Declare.
+       * infrun.c (validate_siginfo_access): Delete.
+       (siginfo_value_read, siginfo_value_write): Use
+       validate_registers_access.
+       * thread.c (validate_registers_access): New function.
+
+2016-01-12  Josh Stone  <jistone@redhat.com>
+           Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * NEWS (Changes since GDB 7.10): Mention QCatchSyscalls and the
+       syscall_entry and syscall_return stop reasons.  Mention GDB
+       support for remote catch syscall.
+       * remote.c (PACKET_QCatchSyscalls): New enum.
+       (remote_set_syscall_catchpoint): New function.
+       (remote_protocol_features): New element for QCatchSyscalls.
+       (remote_parse_stop_reply): Parse syscall_entry/return stops.
+       (init_remote_ops): Install remote_set_syscall_catchpoint.
+       (_initialize_remote): Config QCatchSyscalls.
+       * linux-nat.h (struct lwp_info) <syscall_state>: Comment typo.
+
+2016-01-12  Yao Qi  <yao.qi@linaro.org>
+
+       * nat/linux-ptrace.c (linux_child_function): Cast child_stack
+       to gdb_byte * and pass to linux_fork_to_function.
+
+2016-01-12  Yao Qi  <yao.qi@linaro.org>
+
+       * nat/linux-ptrace.c (linux_fork_to_function): Change type
+       of argument 'function'.
+       (linux_grandchild_function): Change return type to 'int'.
+       Change child_stack's type to 'void *'.
+       (linux_child_function): Likewise.
+
+2016-01-12  Pedro Alves  <palves@redhat.com>
+
+       Remove use of the registered trademark symbol throughout.
+
+2016-01-12  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * reply_mig_hack.awk: Rewrite one regular expression.
+
 2016-01-11  Mike Frysinger  <vapier@gentoo.org>
 
        * acinclude.m4: Include new warning.m4 file.
This page took 0.024458 seconds and 4 git commands to generate.