From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] My problem with gdb !
Date: Thu, 04 Nov 2004 10:39:48 +0100 [thread overview]
Message-ID: <20041104093953.DF48FC1430@atlas.denx.de> (raw)
In-Reply-To: Your message of "Thu, 04 Nov 2004 13:33:23 +0530." <93AC2F9171509C4C9CFC01009A820FA001C003D8@blr-ec-msg05.wipro.com>
Dear Ravi,
in message <93AC2F9171509C4C9CFC01009A820FA001C003D8@blr-ec-msg05.wipro.com> you wrote:
>
> [ravi at localhost u-boot-arm11]$ arm-linux-gdb u-boot
...
> (gdb) target remote bdi:2001
> Remote debugging using bdi:2001
> 0x48000000 in ?? ()
As you can see here, this is not the reset entry point (0x0000).
Obviously, the board has been already running some or maybe even many
instructions before it was stopped by the BDI2000.
Check your BDI2000 config file, and check the BDI's runmode.
> (gdb) b cpu_init
> Breakpoint 1 at 0x80e811c4: file cpu.c, line 93.
> (gdb) c
> Continuing.
>
> I waited for about 20 mintes. No response. I was expecting the
> breakpoint to hit as explained in 'DULG document' section "10.1.1
Probably the function cpu_init() was never reached. Either it was
executed long ago before you attached to the BDI2000, or the board
crashed before reaching it.
Simply pressing "^C" in GDB will interrupt execution and give you a
chance to find out where the program is running and what it is
currently doing. Also, performing a "mon reset", "mon go" sequence is
probably a good idea as this will allow you to start from a defined
state.
Best regards,
Wolfgang Denk
--
See us @ Embedded/Electronica Munich, Nov 09 - 12, Hall A.6 Booth 513
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I've got a bad feeling about this.
next prev parent reply other threads:[~2004-11-04 9:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-04 8:03 [U-Boot-Users] My problem with gdb ! ravi.aloor at wipro.com
2004-11-04 9:39 ` Wolfgang Denk [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-11-03 7:19 ravi.aloor at wipro.com
2004-11-03 10:01 ` 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=20041104093953.DF48FC1430@atlas.denx.de \
--to=wd@denx.de \
--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