43792cf0de
Add a new function to print a thread ID, in the style of paddress, plongest, etc. and adjust all CLI-reachable paths to use it. This gives us a single place to tweak to print inferior-qualified thread IDs later: - [Switching to thread 1 (Thread 0x7ffff7fc2740 (LWP 8155))] + [Switching to thread 1.1 (Thread 0x7ffff7fc2740 (LWP 8155))] etc., though for now, this has no user-visible change. No regressions on x86_64 Fedora 20. gdb/ChangeLog: 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.
168 lines
5.4 KiB
Text
168 lines
5.4 KiB
Text
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.
|
||
* configure: Regenerated.
|
||
* configure.ac: Move all warning logic ...
|
||
* warning.m4: ... here.
|
||
|
||
2016-01-08 Yao Qi <yao.qi@linaro.org>
|
||
|
||
* extension.c: Include target.h.
|
||
(set_active_ext_lang): Only call install_gdb_sigint_handler,
|
||
check_quit_flag, and set_quit_flag if target_terminal_is_ours
|
||
returns false.
|
||
(restore_active_ext_lang): Likewise.
|
||
* target.c (target_terminal_is_ours): New function.
|
||
* target.h (target_terminal_is_ours): Declare.
|
||
|
||
2016-01-07 Maciej W. Rozycki <macro@imgtec.com>
|
||
|
||
* mips-tdep.c (mips_breakpoint_from_pc): Rename local `status'
|
||
to `err' in the little-endian leg.
|
||
|
||
2016-01-06 Yao Qi <yao.qi@linaro.org>
|
||
|
||
* arch/arm-get-next-pcs.c (arm_get_next_pcs): Move it to some
|
||
lines below.
|
||
(thumb_get_next_pcs_raw): Make it static.
|
||
(arm_get_next_pcs_raw): Likewise.
|
||
* arch/arm-get-next-pcs.h (thumb_get_next_pcs_raw): Remove the
|
||
declaration.
|
||
(arm_get_next_pcs_raw): Likewise.
|
||
|
||
2016-01-05 Mike Frysinger <vapier@gentoo.org>
|
||
|
||
* version.in: Change cvs to git.
|
||
|
||
2016-01-05 Mike Frysinger <vapier@gentoo.org>
|
||
|
||
* configure.tgt (score-*-*): Delete gdb_sim assignment.
|
||
|
||
2016-01-05 Pedro Alves <palves@redhat.com>
|
||
|
||
PR sim/13418
|
||
* configure.ac: Define WITH_PPC_SIM when linking in the sim and
|
||
the target is powerpc*.
|
||
* rs6000-tdep.c (init_sim_regno_table): Check WITH_PPC_SIM instead
|
||
of WITH_SIM.
|
||
* configure: Regenerate.
|
||
* config.in: Regenerate.
|
||
|
||
2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
|
||
|
||
* btrace.c (btrace_pt_readmem_callback): Do not return in TRY/CATCH.
|
||
|
||
2016-01-02 Mike Frysinger <vapier@gentoo.org>
|
||
|
||
* configure.tgt (powerpc*-*-*): Delete test call and
|
||
always assign gdb_sim.
|
||
|
||
2016-01-01 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
Update year range in copyright notice of all files.
|
||
|
||
2016-01-01 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* top.c (print_gdb_version): Change copyright year in version
|
||
message.
|
||
|
||
2016-01-01 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2015.
|
||
|
||
For older changes see ChangeLog-2015.
|
||
|
||
Local Variables:
|
||
mode: change-log
|
||
left-margin: 8
|
||
fill-column: 74
|
||
version-control: never
|
||
coding: utf-8
|
||
End:
|