From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27712 invoked by alias); 25 Aug 2004 15:11:34 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 27681 invoked from network); 25 Aug 2004 15:11:30 -0000 Received: from unknown (HELO miranda.se.axis.com) (193.13.178.2) by sourceware.org with SMTP; 25 Aug 2004 15:11:30 -0000 Received: from [10.84.130.1] (ironmaiden.se.axis.com [10.84.130.1]) by miranda.se.axis.com (8.12.9/8.12.9/Debian-5local0.1) with ESMTP id i7PFAc9P014159; Wed, 25 Aug 2004 17:10:38 +0200 Message-ID: <412CABED.10108@axis.com> Date: Wed, 25 Aug 2004 15:11:00 -0000 From: Orjan Friberg Organization: Axis Communications User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 MIME-Version: 1.0 To: Daniel Jacobowitz CC: gdb-patches@sources.redhat.com Subject: Re: schedlock.exp questions References: <412B55E1.7040803@axis.com> <20040824145502.GA26280@nevyn.them.org> In-Reply-To: <20040824145502.GA26280@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00690.txt.bz2 Daniel Jacobowitz wrote: > > No. The request was "single-step this thread, but allow other threads > to run while you do it". Other threads might report a breakpoint (not > possible in this testcase), but they shouldn't report a single-step > trap - they shouldn't singlestep. Thanks for clarifying. Would you mind explaining the "not possible in this testcase" part? I do get spurious SIGTRAPs for the other threads from the "break 41 if arg != 5" breakpoint, reported as SIGTRAP (instead of as breakpoint hits). Strangely enough, for the CRIS target (the above refers to CRISv32) I *also* get breakpoint hits from "break 41 if arg != 5" for the other threads also (noticed by inspecting the remote communication), but these are ignored by GDB (neither displayed as breakpoint hits, nor as SIGTRAPs). This is all when stepping without a lock, BTW. Any insight as to what's going on is greatly appreciated. -- Orjan Friberg Axis Communications