From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15797 invoked by alias); 5 Jun 2006 20:34:32 -0000 Received: (qmail 15517 invoked by uid 22791); 5 Jun 2006 20:34:31 -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 20:34:30 +0000 Received: from host-213-178-187-20.dsl.netic.de ([213.178.187.20] helo=schleim.qwe.de) by mail.s.netic.de with esmtp (Exim 4.51) id 1FnLmO-000196-CV for gdb@sourceware.org; Mon, 05 Jun 2006 22:34:28 +0200 Received: from localhost (localhost [IPv6:::1]) by schleim.qwe.de (Postfix) with ESMTP id B23A33ABC1 for ; Mon, 5 Jun 2006 22:37:21 +0200 (CEST) From: Torsten Mohr To: gdb@sourceware.org Subject: V850E simulator, assembler single-step never returns?!? Date: Mon, 05 Jun 2006 20:34:00 -0000 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200606052237.21459.tmohr@s.netic.de> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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/msg00022.txt.bz2 Hi, i use insight 6.4 built for target v850-unknown-elf. My host is a x86 linux PC. While debugging a program in the simulator i found that at one point in the program flow the simulator never returns. This is reproducible. In the program flow the PC is 0x0C66. When i hit "Step Asm Inst (S)" i never get the chance again to get control over "insight". 0xc62 <_malloc_r+104>: jmp [lp] 0xc64 <_malloc_r+106>: mov r25, r6 0xc66 <_malloc_r+108>: jarl 0x11f4 <__malloc_lock>, lp 0xc6a <_malloc_r+112>: movea 503, r0, r10 0xc6e <_malloc_r+116>: cmp r10, r28 000011f4 <___malloc_lock>: 11f4: 7f 00 jmp [lp] To my understanding this should never happen, right? Is there anything i could have done wrong? I can provide every further information you need, Sources, Setup, ELF file, ... I have set up insight for target V850, the tool chain produces code for V850E (E at the end), but i got a hint (from either this list or the "insight"-list) to use the target V850. Can anybody give me a hint on this one? Best regards, Torsten.