This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: SIGTRAP error
- From: nora pan <qunyingpan at gmail dot com>
- To: rohitrules at gmail dot com, gdb at sources dot redhat dot com
- Date: Fri, 24 Jun 2005 10:01:25 -0700
- Subject: Re: SIGTRAP error
- Reply-to: nora pan <qunyingpan at gmail dot com>
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