From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 83197 invoked by alias); 3 Aug 2015 15:14:48 -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 83179 invoked by uid 89); 3 Aug 2015 15:14:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f42.google.com Received: from mail-pa0-f42.google.com (HELO mail-pa0-f42.google.com) (209.85.220.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 03 Aug 2015 15:14:46 +0000 Received: by pasy3 with SMTP id y3so16800583pas.2 for ; Mon, 03 Aug 2015 08:14:44 -0700 (PDT) X-Received: by 10.68.68.197 with SMTP id y5mr24441211pbt.164.1438614884285; Mon, 03 Aug 2015 08:14:44 -0700 (PDT) Received: from E107787-LIN (gcc1-power7.osuosl.org. [140.211.15.137]) by smtp.gmail.com with ESMTPSA id pu2sm8250892pbb.92.2015.08.03.08.14.42 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 03 Aug 2015 08:14:43 -0700 (PDT) From: Yao Qi To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [PATCH/7.10 2/2] gdbserver: Fix non-stop / fork / step-over issues References: <1438362229-27653-1-git-send-email-palves@redhat.com> <1438362229-27653-3-git-send-email-palves@redhat.com> Date: Mon, 03 Aug 2015 15:14:00 -0000 In-Reply-To: <1438362229-27653-3-git-send-email-palves@redhat.com> (Pedro Alves's message of "Fri, 31 Jul 2015 18:03:49 +0100") Message-ID: <86a8u8e754.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: 2015-08/txt/msg00024.txt.bz2 Pedro Alves writes: > I fixed some of these issues recently, but there's a lot more to > do. Fixing that one just exposes other similar problems elsewhere. > Meanwhile, I've filed PR18749 and kfailed the test for native. This test case also exposes the issue on arm-linux with gdbserver, (gdb) PASS: gdb.threads/fork-plus-threads-2.exp: detach-on-fork=3Don: conti= nue & [New Thread 29905]^M [New Thread 29900]^M [New Thread 29895]^M [New Thread 29898]^M [New Thread 29902]^M [New Thread 29896]^M [New Thread 29903]^M [New Thread 29901]^M [New Thread 29899]^M [New Thread 29904]^M [New Thread 29897]^M Error in testing breakpoint condition:^M Cannot access memory at address 0x11094^M FAIL: gdb.threads/fork-plus-threads-2.exp: detach-on-fork=3Don: inferior 1 = exited Remote debugging from host 127.0.0.1^M ^M Child exited with status 0^M GDBserver exiting^M ../../binutils-gdb/gdb/thread.c:936: internal-error: finish_thread_state: A= ssertion `tp' failed.^M A problem internal to GDB has been detected,^M further debugging may prove unreliable.^M Quit this debugging session? (y or n) monitor exit^M Please answer y or n.^M ../../binutils-gdb/gdb/thread.c:936: internal-error: finish_thread_state: A= ssertion `tp' failed.^ --=20 Yao (=E9=BD=90=E5=B0=A7)