This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SIGTRAP error


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 <qunyingpan@gmail.com> wrote:
> Hello, Rohit:
> 
> You may want to try the patch for fixing PR 1944 at 
> 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
> 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
> >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.
>  
> >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
> 


-- 
if u dont know it, it doesnt exist


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]