Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Remote GDB to JTAG
@ 2009-04-24 20:03 alfred steele
  2009-04-26 20:52 ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: alfred steele @ 2009-04-24 20:03 UTC (permalink / raw)
  To: gdb

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Remote GDB to JTAG
  2009-04-24 20:03 Remote GDB to JTAG alfred steele
@ 2009-04-26 20:52 ` Daniel Jacobowitz
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2009-04-26 20:52 UTC (permalink / raw)
  To: alfred steele; +Cc: gdb

On Fri, Apr 24, 2009 at 11:05:14AM -0500, alfred steele wrote:
> 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)

This is an ancient version of GDB now.  Please try a current release.

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Remote GDB to JTAG
  2009-04-09  0:37 alfred steele
@ 2009-04-13 16:09 ` Hui Zhu
  0 siblings, 0 replies; 4+ messages in thread
From: Hui Zhu @ 2009-04-13 16:09 UTC (permalink / raw)
  To: alfred steele; +Cc: gdb

Version please.

On Thu, Apr 9, 2009 at 03:54, alfred steele <alfred.jaquez@gmail.com> wrote:
>
> Hi
>  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". Could it be
> something wrong with the binary itslef. If so, any hints as to what
> could be wrong?
>
> (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
>
> Thanks,
> ALfred.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Remote GDB to JTAG
@ 2009-04-09  0:37 alfred steele
  2009-04-13 16:09 ` Hui Zhu
  0 siblings, 1 reply; 4+ messages in thread
From: alfred steele @ 2009-04-09  0:37 UTC (permalink / raw)
  To: gdb

Hi
 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". Could it be
something wrong with the binary itslef. If so, any hints as to what
could be wrong?

(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

Thanks,
ALfred.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-04-25 14:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-24 20:03 Remote GDB to JTAG alfred steele
2009-04-26 20:52 ` Daniel Jacobowitz
  -- strict thread matches above, loose matches on Subject: below --
2009-04-09  0:37 alfred steele
2009-04-13 16:09 ` Hui Zhu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox