From: Cliff Brake <cliff.brake@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] debugging U-boot with GDB on a Au1550
Date: Mon, 22 Aug 2005 14:24:01 -0500 [thread overview]
Message-ID: <f96d234e05082212244794585@mail.gmail.com> (raw)
In-Reply-To: <f96d234e050718063874086054@mail.gmail.com>
On 7/18/05, Cliff Brake <cliff.brake@gmail.com> wrote:
> On 7/16/05, Wolfgang Denk <wd@denx.de> wrote:
> > In message <f96d234e05071614186ad9526a@mail.gmail.com> you wrote:
> > >
> > > most ARM platforms are linked to the RAM location. After U-boot is
> > > relocated to RAM, how do I tell GDB what the new link address is
> > > (0x80fdc000 in this case)?
> >
> > May I suggest that you start reading the manual? Especially section
> > http://www.denx.de/twiki/bin/view/DULG/DebuggingUBoot#Section_10.1.2.
>
> Thanks for the suggestion -- very helpful. Things still are not
> working for me. Setup:
>
> - Au1550
> - U-boot CVS tip
> - using MIPS toolchain from ELDK 3.3.1
> - BDI2000
For the record, after upgrading to BDI firmware version V1.11 and gdb
version 6.3.50, things are working much better. Still can't single
step through ROM with GDB, but after relocating to RAM, everything
works as advertised.
> Another strange thing w/ GDB, when I type "break <function name>" the
> resulting breakpoint is 10 instructions past the start of the
> function.
As suggested by Andrew Dyer, GDB is skipping the stack frame setup at
the beginning of functions.
Cliff
--
=======================
Cliff Brake
http://bec-systems.com
prev parent reply other threads:[~2005-08-22 19:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-16 21:18 [U-Boot-Users] debugging U-boot with GDB on a Au1550 Cliff Brake
2005-07-16 21:38 ` Wolfgang Denk
2005-07-18 13:38 ` Cliff Brake
2005-08-22 19:24 ` Cliff Brake [this message]
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=f96d234e05082212244794585@mail.gmail.com \
--to=cliff.brake@gmail.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