From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11074 invoked by alias); 29 Jun 2005 13:07:05 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 11014 invoked by uid 22791); 29 Jun 2005 13:06:56 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 29 Jun 2005 13:06:56 +0000 Received: from drow by nevyn.them.org with local (Exim 4.51) id 1DncHG-00007X-CB; Wed, 29 Jun 2005 09:06:54 -0400 Date: Wed, 29 Jun 2005 13:07:00 -0000 From: Daniel Jacobowitz To: Rohit Agarwal Cc: nora pan , gdb@sources.redhat.com Subject: Re: SIGTRAP error Message-ID: <20050629130653.GA427@nevyn.them.org> Mail-Followup-To: Rohit Agarwal , nora pan , gdb@sources.redhat.com References: <20050628131413.GC28098@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-SW-Source: 2005-06/txt/msg00310.txt.bz2 On Wed, Jun 29, 2005 at 11:14:21AM +0530, Rohit Agarwal wrote: > Thanks a lot Daniel, > that worked. > so finally, i did > > ./configure --prefix=/opt/arm-gdb --target=arm-elf --host=i686-pc-linux-gnu > make > make install > > it got installed in /opt/arm-gdb > > when i invoked gdb from /opt/arm-gdb/bin/arm-elf-gdb i got the folowing result > > [root@mahesh bin]# ./arm-elf-gdb -nw > /opt/ecos/ecos/ecoswork/install/tests/kernel/current/tests/bin_sem0 > GNU gdb 6.3 > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf"... > (gdb) set endian big > The target is assumed to be big endian > (gdb) set remotebaud 115200 > (gdb) target remote /dev/ttyS0 > Remote debugging using /dev/ttyS0 > 0x50012954 in ?? () > (gdb) load > Loading section .rom_vectors, size 0x40 lma 0x80000 > Memory access error while loading section .rom_vectors. > (gdb) Please try CVS, not 6.3. Load was broken in 6.3. -- Daniel Jacobowitz CodeSourcery, LLC