This is the mail archive of the gdb@sourceware.org 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]

Remote GDB to JTAG


Hi

I am using arm-elf-gdb version GNU gdb 5.3 .

I am trying to debug u-boot using arm-elf-gdb. I have been
succesfully using this gdb to a great extent. However, when i try my
vanilla u-boot image with debug, i get a "segfault".

$ arm-elf-gdb  u-boot
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) symbol-file u-boot
Load new symbol table from "u-boot"? (y or n) y
Reading symbols from u-boot...done.
(gdb) target remote 206.44.17.238:2001
Remote debugging using 206.44.17.238:2001
Segmentation fault

Could it be
something wrong with the binary itslef. If so, any hints as to what
could be wrong?

Thanks,
Alfred.


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