From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22036 invoked by alias); 5 Jun 2006 22:36:08 -0000 Received: (qmail 22025 invoked by uid 22791); 5 Jun 2006 22:36:06 -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; Mon, 05 Jun 2006 22:35:29 +0000 Received: from host-213-178-187-17.dsl.netic.de ([213.178.187.17] helo=schleim.qwe.de) by mail.s.netic.de with esmtp (Exim 4.51) id 1FnNfT-0004OB-ER; Tue, 06 Jun 2006 00:35:27 +0200 Received: from localhost (localhost [IPv6:::1]) by schleim.qwe.de (Postfix) with ESMTP id 177CF3AC38; Tue, 6 Jun 2006 00:36:10 +0200 (CEST) From: Torsten Mohr To: Keith Seitz Subject: Re: V850E simulator, assembler single-step never returns?!? Date: Mon, 05 Jun 2006 22:36:00 -0000 User-Agent: KMail/1.8 Cc: gdb@sourceware.org References: <200606052145.25672.tmohr@s.netic.de> <20060605204208.GA32699@nevyn.them.org> <448497BC.5020907@redhat.com> In-Reply-To: <448497BC.5020907@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606060036.09212.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/msg00029.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". I made a screenshot of the whole thing (128k). Is it of any help if i send it to anybody? Please note that i'm not sure if code generation for the target is perfect. But i'm sure that i did not apply any changes to insight. I configured in a bash script: function do_gdb ( ) { mkdir -p gdb cd gdb rm -rf * ../../insight-6.4/configure \ --target=v850-unknown-elf \ --prefix=/opt/v850e \ --with-newlib \ --enable-sim \ --disable-nls # make all-sim # make install cd .. } regarding the combination of "make" i'm not really sure, i only compiled and installed the simulator. I directly posted to the gdb list because i think this is related to the underlying gdb/simulator. Would it be of any help if i supply the ELF file to anybody? Best regards, Torsten. FILE mlock.c void __malloc_lock (ptr) struct _reent *ptr; { #ifndef __SINGLE_THREAD__ __lock_acquire_recursive (__malloc_lock_object); // line 51 #endif } > Daniel Jacobowitz wrote: > > Have you considered reporting problems with Insight to the Insight > > list? > > Better yet, try opening a console and stepping manually (or use > v850-elf-gdb). At least then you'll know that it is or is not a problem > with insight vs gdb. > > Keith