From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17171 invoked by alias); 24 Sep 2007 17:20:18 -0000 Received: (qmail 17162 invoked by uid 22791); 24 Sep 2007 17:20:18 -0000 X-Spam-Check-By: sourceware.org Received: from mail2.br-automation.com (HELO mail2.br-automation.com) (213.33.116.61) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 24 Sep 2007 17:20:13 +0000 X-AuditID: c0a80110-ac9c0bb0000008d1-bc-46f7f1ca280f Received: from brsmtp01.br-automation.com (unknown [192.168.1.60]) by mail2.br-automation.com (Symantec Mail Security) with ESMTP id C11FD4DC002 for ; Mon, 24 Sep 2007 19:20:10 +0200 (CEST) In-Reply-To: <20070924171059.GA23716@caradoc.them.org> To: gdb@sourceware.org Subject: Re: GDB 6.6, remote, more threads MIME-Version: 1.0 X-Mailer: Lotus Notes Release 7.0.2 September 26, 2006 Message-ID: From: Roland Puntaier Date: Mon, 24 Sep 2007 20:29:00 -0000 Content-Type: text/plain; charset="US-ASCII" 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/msg00192.txt.bz2 2007/09/24 19:10:59, Daniel Jacobowitz wrote: > 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...). Yes, I did. > > > 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. I see, I'll try to understand why Gdb got this 'trap_expected' flag. Thanks for the hint, Daniel. Regards, Roland.