From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4816 invoked by alias); 9 Apr 2015 15:06:18 -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 4804 invoked by uid 89); 9 Apr 2015 15:06:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 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-f45.google.com Received: from mail-pa0-f45.google.com (HELO mail-pa0-f45.google.com) (209.85.220.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 09 Apr 2015 15:06:13 +0000 Received: by pabtp1 with SMTP id tp1so46850998pab.2 for ; Thu, 09 Apr 2015 08:06:12 -0700 (PDT) X-Received: by 10.70.37.42 with SMTP id v10mr9664562pdj.18.1428591972242; Thu, 09 Apr 2015 08:06:12 -0700 (PDT) Received: from E107787-LIN (gcc1-power7.osuosl.org. [140.211.15.137]) by mx.google.com with ESMTPSA id ks1sm14611465pbc.58.2015.04.09.08.06.10 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 09 Apr 2015 08:06:11 -0700 (PDT) From: Yao Qi To: Pedro Alves Cc: Yao Qi , gdb-patches@sourceware.org Subject: Re: [PATCH] gdbserver gnu/linux: stepping over breakpoint References: <1428569112-18004-1-git-send-email-qiyaoltc@gmail.com> <552645C2.6080004@redhat.com> Date: Thu, 09 Apr 2015 15:06:00 -0000 In-Reply-To: <552645C2.6080004@redhat.com> (Pedro Alves's message of "Thu, 09 Apr 2015 10:26:26 +0100") Message-ID: <86y4m1uysh.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-04/txt/msg00336.txt.bz2 Pedro Alves writes: > even reached. The test isn't even threaded. It sounds like > gdbserver is trying to step over the breakpoint at "foo"? Didn't > gdb itself step over it? How come that was reached in gdbserver? > Did we mishandle the breakpoint's reference count in gdbserver? Shouldn't GDBserver step over breakpoint when the target side condition is false? --=20 Yao (=E9=BD=90=E5=B0=A7)