From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15601 invoked by alias); 24 Jun 2006 13:27:54 -0000 Received: (qmail 15592 invoked by uid 22791); 24 Jun 2006 13:27:53 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Sat, 24 Jun 2006 13:27:50 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1Fu8As-0006uk-QX; Sat, 24 Jun 2006 09:27:46 -0400 Date: Sat, 24 Jun 2006 13:30:00 -0000 From: Daniel Jacobowitz To: Niklaus Cc: gdb@sources.redhat.com Subject: Re: arm-elf and mips-deb-linux gdb Message-ID: <20060624132745.GA26555@nevyn.them.org> Mail-Followup-To: Niklaus , gdb@sources.redhat.com References: <85e0e3140606240419ge81ab34ubdbf64dc0ee352f0@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <85e0e3140606240419ge81ab34ubdbf64dc0ee352f0@mail.gmail.com> User-Agent: Mutt/1.5.11+cvs20060403 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/msg00212.txt.bz2 On Sat, Jun 24, 2006 at 05:19:04PM +0600, Niklaus wrote: > Hi, > i just built a cross compiler with target=arm-elf .Then compiled an > program first.c > which contained > > 1 int main() > 2 { > 3 int i; > 4 for(i=0;i<10;i++) > 5 ; > 6 return i; > 8 } > > now i built gdb with target=arm-elf and ran in simulator mode like > > target sim > load first > b 4 > > run > > it break > > but when i do > b 5 > it goes into an infinite loop and i have to interrupt it. The most important thing in a bug report is being specific. Please show us a complete log of the GDB session. > The second questions is > i built a mips-deb-linux helloworld program with cross gcc-glibc. > > not under mips-deb-linux-gdb > > the same program doesn't even load > it says vma something The MIPS simulator can not run Linux binaries. -- Daniel Jacobowitz CodeSourcery