From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12997 invoked by alias); 24 Sep 2007 17:11:06 -0000 Received: (qmail 12987 invoked by uid 22791); 24 Sep 2007 17:11:05 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 24 Sep 2007 17:11:03 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 2FE15982AD; Mon, 24 Sep 2007 17:11:02 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id CBB7E98153; Mon, 24 Sep 2007 17:11:01 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1IZrSW-0006ED-0s; Mon, 24 Sep 2007 13:11:00 -0400 Date: Mon, 24 Sep 2007 17:20:00 -0000 From: Daniel Jacobowitz To: Roland Puntaier Cc: gdb@sourceware.org Subject: Re: GDB 6.6, remote, more threads Message-ID: <20070924171059.GA23716@caradoc.them.org> Mail-Followup-To: Roland Puntaier , gdb@sourceware.org References: <20070924165054.GA22797@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-09/txt/msg00191.txt.bz2 On Mon, Sep 24, 2007 at 07:04:13PM +0200, Roland Puntaier wrote: > 2007/09/24 18:50:54, Daniel Jacobowitz wrote: > > Try "set debug infrun 1" to see what's going on. What target is this? > > Target is VxWorks. VxWorks does not, as far as I know, ship with a GDB stub which supports vCont; you may need to talk with whoever wrote the GDB stub you're using (or maybe you did, and this is a useless comment...). > infrun: resume (step=0, signal=0) > Sending packet: $vCont;c#a8...Ack > infrun: prepare_to_wait Running... > Packet received: T0505:9c408903;04:94408903;08:5b698303;thread:4f; > Sending packet: $g#67...Ack > Packet received: > 447b8f034af682036e000000247b8f03944089039c40890390fd8903284389035b6983030202000000000000000000000000000 > 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 > 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 > 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 > 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 > 000000000000000000000000000000000 Stopped... > infrun: infwait_normal_state > infrun: TARGET_WAITKIND_STOPPED > infrun: stop_pc = 0x383695b > infrun: context switch > infrun: trap expected Trap expected. Why? Probably caused by something that happened to thread 4f before the start of your example, since the trap_expected flag is thread-specific. Anyway, GDB thinks it was in the middle of something for this thread. -- Daniel Jacobowitz CodeSourcery