From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 78104 invoked by alias); 8 Apr 2015 09:34:51 -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 76082 invoked by uid 89); 8 Apr 2015 09:34:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 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-f47.google.com Received: from mail-pa0-f47.google.com (HELO mail-pa0-f47.google.com) (209.85.220.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 08 Apr 2015 09:34:49 +0000 Received: by pabtp1 with SMTP id tp1so3696434pab.2 for ; Wed, 08 Apr 2015 02:34:47 -0700 (PDT) X-Received: by 10.66.185.230 with SMTP id ff6mr4783270pac.102.1428485687816; Wed, 08 Apr 2015 02:34:47 -0700 (PDT) Received: from E107787-LIN (gcc1-power7.osuosl.org. [140.211.15.137]) by mx.google.com with ESMTPSA id fa2sm10654082pdb.39.2015.04.08.02.34.45 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 08 Apr 2015 02:34:46 -0700 (PDT) From: Yao Qi To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [PATCH v2 15/23] Implement all-stop on top of a target running non-stop mode References: <1428410990-28560-1-git-send-email-palves@redhat.com> <1428410990-28560-16-git-send-email-palves@redhat.com> Date: Wed, 08 Apr 2015 09:34:00 -0000 In-Reply-To: <1428410990-28560-16-git-send-email-palves@redhat.com> (Pedro Alves's message of "Tue, 7 Apr 2015 13:49:42 +0100") Message-ID: <86r3rvvu8c.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/msg00255.txt.bz2 Pedro Alves writes: > @@ -1997,7 +1998,7 @@ start_step_over_inferior (struct inferior *inf) > { > /* In all-stop, we shouldn't have resumed unless we needed a > step over. */ > - gdb_assert (non_stop); > + gdb_assert (target_is_non_stop_p ()); > } > } Hi Pedro, I tested the whole series on arm-linux and there is an assert triggered with gdbserver, signal SIGTRAP^M Continuing with signal SIGTRAP.^M ../../../binutils-gdb/gdb/infrun.c:2008: internal-error: start_step_over_in= ferior: Assertion `target_is_non_stop_p ()' failed.^M A problem internal to GDB has been detected,^M further debugging may prove unreliable.^M Quit this debugging session? (y or n) FAIL: gdb.threads/signal-sigtrap.exp:= sigtrap thread 2: signal SIGTRAP reaches handler (GDB internal error) there is no such internal error in native testing. I haven't analyse it carefully yet. --=20 Yao (=E9=BD=90=E5=B0=A7)