From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26397 invoked by alias); 29 Jun 2005 20:17:50 -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 26378 invoked by uid 22791); 29 Jun 2005 20:17:46 -0000 Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.206) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 29 Jun 2005 20:17:46 +0000 Received: by zproxy.gmail.com with SMTP id x3so683576nze for ; Wed, 29 Jun 2005 13:17:44 -0700 (PDT) Received: by 10.36.221.27 with SMTP id t27mr1293239nzg; Wed, 29 Jun 2005 13:17:44 -0700 (PDT) Received: by 10.36.96.2 with HTTP; Wed, 29 Jun 2005 13:17:44 -0700 (PDT) Message-ID: Date: Wed, 29 Jun 2005 20:17:00 -0000 From: Qunying Pan Reply-To: Qunying Pan To: Rohit Agarwal , nora pan , gdb@sources.redhat.com Subject: Re: SIGTRAP error In-Reply-To: <20050629130653.GA427@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050628131413.GC28098@nevyn.them.org> <20050629130653.GA427@nevyn.them.org> X-SW-Source: 2005-06/txt/msg00313.txt.bz2 > > [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 yo= u are > > welcome to change it and/or distribute copies of it under certain condi= tions. > > Type "show copying" to see the conditions. > > There is absolutely no warranty for GDB. Type "show warranty" for deta= ils. > > This GDB was configured as "--host=3Di686-pc-linux-gnu --target=3Darm-e= lf"... > > (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) You also need to apply gdb-6.3-load-remote-target-bug.patch. This is what PR1944 is fixing.