From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29498 invoked by alias); 28 Jun 2005 05:27:04 -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 29447 invoked by uid 22791); 28 Jun 2005 05:26:53 -0000 Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.197) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 28 Jun 2005 05:26:53 +0000 Received: by wproxy.gmail.com with SMTP id i5so521545wra for ; Mon, 27 Jun 2005 22:26:52 -0700 (PDT) Received: by 10.54.148.10 with SMTP id v10mr3753154wrd; Mon, 27 Jun 2005 22:26:52 -0700 (PDT) Received: by 10.54.14.50 with HTTP; Mon, 27 Jun 2005 22:26:52 -0700 (PDT) Message-ID: Date: Tue, 28 Jun 2005 05:27:00 -0000 From: Rohit Agarwal Reply-To: Rohit Agarwal To: nora pan Subject: Re: SIGTRAP error Cc: gdb@sources.redhat.com In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-SW-Source: 2005-06/txt/msg00282.txt.bz2 Thanks a lot for taking interest in my problem. However, the patch u told me was for gdb-6.3 whereas i have gdb-5.3 on my computer. Also, i tried looking for the latest version of arm-elf-gdb but the latest version which i could find was 5.3 Im still stuck where I was. Can anyone suggest something please ROHIT On 6/24/05, nora pan wrote: > Hello, Rohit: >=20 > You may want to try the patch for fixing PR 1944 at=20 > http://sources.redhat.com/cgi-bin/gnatsweb.pl. The patch is against > head gdb. >=20 > Gdb 5.3 may be too old. Most of the time people would try the latest > release to see if the fix is there. >=20 > Thanks, >=20 > Qunying >=20 >=20 > >[root@mahesh ecoswork]# arm-elf-gdb -nw > >install/tests/hal/common/current/tests/basic > >GNU gdb 5.3 (eCosCentric) > >Copyright 2002 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=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 > >Loading section .text, size 0x6c60 lma 0x80040 > >Loading section .rodata, size 0x470 lma 0x86ca0 > >Loading section .data, size 0x34c lma 0x87110 > >Start address 0x80040, load size 29788 > >Transfer rate: 79434 bits/sec, 300 bytes/write. > >(gdb) continue > >Continuing. >=20=20 > >Program received signal SIGTRAP, Trace/breakpoint trap. > >0x00080044 in warm_reset () > >(gdb) >=20 > >i tried looking into the archives but couldnt find nythg tht wud >fit > here. > >plz reply soon. > >ROHIT AGARWAL >=20 --=20 if u dont know it, it doesnt exist