From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11483 invoked by alias); 24 Jun 2005 17:01:33 -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 11463 invoked by uid 22791); 24 Jun 2005 17:01:26 -0000 Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.192) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 24 Jun 2005 17:01:26 +0000 Received: by zproxy.gmail.com with SMTP id 40so475643nzk for ; Fri, 24 Jun 2005 10:01:25 -0700 (PDT) Received: by 10.36.43.17 with SMTP id q17mr2167497nzq; Fri, 24 Jun 2005 10:01:25 -0700 (PDT) Received: by 10.36.96.2 with HTTP; Fri, 24 Jun 2005 10:01:25 -0700 (PDT) Message-ID: Date: Fri, 24 Jun 2005 17:01:00 -0000 From: nora pan Reply-To: nora pan To: rohitrules@gmail.com, gdb@sources.redhat.com Subject: Re: SIGTRAP error Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-SW-Source: 2005-06/txt/msg00238.txt.bz2 Hello, Rohit: 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. Gdb 5.3 may be too old. Most of the time people would try the latest release to see if the fix is there. Thanks, Qunying >[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 conditi= ons. >Type "show copying" to see the conditions. >There is absolutely no warranty for GDB. Type "show >warranty" for detail= s. >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 >Program received signal SIGTRAP, Trace/breakpoint trap. >0x00080044 in warm_reset () >(gdb) >i tried looking into the archives but couldnt find nythg tht wud >fit here. >plz reply soon. >ROHIT AGARWAL