public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Uboot Remote gdb gives segmentation fault and hangs
Date: Fri, 24 Apr 2009 18:38:25 +0200	[thread overview]
Message-ID: <20090424163825.GA2953@game.jcrosoft.org> (raw)
In-Reply-To: <528f13590904240907v16449286t30b8c1b238da9b57@mail.gmail.com>

On 11:07 Fri 24 Apr     , alfred steele wrote:
> Hi,
> I am trying to debug u-boot using arm-elf-gdb on the PDK board. 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".
which ICE do you use?
> 
> $ 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.
normally no need
> (gdb) target remote 206.44.17.238:2001
> Remote debugging using 206.44.17.238:2001
> Segmentation fault
> 
> AT this point, even the running u-boot on the console hangs/crashes.
> 
> Could it  be something wrong with the uboot binary itslef. If so, any
> hints as to what
> could be wrong?
> I have been using theis arm-elf-gdb sucessfully with Redboot in the past.
I use arm-elf-gdb for years on u-boot and the kernel without any problem

I use the PEEDI or the BDI2000

Best Regards,
J.

  reply	other threads:[~2009-04-24 16:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-24 16:07 [U-Boot] Uboot Remote gdb gives segmentation fault and hangs alfred steele
2009-04-24 16:38 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2009-04-24 16:48   ` alfred steele
2009-04-24 20:10     ` Jean-Christophe PLAGNIOL-VILLARD
2009-04-24 17:56 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090424163825.GA2953@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox