From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16582 invoked by alias); 7 Jun 2006 22:52:51 -0000 Received: (qmail 16572 invoked by uid 22791); 7 Jun 2006 22:52:50 -0000 X-Spam-Check-By: sourceware.org Received: from mail.s.netic.de (HELO mail.s.netic.de) (212.9.160.11) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 07 Jun 2006 22:52:48 +0000 Received: from host-213-178-187-3.dsl.netic.de ([213.178.187.3] helo=schleim.qwe.de) by mail.s.netic.de with esmtp (Exim 4.51) id 1Fo6tA-000DFu-5A; Thu, 08 Jun 2006 00:52:36 +0200 Received: from localhost (localhost [IPv6:::1]) by schleim.qwe.de (Postfix) with ESMTP id B4A3B3B426; Thu, 8 Jun 2006 00:53:59 +0200 (CEST) From: Torsten Mohr To: gdb@sourceware.org Subject: Re: V850E simulator, assembler single-step never returns?!? Date: Wed, 07 Jun 2006 23:24:00 -0000 User-Agent: KMail/1.8 Cc: Daniel Jacobowitz , Keith Seitz References: <200606052145.25672.tmohr@s.netic.de> <20060605224119.GB4384@nevyn.them.org> <200606061149.33952.tmohr@s.netic.de> In-Reply-To: <200606061149.33952.tmohr@s.netic.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606080053.58952.tmohr@s.netic.de> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00047.txt.bz2 Hi, > > > i just single-stepped in the console (si). It shows the same result > > > plus: > > > The last line in the console i see is: > > > [not visible]../../../../newlib-1.14.0/newlib/libc/stdlib/mlock.c:51 > > > I attached the part from mlock.c below with line 51 marked. > > > Though i don't think it can be related to that, as in the assembler > > > this line just results to "jmp [lp]", also when i look at it in > > > gdb console with "l *0x11f4". > > > > In this case, it is probably a bug in the simulator. i just tried the latest insight-weekly, the same failure. I also tried to add some printf() in v850.igen for "jarl". I can see the output whenever i go over a jarl in the code, but it looks to me that the problem is somewhere else hidden. When i hit "next assembler instruction", not "step asm instruction", i can hit the stop button and see that i obviously stepped over the problematic code. So i guess the problem may be related to displaying the code/output? Can anybody please give me a hint on how to coninue from here? Is there some special support for debugging gdb? Best regards, Torsten.