From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 436 invoked by alias); 14 Jan 2016 16:04:49 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 425 invoked by uid 89); 14 Jan 2016 16:04:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=UD:watchpoint-fork.exp, UD:watchpoint-hw-hit-once.exp, sk:signal-, sk:signal X-HELO: mail-pf0-f176.google.com Received: from mail-pf0-f176.google.com (HELO mail-pf0-f176.google.com) (209.85.192.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 14 Jan 2016 16:04:47 +0000 Received: by mail-pf0-f176.google.com with SMTP id n128so101779238pfn.3 for ; Thu, 14 Jan 2016 08:04:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=2UO6WALdPnGyce5wUx/xxEniO5t27qg51SQlqErOsZI=; b=Z+VdwuTll7YTE6QFSRh1l/96jTybYt0qYegrzkJRNVuFU5okpF+t/sDQkS5NTAJBnS 44Uq0nqxG4RnqGWGGoMkutPSHHtgtbg00o2ytR8Kt+SRWPWj1Gst7JjrYDwGmDo8lamc O03CKwe3W7qAKewacrnDTFddboy6thaWSz+vzt9A3U9BFANqLd9RhjoEVnMw1s93ZTLq OxEQ2Mm4jbJ4KucUCkmto9dX7cOav+59bVBVzQ6g2Caz9KVdxlp5ww2YprkL7ZZZ3CC7 el/jldH2EPEU+6WwCaakuMlLWGUshPItAQzstUCBQV+6xBiFE3eHh8HwQ2X3cIp+93rX NMtw== X-Gm-Message-State: ALoCoQnwklhZlNzXWAfhM/WtEkyqDHyOBbRTsnl2fevm5enJb0tMg7KgFd8CNBhCZ0D80cffwsku6Il0hwW0KtP8yPmow7YOdA== X-Received: by 10.98.16.65 with SMTP id y62mr7215121pfi.138.1452787486089; Thu, 14 Jan 2016 08:04:46 -0800 (PST) Received: from E107787-LIN (gcc1-power7.osuosl.org. [140.211.15.137]) by smtp.gmail.com with ESMTPSA id e17sm10323380pfd.4.2016.01.14.08.04.43 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Thu, 14 Jan 2016 08:04:45 -0800 (PST) From: Yao Qi To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] Fix PR threads/19422 - show which thread caused stop References: <1451950202-18024-1-git-send-email-palves@redhat.com> Date: Thu, 14 Jan 2016 16:04:00 -0000 In-Reply-To: <1451950202-18024-1-git-send-email-palves@redhat.com> (Pedro Alves's message of "Mon, 4 Jan 2016 23:30:02 +0000") Message-ID: <86si20tael.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00304.txt.bz2 Pedro Alves writes: > gdb/ChangeLog: > 2016-01-04 Pedro Alves > > * 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 > > * 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. --=20 Yao (=E9=BD=90=E5=B0=A7)