This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix PR threads/19422 - show which thread caused stop
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 14 Jan 2016 16:04:34 +0000
- Subject: Re: [PATCH] Fix PR threads/19422 - show which thread caused stop
- Authentication-results: sourceware.org; auth=none
- References: <1451950202-18024-1-git-send-email-palves at redhat dot com>
Pedro Alves <palves@redhat.com> writes:
> gdb/ChangeLog:
> 2016-01-04 Pedro Alves <palves@redhat.com>
>
> * break-catch-sig.c (signal_catchpoint_print_it): Use
> maybe_print_thread_hit_breakpoint.
> * break-catch-syscall.c (print_it_catch_syscall): Likewise.
> * break-catch-throw.c (print_it_exception_catchpoint): Likewise.
> * breakpoint.c (maybe_print_thread_hit_breakpoint): New function.
> (print_it_catch_fork, print_it_catch_vfork, print_it_catch_solib)
> (print_it_catch_exec, print_it_ranged_breakpoint)
> (print_it_watchpoint, print_it_masked_watchpoint, bkpt_print_it):
> Use maybe_print_thread_hit_breakpoint.
> * breakpoint.h (maybe_print_thread_hit_breakpoint): Declare.
> * gdbthread.h (show_thread_that_caused_stop): Declare.
> * infrun.c (print_signal_received_reason): Print which thread
> received signal.
> * thread.c (show_thread_that_caused_stop): New function.
>
> gdb/testsuite/ChangeLog:
> 2016-01-04 Pedro Alves <palves@redhat.com>
>
> * gdb.base/async-shell.exp: Adjust expected output.
> * gdb.base/dprintf-non-stop.exp: Adjust expected output.
> * gdb.base/siginfo-thread.exp
> * gdb.base/watchpoint-hw-hit-once.exp
> * gdb.java/jnpe.exp
> * gdb.threads/clone-new-thread-event.exp
> * gdb.threads/continue-pending-status.exp
> * gdb.threads/leader-exit.exp
> * gdb.threads/manythreads.exp
> * gdb.threads/pthreads.exp
> * gdb.threads/schedlock.exp
> * gdb.threads/siginfo-threads.exp
> * gdb.threads/signal-command-multiple-signals-pending.exp
> * gdb.threads/signal-delivered-right-thread.exp
> * gdb.threads/sigthread.exp
> * gdb.threads/watchpoint-fork.exp
"Likewise" is missing for these changed files in ChangeLog. Patch looks
good to me.
--
Yao (éå)