From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16341 invoked by alias); 28 Jun 2005 06:24:38 -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 16323 invoked by uid 22791); 28 Jun 2005 06:24:30 -0000 Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.203) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 28 Jun 2005 06:24:30 +0000 Received: by wproxy.gmail.com with SMTP id 55so519627wri for ; Mon, 27 Jun 2005 23:24:28 -0700 (PDT) Received: by 10.54.104.7 with SMTP id b7mr3788wrc; Mon, 27 Jun 2005 23:24:02 -0700 (PDT) Received: by 10.54.14.50 with HTTP; Mon, 27 Jun 2005 23:23:56 -0700 (PDT) Message-ID: Date: Tue, 28 Jun 2005 06:24: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/msg00283.txt.bz2 hi i got the source for gdb-6.3. applied the patch "gdb-6.3-load-remote-target-bug.patch". next i configured gdb by typing "./configure --prefix=3D/opt/arm-gdb --target=3Darm-elf --host=3Di686-pc-linux-gnu" which completed without any errors. when i do a make, this is what i get.. Configuring in libiberty configure: loading cache ./config.cache configure: error: `target_alias' has changed since the previous run: configure: former value: i686-pc-linux-gnu configure: current value: arm-elf configure: error: changes in the environment can compromise the build configure: error: run `make distclean' and/or `rm ./config.cache' and start overmake: *** [configure-libiberty] Error 1 how can i fix this? make distclean and rm ./config.cache doesn't help. on redoing make, i get the same error.. thanks ROHIT On 6/28/05, Rohit Agarwal wrote: > Thanks a lot for taking interest in my problem. >=20 > However, the patch u told me was for gdb-6.3 whereas i have gdb-5.3 on > my computer. >=20 > Also, i tried looking for the latest version of arm-elf-gdb but the > latest version which i could find was 5.3 >=20 > Im still stuck where I was. Can anyone suggest something please >=20 > ROHIT >=20 > 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-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 > > >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 >=20 > --=20 > if u dont know it, it doesnt exist >=20 --=20 if u dont know it, it doesnt exist