From: Kyle Harris <kharris@nexus-tech.net>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] u-boot debugging boot with gdb and bdi2000 in lubbock(PXA255) board
Date: Thu, 4 Sep 2003 08:32:20 -0400 [thread overview]
Message-ID: <E19utSW-0000xx-00@hall.mail.mindspring.net> (raw)
In-Reply-To: <3F57233D.8060305@nabla-designs.com>
> My question is, How can I debug the code __before__ the start_armboot
> function ? I would like to debug the assembler code from the first
> instruction ( I can do this with the jtag debugger but I can't see the
> related source instruction in the gdb ).
>
Juan,
I usually set TEXT_BASE=0 in board/lubbock/config.mk for debugging before
start_armboot. No need to reflash. You should be able to reload symbols in
gdb at offset 0, but for some reason I've never been able to get this to
work correctly. So linking at 0 sets symbols for gdb correctly. Then you can
use gdb in a normal manner.
HTH, Kyle.
next prev parent reply other threads:[~2003-09-04 12:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-04 11:34 [U-Boot-Users] u-boot debugging boot with gdb and bdi2000 in lubbock(PXA255) board Juan Antonio Garcia Redondo
2003-09-04 12:23 ` Wolfgang Denk
2003-09-04 12:32 ` Kyle Harris [this message]
2003-09-04 14:10 ` Wolfgang Denk
2003-09-04 15:46 ` Juan Antonio Garcia Redondo
2003-09-04 16:07 ` 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=E19utSW-0000xx-00@hall.mail.mindspring.net \
--to=kharris@nexus-tech.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.