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


> > [root@mahesh bin]# ./arm-elf-gdb -nw
> > /opt/ecos/ecos/ecoswork/install/tests/kernel/current/tests/bin_sem0
> > GNU gdb 6.3
> > Copyright 2004 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
> > Memory access error while loading section .rom_vectors.
> > (gdb)

You also need to apply gdb-6.3-load-remote-target-bug.patch. This is
what PR1944 is fixing.


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